threads
listlengths
1
275
[ { "msg_contents": "Hi,\n\npostgres 8.0.1, mac os x 10.3.9\n\ni have a select with multiple OR's combined with one AND:\n\nexplain analyze SELECT t0.ATTRIBUTE_TYPE FROM ATTRIBUTE_VALUE t0 WHERE \n(((t0.ATTRIBUTE_TYPE = 'pb'::varchar(10) OR t0.ATTRIBUTE_TYPE = \n'po'::varchar(10) OR t0.ATTRIBUTE_TYPE = 'pn'::varc...
[ { "msg_contents": "Hello,\n\n\nI'd like to tune Postgres for large data import (using Copy from).\n\n\nhere are a few steps already done:\n\n\n\n1) use 3 different disks for:\n\n\t-1: source data\n\t-2: index tablespaces\n\t-3: data tablespaces\n\t\n\t\n2) define all foreign keys as initially deferred\n\n\n3) t...
[ { "msg_contents": "Ross,\n\n> Memcached is a PG memory store, I gather,\n\nNope. It's a hyperfast resident-in-memory hash that allows you to stash stuff \nlike user session information and even materialized query set results. \nThanks to SeanC, we even have a plugin, pgmemcached.\n\n> but...what is squid, lig...
[ { "msg_contents": "Hello,\n\nI am facing a problem in optimizing the query shown below.\n\nMost queries in the application do only find about 20 to 100 matching rows.\n\nThe query joins the table taufgaben_mitarbeiter to taufgaben on which a \ncondition like the following \"where clause\" is frequently used.\n\...
[ { "msg_contents": "Hello,\n\nI could not find any recommandations for the level of set statistics and \nwhat a specific level does actually mean.\nWhat is the difference between 1, 50 and 100? What is recommanded for a \ntable or column?\n\n-- \nKind Regards / Viele Grᅵᅵe\n\nSebastian Hennebrueder\n\n-----\...
[ { "msg_contents": "\n Hello,\n\n We have problems with one postgresql database with high\ndata change rate. Actually we are already under pressure\nto change postgresql to Oracle.\n\n I cannot post schema and queries to list but can do this\nprivately.\n\n Tables are not big (20000-150000 rows each) but hav...
[ { "msg_contents": "We are up and somewhat happy.\n\n \n\nI have been following threads (in case you don't know I bought a 4 proc Dell\nrecently) and the Opteron seems the way to go.\n\nI just called HP for a quote, but don't want to make any mistakes.\n\n \n\nIs the battery backed cache good or bad for Postgres...
[ { "msg_contents": "Joel wrote:\nI have been following threads (in case you don't know I bought a 4 proc\nDell recently) and the Opteron seems the way to go.\nI just called HP for a quote, but don't want to make any mistakes.\n[snip]\n\nAt your level of play it's the DL585.\nHave you checked out http://www.swt.c...
[ { "msg_contents": "\n>> Question, though: is HP still using their proprietary RAID \n>card? And, if so, \n>> have they fixed its performance problems?\n>\n>According to my folks here, we're using the CCISS controllers, so I\n>guess they are. The systems are nevertheless performing very well --\n>we did a loa...
[ { "msg_contents": "Past recommendations for a good RAID card (for SCSI) have been the LSI \nMegaRAID 2x. This unit comes with 128MB of RAM on-board. Has anyone \nfound by increasing the on-board RAM, did Postgresql performed better?\n\nThanks.\n\nSteve Poe\n", "msg_date": "Fri, 13 May 2005 17:16:01 -0700", ...
[ { "msg_contents": "Hello �\n\nIm using source postgresql 8.0.3 under FreeBSD and already install, the database is running well. \n\n \n\nI want to install a pgbench, but I can�t install it, coz an error occur.\n\nI try to �make all� in directory ~/src/interfaces/lipq/ \n\nThe messages are :\n\n. . . . ...
[ { "msg_contents": "I was recently running a test with multiple client shell processes\nrunning psql commands (inserts) when all the client processes appeared\nto hang simultaneously. I assumed that I had an application deadlock\nsomewhere, but after a few seconds - less than a minute, but certainly\nnoticeable ...
[ { "msg_contents": "We're having a performance problem with PostgresQL 8.0.2 running on\nRHEL3 Update 4. There is a frequently updated table logging all our ADSL\ncustomer logins which has 2 related triggers. An INSERT on that table,\n\"calls\", takes about 300ms to execute according to the logs, and the\nproces...
[ { "msg_contents": "\n", "msg_date": "Tue, 17 May 2005 19:53:39 +0200", "msg_from": "lists@boutiquenumerique.com", "msg_from_op": true, "msg_subject": "Re: Trigger performance problem" } ]
[ { "msg_contents": "On Tue, May 17, 2005 at 06:58:20PM -0400, Wei Weng wrote:\n> This time it worked! But VACUUM FULL requires an exclusive lock on the \n> table which I don't really want to grant. So my question is: why is VACUUM \n> ANALYZE didn't do the job? Is there any setting I can tweak to make a \n> VACU...
[ { "msg_contents": "I've been doing some work to try and identify the actual costs\nassociated with an index scan with some limited sucess. What's been run\nso far can be seen at http://stats.distributed.net/~decibel. But there's\na couple problems. First, I can't use the box exclusively for this\ntesting, which...
[ { "msg_contents": "Dear Gurus,\n\nI don't think it's a bug, I just don't understand what's behind this. If \nthere's a paper or something on this, please point me there.\n\nVersion: 7.4.6\nLocale: hu_HU (in case that matters)\nDump: see below sig.\n\nAbstract:\nCreate a table with (at least) two fields, say i a...
[ { "msg_contents": "What platform is this?\r\n \r\nWe had similar issue (PG 7.4.7). Raising number of checkpoint segments to 125, seperating the WAL to a different LUN helped, but it's still not completely gone.\r\n \r\nAs far as disk I/O is concerned for flushing the buffers out, I am not ruling out the combina...
[ { "msg_contents": "Yes, I am using it another DB/application. Few more days and I'll have a\nfree hand on this box as well.\n\nThanks,\nAnjan\n\n-----Original Message-----\nFrom: Josh Berkus [mailto:josh@agliodbs.com] \nSent: Thursday, May 19, 2005 3:58 PM\nTo: Anjan Dave\nCc: Donald Courtney; Tom Lane; pgsql-p...
[ { "msg_contents": "Looking for some general advice on correlated subqueries vs. joins.\n\nWhich of these plans is likely to perform better. One table is a master \nrecord table for entities and their IDs (nv_products), the other \nrepresents a transitive closure of parent/child relationships (for a \ntree) of ...
[ { "msg_contents": "Hi,\n\nI am using postgresql in small (almost trivial) application in which I \npull some data out of a Cobol C/ISAM file and write it into a pgsl \ntable. My users can then use the data however they want by interfacing \nto the data from OpenOffice.org.\n\nThe amount of data written is abou...
[ { "msg_contents": "explain analyze SELECT audit , store , question , month , year , week ,\nweekday , myaudittotalscore , active , auditnum , answer , quarter , y_n ,\nregion , district , audittype , status , keyedby , questiondisplay , qtext ,\nqdescr , answerdisplay , answertext , customauditnum , dateauditta...
[ { "msg_contents": "Sorry I tried a few times to break this email up (guess there must be a size\nlimit?).\n\nAny one interested in seeing the explain for the speed of many group by's\nquestion just email me.\n\n \n\nBasically the sql is built by a dynamic cube product from data dynamics.\n\nI can edit it prior ...
[ { "msg_contents": "Begin forwarded message:\n\n> From: Yves Vindevogel <yves.vindevogel@implements.be>\n> Date: Mon 23 May 2005 19:23:16 CEST\n> To: pgsql-performance-owner@postgresql.org\n> Subject: Index on table when using DESC clause\n>\n> Hi,\n>\n> I have a table with multiple fields. Two of them are docu...
[ { "msg_contents": "I just got a question from one our QA guys who is configuring a RAID 10\ndisk that is destined to hold a postgresql database. The disk\nconfiguration procedure is asking him if he wants to optimize for\nsequential or random access. My first thought is that random is what we\nwould want, but t...
[ { "msg_contents": "I would tell him to go for the random, which is what most DBs would be by nature. What you need to understand will be the cache parameters, read/write cache amount, and stripe size, depending on your controller type and whatever it defaults to on these things.\r\n \r\nThanks,\r\nAnjan\r\n\r\n...
[ { "msg_contents": "Hi,\n\nI have some experience with MSSQL and am examining\nPostgreSQL. I'm running under Windows. I like what I\nsee so far, but I'm hoping for some performance\nadvice:\n\n1. My test database has 7 million records. \n2. There are two columns - an integer and a char\ncolumn called Day which h...
[ { "msg_contents": "> Post the result of this for us:\n> \n> explain analyze select count(*) from mtable where\n> day='Mon';\n> \n> On both machines.\n\nHi Chris --\n\nPostgreSQL Machine:\n\"Aggregate (cost=140122.56..140122.56 rows=1 width=0)\n(actual time=24516.000..24516.000 rows=1 loops=1)\"\n\" -> Index ...
[ { "msg_contents": "First, thanks for all the helpful replies. I've\nlistened to the suggestions and done some more digging\nand have results:\n\nI did show_plan_all in MSSQL and found that it was\ndoing an Index Scan. I've read someplace that if the\ndata you need is all in the index, then MSSQL has a\nfeature/...
[ { "msg_contents": "Hi all,\n\n From whatever reading and surfing I have done, I have found that postgres is\ngood. Actually I myself am a fan of postgres as compared to mysql. However I\nwant to have some frank opinions before I decide something. Following are\nsome of the aspects of my schema, and our concern...
[ { "msg_contents": "> - Most of the DB usage is Selects. We would have some inserts but that\n> would be like a nightly or a monthly process\n\nSo transaction integrity is not a real concern? This sounds like a data \nwarehouse; wanna try Bizgres? (www.bizgres.org)\n\nI took a look at this. I have a few conce...
[ { "msg_contents": "I'm far from an expert, so this may be off-base... but\nperhaps a suggestion would be to allow a hint to be\nsent to the optimizer if the user doesn't care that\nthe result is \"approximate\" maybe then this wouldn't\nrequire adding more overhead to the indexes.\n\nMSSQL has something like th...
[ { "msg_contents": "Wondering if someone could explain a pecularity for me:\n\nWe have a database which takes 1000ms to perform a certain query on.\n\nIf I pg_dump that database then create a new database (e.g. \"tempdb\") and upload the dump file (thus making a duplicate) then the same query only takes 190ms !!...
[ { "msg_contents": "64-bit PG 8.0.2. is up and running on AIX5.3/power5\n\nYES! ! !\n\nThe major thing: setting some quirky LDFLAGS. \n\nAnyone interested in details, please ping. \n\nThanks to Nick Addington, Vincent Vanwynsberghe, my SA, Sergey, \nand Tom Lane (for good-natured nudging)\n\n\nMy Next Task: Fin...
[ { "msg_contents": "Hi all\ni dont know if this is normal, but if yes i would like to know why and\nhow I could do it another way other than using unions.\n\n(I tried on postgresql 7.4 and 8.0.3, made my vacuum analyse just before)\nHere is my simple query:\n\nselect * \nfrom rt_node n, rt_edge e\nwhere node_id ...
[ { "msg_contents": "You just couldn't help yourself, could you? :-)\n\n", "msg_date": "Wed, 25 May 2005 20:36:54 -0000", "msg_from": "\"Mohan, Ross\" <RMohan@arbinet.com>", "msg_from_op": true, "msg_subject": "test - pls delete and ignore" } ]
[ { "msg_contents": "\nHi:\n\n I have a table called sensors:\n\n Table \"public.sensor\"\n Column | Type | Modifiers\n-----------------+--------------------------+-------------------------------------------------\n sensor_id ...
[ { "msg_contents": "Hi,\n\nI've got a query that I think the query optimiser should be able\nto work it's magic on but it doesn't! I've had a look around and\nasked on the IRC channel and found that the current code doesn't\nattempt to optimise for what I'm asking it to do at the moment.\nHere's a bad example:\...
[ { "msg_contents": "I am seeing vastly different performance characteristics for almost the\nexact same query. \nCan someone help me break this down and figure out why the one query\ntakes so much longer than the other?\n\nLooking at the explain analyze output, I see that the loops value on the\ninnermost index ...
[ { "msg_contents": " I am seeing vastly different performance characteristics for almost the\nexact same query. \nCan someone help me break this down and figure out why the one query\ntakes so much longer than the other?\n\nLooking at the explain analyze output, I see that the loops value on the\ninnermost index...
[ { "msg_contents": "Looks like I modified that constraint since the original has '3' and\nexplaining that shows the one I ended up running and posting has 3. \nWhn I explain on the original version it shows filter: (bucket =\n3::bigint)\n\nCan you elaborate on what you mean by:\n> The bucket = 3 rows have to be ...
[ { "msg_contents": "I have some queries that have significan't slowed down in the last\ncouple days. It's gone from 10 seconds to over 2 mins.\n\nThe cpu has never gone over 35% in the servers lifetime, but the load\naverage is over 8.0 right now. I'm assuming this is probably due to\ndisk io.\n\nI need some hel...
[ { "msg_contents": "hi-\n\ni would like to see if someone could recommend something\nto make my query run faster.\n\nSystem specs:\nPostgreSQL 7.4.2 on RedHat 9\ndual AMD Athlon 2GHz processors\n1 gig memory\nmirrored 7200 RPM IDE disks\n\nValues in postgresql.conf:\nshared_buffers = 1000\nsort_mem is commented ...
[ { "msg_contents": "Hi @ all,\n\ni'm trying to tune my postgresql-db but i don't know if the values are\nright \nset. \n\nI use the following environment for the postgres-db:\n\n######### Hardware ############\ncpu: 2x P4 3Ghz \nram: 1024MB DDR 266Mhz\n\npartitions:\n/dev/sda3 23G 9,6G 13G 44% /...
[ { "msg_contents": "What are the effect of having a table with arround 500 insert/update/delete on two to eight table in a time frame of 2 minutes 24/24h, when you have oid enabled versus the same setup when you dont have oid?\n\nThat deployment is done on a postgres with 8 to 9 databases, each having those 2 to...
[ { "msg_contents": "Would I be correct in assuming that the following two indexes are \ncompletely redundant except for the fact that one complains about \nuniqueness constraint violations and the other does not?\n\nOr is there are legitimate use for having BOTH indexes?\n\nI'm trying to figure out if it's okay ...
[ { "msg_contents": "Hi -\n\nI have a table of about 3 million rows of city \"aliases\" that I need \nto query using LIKE - for example:\n\nselect * from city_alias where city_name like '%FRANCISCO'\n\n\nWhen I do an EXPLAIN ANALYZE on the above query, the result is:\n\n Seq Scan on city_alias (cost=0.00..5928...
[ { "msg_contents": "I am still in the dark due to my lack of knowledge on internal OID management,but\ni would presume that a table with OID enable and that has high load would require\nsome more work from pgsql internal to maintain the OID index for the database.\n \nSo OID can be beneficial on static tables, o...
[ { "msg_contents": "We have a production database with transaction-style data, in most of the\ntables we have a timestamp attribute \"created\" telling the creation time of\nthe table row. Naturally, this attribute is always increasing.\n\nBy now we are hitting the limit where the table data does not fit in cac...
[ { "msg_contents": "What about xeon and postgresql, i have been told that \npostgresql wouldn't perform as well when running\nunder xeon processors due to some cache trick that postgresql\nuses? \n\nWhy? Any fix? Rumors? AMD Advocates? Problems with HT??\n\nWould that problems only be true for 7.4.x? I didin't f...
[ { "msg_contents": "Hi all,\n\nI'm having another problem with a query that takes to long, because \nthe appropriate index is not used.\n\nI found some solutions to this problem, but I think Postgres should do \nan index scan in all cases.\n\nTo show the problem I've attached a small script with a testcase.\n\nT...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Steinar H. Gunderson\n> Sent: 30 mai 2005 12:55\n> To: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] Postgresql and xeon.\n> \n> O...
[ { "msg_contents": "Hi,\n\nDoes it make a difference in performance and/or disc space if I\n\n1) drop index / vacuumdb -zf / create index\nor\n2) drop index / create index / vacuumdb -zf\n\nI guess it makes a diff for the --analyze, not ?\n\nMet vriendelijke groeten,\nBien à vous,\nKind regards,\n\nYves Vindevo...
[ { "msg_contents": "This is a multi-part message in MIME format.\n\n--bound1117506666\nContent-Type: text/plain\nContent-Transfer-Encoding: 7bit\n\nColton A Smith <smith@cs.utk.edu> wrote ..\n\n------------------------------------------------------------------------------------------------\n> Seq Scan on senso...
[ { "msg_contents": "I read in the manual today:\n\n Indexes are not used for IS NULL clauses by default. The best way to use\n indexes in such cases is to create a partial index using an IS NULL\n predicate.\n \nThis is from the documentation for PostgreSQL 8. I did not find anything\nequivalent in the 7.4....
[ { "msg_contents": "Hi\n\n \n\nI'm trying to move an existing solution from MySQL to PostgreSQL. As it\nis now the solution has 4 tables where data in inserted by an\napplication. At regular intervals (10min) data from these tables is\nconsolidated and moved to another table for reporting purposes. There\nexist ...
[ { "msg_contents": "Hi,\n\nI would like to start a little survey who is running postgresql on an \n8way or more machine (Intel, Sparc, AMD no matter). Purpose: find out \nhow postgresql runs in high performance areas.\n\nPlease fillout:\n\nMachine (Vendor, Product):\nArchitecture (Intel/Sparc/AMD/IBM):\nProcesso...
[ { "msg_contents": "I have five PC's accessing a PG database that is mounted on a Dell Windows\n2003 server. The PC's are accessing the database with a Fujitsu cobol\nprogram via ODBC (all machines have same (newest) ODBC driver from PG). 2\nof the machines are the newest I have and both pretty identically con...
[ { "msg_contents": "\nDo to moderator error (namely, mine), several hundred messages (spread \nacross all the lists) were just approved ...\n\nSorry for all the incoming junk :(\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Yahoo!: yscrappy...
[ { "msg_contents": "\n Hello,\n\n Our database increases in size 2.5 times during the day.\nWhat to do to avoid this? Autovacuum running with quite\naggressive settings, FSM settings are high enough.\n\n Database size should be more or less constant but it\nhas high turnover rate (100+ insert/update/delete pe...
[ { "msg_contents": "Hi All,\n\nI have been reading about increasing PostgreSQL performance by relocating the\npg_xlog to a disk other than the one where the database resides. I have the\nfollowing pg_xlogs on my system.\n\n/raid02/databases/pg_xlog\n/raid02/rhdb_databases/pg_xlog\n/raid02/databases-8.0.0/pg_xlo...
[ { "msg_contents": "Hello,\n\nI'm the fellow who was interviewed in the fall about using PostgreSQL on\n1-800-Save-A-Pet.com:\nhttp://techdocs.postgresql.org/techdocs/interview-stosberg.php\n\nThe site traffic continues to grow, and we are now seeing parts of the\nday where the CPU load (according to MRTG graphs...
[ { "msg_contents": "We've seen PostgreSQL performance as a dspam database be simply stellar on \nsome machines with absolutely no tuning to the postgres.conf, and no \nstatistics target altering.\n\nSome months ago, I moved my domains from a crusty old generic PIII 733 to a \nbrand new Athlon 3000+ server that I...
[ { "msg_contents": "Is it any way to attempt to force the planner to use some specific index\nwhile creating the plan? Other than eventually dropping all the other\nindices (which is obiously not a solution in production setting anyway)?\n\nI have one case where I have added 16 indices to a table, many of them\...
[ { "msg_contents": "We're in the process of buying another Opteron server to run Postgres, and\nbased on the suggestions in this list I've asked our IT director to get an\nLSI MegaRaid controller rather than one of the Adaptecs.\n\nBut when we tried to place our order, our vendor (Penguin Computing) advised\nus:...
[ { "msg_contents": "My database has two scsi disks....\nmy current configuration has pg_xlog on disk1 and data on disk2....\nthe machine is used for database only....\nnow did some logging and came to a conclusion that my disk2(data disk) is getting used around 3 times more than disk1(pg_xlog)....\n \nso wht is ...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 1697\nLogged by: Bahadur Singh\nEmail address: bahadursingh@yahoo.com\nPostgreSQL version: 8.0\nOperating system: Windows 2000 server\nDescription: Select getting slower on continously updating data\nDet...
[ { "msg_contents": " \nHow is it that the index scan has such poor performance? Shouldn't index\nlookups be quicker?\n-----Original Message-----\nFrom: Tom Lane [mailto:tgl@sss.pgh.pa.us] \nSent: Thursday, May 26, 2005 1:32 PM\nTo: Brad Might\nCc: pgsql-performance@postgresql.org\nSubject: Re: [PERFORM] Specific...
[ { "msg_contents": "\nHi,\n\nI am using PostgreSQL (7.4) with a schema that was generated automatically (using hibernate). \nThe schema consists of about 650 relations. One particular query (also generated \nautomatically) consists of left joining approximately 350 tables. At this \nstage, most tables are empty ...
[ { "msg_contents": "Hi All,\n\nWe are testing PostgreSQL 8.0.3 on MS Windows for porting an OLTP system \nfrom MS SqlServer.\n\nWe got a major performance issue which seems to boil down to the following \ntype of query:\n\nselect DISTINCT ON (PlayerID) PlayerID,AtDate from Player where \nPlayerID='22220' order ...
[ { "msg_contents": "Hi @ all,\n\ni have only a little question. Which filesystem is preferred for \npostgresql? I'm plan to use xfs (before i used reiserfs). The reason\nis the xfs_freeze Tool to make filesystem-snapshots. \n\nIs the performance better than reiserfs, is it reliable?\n\nbest regards,\nMartin\n\n"...
[ { "msg_contents": "\n\n>>> I am using PostgreSQL (7.4) with a schema that was generated\n>>> automatically (using hibernate). The schema consists of about 650\n>>> relations. One particular query (also generated automatically)\n>>> consists of left joining approximately 350 tables.\n\n[snip]\n\n>One thought is ...
[ { "msg_contents": "\nAnyone following this thread might be interested to know that disabling \nthe merge and hash joins (as suggested below) resulted in the execution \ntime dropping from ~90 seconds to ~35 seconds. Disabling GEQO has brought \nabout a marginal reduction (~1 second, pretty much within the the m...
[ { "msg_contents": "<philb@vodafone.ie> writes:\n> I've attached the schema and query text, hopefully it will be of some use \n> to you. Note that both are taken from the HyperUBL project\n> (https://hyperubl.dev.java.net/). Sadly, at this stage I think it's\n> time for me to try alternatives to either Hibernat...
[ { "msg_contents": "I have a small business client that cannot afford high-end/high quality\nRAID cards for their next server. That's a seperate argument/issue right\nthere for me, but what the client wants is what the client wants.\n\nHas anyone ran Postgres with software RAID or LVM on a production box?\nWhat ...
[ { "msg_contents": "\nA consultant did a project for us and chose MySQL. We thought it was\ncool that MySQL was free.\n\nTurns out, MySQL costs over $500 (USD) if you are a commercial\norganization like us! Even worse, we have to formally transfer\nlicenses to customers and any further transfers must include\n...
[ { "msg_contents": "Hi,\n\nI am having a problem with inserting a large amount of data with my libpqxx\nprogram into an initially empty database. It appears to be the EXACT same\nproblem discussed here:\n\nhttp://archives.postgresql.org/pgsql-bugs/2005-03/msg00183.php\n\nIn fact my situation is nearly identical...
[ { "msg_contents": "hi\nfirst let me draw the outline.\nwe have a database which stores \"adverts\".\neach advert is in one category, and one or more \"region\".\nregions and categories form (each) tree structure.\nassume category tree:\n\n a\n / \\\n b c\n / \\\n d e\n\nif any given advert is in c...
[ { "msg_contents": ">> Despite being fairly restricted in scope,\n>> the schema is highly denormalized hence the large number of tables.\n>\n>Do you mean normalized? Or do you mean you've pushed the superclass\n>details down onto each of the leaf classes?\n\nSorry, I meant normalized, typing faster than I'm thin...
[ { "msg_contents": "Hi there,\n\nAnd sorry for bringing this up again, but I couldn't find any recent\ndiscussion on the best hardware, and I know it actually depends on what you\nare doing...\n\nSo this is what I had in mind:\n\nOur database is going to consist of about 100 tables or so of which only a\nhand fu...
[ { "msg_contents": "Re: your JDBC wishes: Consider IBM Cloudscape (now Apache Derby) too, \nwhich has an apache license. It's all pure java and it's easy to get going.\n\n\nAs to MySql vs Postgres: license issues aside, if you have \ntransactionally complex needs (multi-table updates, etc), PostgreSQL \nwins ha...
[ { "msg_contents": "Hi all,\n\nThanks for your replies. \n\nI ran a very prelimnary test, and found following results. I feel they are\nwierd and I dont know what I am doing wrong !!!\n\nI made a schema with 5 tables. I have a master data table with foreign keys\npointing to other 4 tables. Master data table has...
[ { "msg_contents": "> I am all for postgres at this point, however just want to know why I am\n> getting opposite results !!! Both DBs are on the same machine\n\n>\tWhy do you say \"opposite results\" ?\n\nPlease pardon my ignorance, but from whatever I had heard, mysql was\nsupposedly always faster than postgre...
[ { "msg_contents": "HI!\n\nI have a table that I use for about a month. As the month progresses,\nCOPYs performed to this table get much much slower than they were at\nthe beginning, for the same number of rows (about 100,000 and\ngrowing).\n\nI'm essentially doing a delete for a given day, then a COPY as a big\...
[ { "msg_contents": "I'm not sure if this is the appropriate list to post this question to\nbut i'm starting with this one because it is related to the performance\nof Postgresql server. I have a Penguin Computing dual AMD 64 bit\nopteron machine with 8 Gigs of memory. In my attempt to increase the\nnumber of s...
[ { "msg_contents": " > Has anyone ran Postgres with software RAID or LVM on a production box?\n > What have been your experience?\n\nYes, we have run for a couple years Pg with software LVM (mirroring) \nagainst two hardware RAID5 arrays. We host a production Sun box that \nruns 24/7.\n\nMy experience:\n* Softw...
[ { "msg_contents": "\nHi Everyone,\n\nIm having a performance issue with version 7.3.4 which i first thought was Disk IO\nrelated, however now it seems like the problem is caused by really slow commits, this\nis running on Redhat 8.\n\nBasically im taking a .sql file with insert of about 15,000 lines and <'ing s...
[ { "msg_contents": "Hi,\n\nI'm having problems with the query optimizer and FULL OUTER JOIN on \nPostgreSQL 7.4. I cannot get it to use my indexes with full outer joins. \nI might be naive, but I think that it should be possible?\n\nI have two BIG tables (virtually identical) with 3 NOT NULL columns \nStation_id...
[ { "msg_contents": "It seems that Postgres is estimating that all rows in a 50k row table\nwill be returned, but only one should match. The query runs slow because\nof the seqscan. When I set enable_seqscan to off, then it does an index\nscan and it runs quickly.\n\nI've set the statistics target on the index to...
[ { "msg_contents": "I'm tasked with specifying a new machine to run a web application\nprototype. The machine will be serving web pages with a Postgresql\nbackend; we will be making extensive use of plpgsql functions. No\ndatabase tables are likely to go over a million rows during the\nprototype period.\n\nWe ar...
[ { "msg_contents": "Hi,\nI have the following table:\nperson - primary key id, and some attributes\nfood - primary key id, foreign key p_id reference to table person.\n\ntable food store all the food that a person is eating. The more recent\nfood is indicated by the higher food.id.\n\nI need to find what is the ...
[ { "msg_contents": "We have had four databases serving our web site, but due to licensing\nissues, we have had to take two out of production, and we are looking to\nbring those two onto PostgreSQL very quickly, with an eye toward moving\neverything in the longer term. The central web DBs are all copies of\nthe ...
[ { "msg_contents": "As a follow up to this ive installed on another test Rehat 8 machine\nwith\n7.3.4 and slow inserts are present, however on another machine with ES3\nthe same 15,000 inserts is about 20 times faster, anyone know of a\nchange\nthat would effect this, kernel or rehat release ?\n\nSteve\n\n-----O...
[ { "msg_contents": "This is a pattern which I've seen many of times. I call it a \"best\nchoice\" query -- you can easily match a row from one table against any\nof a number of rows in another, the trick is to pick the one that\nmatters most. I've generally found that I want the query results to\nshow more tha...
[ { "msg_contents": "Dear Group!\n Thank you for all the support you all have been \nproviding from time to time. I have a small question: How do I find the \nactual size of the Database? Awaiting you replies,\n\nShan.\n", "msg_date": "Thu, 09 Jun 2005 10:10:42 +0530", "msg_from": "...
[ { "msg_contents": "Greetings all,\nI am continously encountering an issue with query plans that changes after \na pg_dump / pg_restore operation has been performed.\nOn the production database, PostGre refuses to use the defined indexes in \nseveral queries however once the database has been dumped and restored...
[ { "msg_contents": "Hi, \n\n \n\nMy Secenario :\n\n \n\nP4 with 1G of memory on Fedora Core\n\nabout 100 inserts/update per hour\n\nabout 100 query per minute\n\n20 concurrent connections\n\n \n\n \n\n1. What is the best parameter setting in the pg_autovacuum for my scenario ?\n\n \n\n2. what will be my sleep se...
[ { "msg_contents": "Hi,\n\nafter having migrated a 7.2 pg-database to 7.4 while upgrdaing from\ndebian woody to debian sarge there are some more conf-Parameters to\nevaluate. \nWe are running a small but continuously growing datawarehouse which has\nrecently around 40 million fact entries. \n\nTo my question: I ...
[ { "msg_contents": "On 6/8/05, Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br> wrote:\n> \n> --- Josh Close <narshe@gmail.com> escreveu:\n> \n> > Well, that would make total sense. I was kinda curious how the data\n> > provider differentianted between :a and casting like now()::text.\n> >\n> \n> Hi Josh!\n> \...
[ { "msg_contents": "Thanks for your reply. Besides your post regarding *nix vs. Windows I\ngot a few which didn't go to the group. Words like \"bold move\" and\n\"disaster waiting to happen\" tended to feature prominently in these\nmessages (regarding putting something this big on PostgreSQL under\nWindows), a...