threads
listlengths
1
275
[ { "msg_contents": "I've got a report that is starting to take too long to run. I'm going to\ncreate a lookup table that should speed up the results, but first I've got\nto create the lookup table.\n\nI honestly don't care how long the query takes to run, I just want to run it\nwithout causing a major performanc...
[ { "msg_contents": "Using information found on the web, I've come up with some configuration \nand tuning parameters for a server/db that we will be implementing. I \nwas wondering if I could generate some feedback as to configuration and \ntuning so that I could compare my estimations with those of others.\n\n...
[ { "msg_contents": "v8.0.1 on a Sun v20Z running gentoo linux, 1 cpu, 1GB Ram, 1 10k scsi\ndisk\n\nI have a (fairly) newly rebuilt database. In the last month it has\nundergone extensive testing, hence thousands of inserts and deletes in\nthe table in question. After each mass unload/load cycle, I vacuum full\na...
[ { "msg_contents": "Situation: An 24/7 animal hospital (100 employees) runs their business \non Centos 3.3 (RHEL 3) Postgres 7.4.2 (because they have to) off a 2-CPU \nXeon 2.8MHz, 4GB of RAM, (3) SCSI disks RAID 0 (zcav value 35MB per \nsec). The databse is 11GB comprised over 100 tables and indexes from 1MB \...
[ { "msg_contents": "1. Buy for empty PCI-X Slot - 1 or dual channel SCSI-320\nhardware RAID controller, like MegaRAID SCSI 320-2X\n(don't forget check driver for your OS)\nplus battery backup \nplus (optional) expand RAM to Maximum 256MB - approx $1K\n2. Buy new MAXTOR drives - Atlas 15K II (4x36.7GB) - approx 4...
[ { "msg_contents": "Hi,\n\nI have a web app using PostgreSQL which indexes, searches and \nstreams/downloads online movies.\nI think I have a problem with NFS and RAID, it is not strictly \nPostgreSQL but closely linked and I know\nmany people on this list are experienced with this technology. Apologies \nif it ...
[ { "msg_contents": "On Mon, 28 Mar 2005, Karim A Nassar wrote:\n\n> On Mon, 28 Mar 2005, Simon Riggs wrote:\n> > run the EXPLAIN after doing\n> > \tSET enable_seqscan = off\n>\n> The results I previously supplied were searching for a non-existent\n> value, so I have provided output for both cases.\n>\n> ***\n> *...
[ { "msg_contents": "\n\n\n\nPg: 7.4.5\nRH 7.3\nRaid 0+1 (200G 15k RPM)\nQuad Xeon\n8G ram\n\n95% Read-only\n5% - read-write\n\nI'm experiencing extreme load issues on my machine anytime I have more than\n40 users connected to the database. The majority of the users appear to be\nin an idle state according TOP...
[ { "msg_contents": "I'm using a Postgres table as the data source for a JTable \nin a Java app. As a first approximation, I'm implementing\nAbstractTableModel.getValueAt() like so:\n\n public Object getValueAt(int row, int col)\n {\n try\n {\n rs_.absolute(row + 1);\n r...
[ { "msg_contents": "I have used coalesce function for null fields but coalesce is too slow.\nI need fast alternative for coalesce\n\nAL� �EL�K \n\n\n", "msg_date": "Tue, 29 Mar 2005 14:21:13 +0300", "msg_from": "\"AL��� ���EL���K\" <ali@verus.com.tr>", "msg_from_op": true, "msg_subject": "coalesc...
[ { "msg_contents": "Hi everybody...\n\nI'm new hear, and I will try to explain my problem, and maybe I can\nget a help...\n\nI'm writing a software for 3 years, and this software has the position\nGPS from vehicles, and other informations.\n\nMy problem starts when I had to store all the data about the vehicles,...
[ { "msg_contents": "I recently pg_dumpall'd my DB from a (used for testing) v20z install of\npostgresql 8.0.1, and restored it to my production (but not yet in\nservice) v40z running the same version. The test DB has had multiple\nmillions of rows created/dropped during testing. The results of VACUUM\nVERBOSE ar...
[ { "msg_contents": "Hi\n\nI am looking for some references to literature. While we have used \nPostgreSQL in the past for a fair number of smaller projects, we are \nnow starting to use it on a larger scale and hence need to get into \nissues of performance optimisation and tuning. While I am OK with using \nthe...
[ { "msg_contents": "\nI'm getting weird results for one of my queries. The actual time of this\nindex scan doesn't make any sense:\n\n-> Index Scan using dok_dok_fk_i on dokumendid a (cost=0.00..566.24\nrows=184 width=8) (actual time=0.170..420806.563 rows=1 loops=1) \n\ndok_dok_fk_i is index on dokumendid(dok...
[ { "msg_contents": "VOIP over BitTorrent? \n\n;-)\n\n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Richard_D_Levine@Raytheon.com\nSent: Wednesday, March 30, 2005 11:27 AM\nTo: Michael Fuhr\nCc: Marc Burgauer; pgsql-perform...
[ { "msg_contents": "Yea, the upside is that you get better than the 1 byte/hour rate for pigeon-net. \n\nDownside is that simply because you use BiTorrent, the RIAA accuses you of \neverything from CD piracy to shipping pr*n to cyberterrorism, and you spend \nthe next four years in Gitmo, comparing notes with yo...
[ { "msg_contents": "Hi All,\n\nI am developing a simple set returning function as my first step towards more\ncomplicated processes. I would like to understand the implications of using\nthe dynamic query capability.\n\nI have built two forms of an identically performing function. The first uses\na simple IF-T...
[ { "msg_contents": "Hi,\n\n1) seems that the table is a view, I am wrong? If this is true, please \ngive a query to that table, and try to guess if there is already a bottleneck there.\n\n2) Add to the query an order by and try to find if it works better.\n\n3) If you drop the index, and no other index exists,...
[ { "msg_contents": "\nCan anyone please help me make my JOIN find the right index to use?\n\nIt seems strange to me that in the two queries listed below, the \nLEFT OUTER JOIN can find the most efficient index to use, while \nthe unadorned JOIN can not. The result is that my query is \norders of magnitude slow...
[ { "msg_contents": "I can see that PG'ers have a wicked sense of humor. \n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Steve Wampler\nSent: Wednesday, March 30, 2005 3:58 PM\nTo: Richard_D_Levine@raytheon.com\nCc: pgsql-pe...
[ { "msg_contents": "Hardware: relatively modern Intel CPU, OS and database each on its own\nIDE hard-drive (separate IDE cables). Enough memory, i think, but i\ncan't add too much (not beyond 1GB).\nSoftware: Linux-2.6, pgsql-8.0.1\n\nFunction: Essentially a logging server. There are two applications (like\nsysl...
[ { "msg_contents": "I've tested several keyword count from 2 millions record book\ndescription table that indexed with tseach2 indexing.\nThe result is always slow for first query attempt.\n\nThis my sample query:\n-- test one phrase --\nSELECT count(*) from table1 \nWHEREsearchvector @@ to_tsquery('default' ,'d...
[ { "msg_contents": "Hi all,\n\n I have a table with a little over 200,000 columns in it that I need \nto update using a regular expression. I admit that though I am not a \nbeginner and postgres, I am also far from an expert. :p\n\n I tried to create an Index that would optimize the UPDATE but I may \nhave m...
[ { "msg_contents": "Hi,\n\n We are migrating to a new server with more memory and also from \npostgres 7.4 to postgres 8.0.1 version.\n\nHere are my settings on the current 7.4 version:\nOS : RedHat 9\nCPUS: 2 hyperthreaded\nMemory: 4gig\nshared_buffers: 65536\nsort_mem: 16384\nvacuum_mem: 32768\nwal_buffers:...
[ { "msg_contents": "(It is the 2nd posting, maybe the 1st one didn't goes thru)\nI've tested several keyword count from 2 millions record book\ndescription table that indexed with tseach2 indexing.\nThe result is always slow for first query attempt.\n\nThis my sample query:\n-- test one phrase --\nSELECT count(*...
[ { "msg_contents": "\nAnybody a solution for the next problem:\n\npeople can subscribe to a service for 1 or more days (upto a max. of 365).\n\nSo in the database is stored: first_date and last_date\n\nTo select which people are subscribed for a certain date (e.g. today) we use\na select like\n\nselect ..........
[ { "msg_contents": "\n Hello,\n\n What would be reasonable settings for quite heavily used\nbut not large database?\n\n Dabatase is under 1G in size and fits into server cache (server\nhas 2GB of memeory). Two of most used tables are ~100k rows each\nbut they get up to 50inserts/updates/deletes per second.\n\...
[ { "msg_contents": "I have a query in my application that takes an unreasonable amount of time\nto complete (>4.5 hours execution time). After reviewing the EXPLAIN and\nEXPLAIN ANALYZE output for that and similar queries, my colleagues and I\ndetermined that turning off the enable_nestloop option might help -...
[ { "msg_contents": "Hi All,\n\nI have a trigger function that copies data from an input table to a table in\nthe actual data model. The data model table has a trigger after update on it.\n Is the first trigger fired after the copy terminates or after each insert?\nIs the second trigger fired after the first tri...
[ { "msg_contents": "-----Original Message-----\n>From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n>Sent: Friday, April 01, 2005 10:37 AM\n>To: Peterson, Bjorn\n>Cc: pgsql-performance@postgresql.org\n>Subject: Re: [PERFORM] enable_XXX options \n>\n>\"Peterson, Bjorn\" <Bjorn.Peterson@pearson.com> writes:\n>> I have a ...
[ { "msg_contents": "\nJust curious, but does anyone have an idea of what we are capable of? I \nrealize that size of record would affect things, as well as hardware, but \nif anyone has some ideas on max, with 'record size', that would be \nappreciated ...\n\nThanks ...\n\n----\nMarc G. Fournier Hub.O...
[ { "msg_contents": "Hello!\n\nI posted a similar question to this one about a month ago; but, for some\nreason, it never seemed to be broadcast eventhough it ended up in the\narchives. So, since I'm still struggling with this, I thought I'd\nrepost...\n\nI'm trying to optimize a query and the EXPLAIN ANALYZE (s...
[ { "msg_contents": "hi all.\n\nWe are designing a quite big application that requires a high-performance \ndatabase backend. \nThe rates we need to obtain are at least 5000 inserts per second and 15 \nselects per second for one connection. There should only be 3 or 4 \nsimultaneous connections. \nI think our ma...
[ { "msg_contents": "\nHi,\n\nI have just upgraded our db from 7.4.2 to 8.0.1 and we are doing some \ntesting. For some reason, we have discovered that our application performs \nmuch slower on 8.0.1.\n\nMy initial reaction was to turn on log_min_duration_statement to see what's \nhappening. However, log_min_...
[ { "msg_contents": "Hi,\n\nI have just upgraded our db from 7.4.2 to 8.0.1 and we are doing some\ntesting. For some reasons, we have discovered that our application\nperforms much slower on 8.0.1.\n\nMy initial reaction was to turn on log_min_duration_statement to see\nwhat's happening. However, log_min_dura...
[ { "msg_contents": "\n\n\n\nToday while trying to do a bulk COPY of data into a table, the process\naborted with the following error message:\n\nERROR: end-of-copy marker corrupt\nCONTEXT: COPY tbl_logged_event, line 178519: \"606447014,1492,2005-02-24\n03:16:14,2005-02-23 20:27:48,win_applog,,error,adsmclientse...
[ { "msg_contents": "Maybe better for -hackers, but here it goes anyway...\n\nHas anyone looked at compressing WAL's before writing to disk? On a\nsystem generating a lot of WAL it seems there might be some gains to be\nhad WAL data could be compressed before going to disk, since today's\nmachines are generally m...
[ { "msg_contents": "Unfortunately. \n\nBut we are in the the process to choose Postgresql with pgcluster. I'm \ncurrently running some tests (performance, stability...) \nSave the money on the license fees, you get it for your hardware ;-)\n\nI still welcome any advices or comments and I'll let you know how the ...
[ { "msg_contents": "hi,\n\n I like to know whether Indexed View supported in psql 7.1.3.?\n\nIs there any performance analysis tool for psql.?\n\nPlease! update me for the same.\n\nregards,\nstp.\n", "msg_date": "Wed, 6 Apr 2005 18:01:35 +0530 (IST)", "msg_from": "\"S.Thanga Prakash\" <thanga@midascomm...
[ { "msg_contents": "I wish I had a Dell system and run case to show you Alex, but I don't...\nhowever...using Oracle's \"direct path\" feature, it's pretty straightforward. \n\nWe've done 110,000 rows per second into index-less tables on a big system\n(IBM Power5 chips, Hitachi SAN). ( Yes, I am sure: over 100K ...
[ { "msg_contents": "How close to this is PG's COPY? I get surprisingly good results using COPY with jdbc on smallish systems (now if that patch would make into the mainstream PG jdbc support!) I think COPY has a bit more overhead than what a Bulkload feature may have, but I suspect it's not that much more.\n\n...
[ { "msg_contents": "<snip good stuff...>\n\n31Million tuples were loaded in approx 279 seconds, or approx 112k rows per second.\n\n> I'd love to see PG get into this range..i am a big fan of PG (just a \n> rank newbie) but I gotta think the underlying code to do this has to \n> be not-too-complex.....\n\nI'd say...
[ { "msg_contents": "Hi list,\n\nI noticed on a forum a query taking a surprisingly large amount of time \nin MySQL. Of course I wanted to prove PostgreSQL 8.0.1 could do it much \nbetter. To my surprise PostgreSQL was ten times worse on the same \nmachine! And I don't understand why.\n\nI don't really need this ...
[ { "msg_contents": "On our production server, I can insert 5000 tuples in 2100 ms. \n\nSingle Xeon 2.6 Ghz\n2 Gigs ram\n3ware RAID 5 SATA drives array, 3 drives only :-((\nPG 8.0 - fsync off \n\nI do think inserting 5000 tuples in a second (i.e 5000 insert \ntransactions, no bulk load) can be reached with well a...
[ { "msg_contents": "> -----Original Message-----\n> From: Arjen van der Meijden \n> [mailto:acmmailing@vulcanus.its.tudelft.nl]\n> Sent: Wednesday, April 06, 2005 11:53 AM\n> To: performance pgsql\n> Subject: [PERFORM] Plan for relatively simple query seems to be very\n> inefficient\n> \n> [...]\n> SELECT COUNT(...
[ { "msg_contents": "> -----Original Message-----\n> From: Mischa [mailto:mischa.Sandberg@telus.net]\n> Sent: Wednesday, April 06, 2005 1:47 PM\n> To: pgsql-performance@postgresql.org\n> Subject: COPY Hacks (WAS: RE: [PERFORM] Postgresql vs \n> SQLserver for this\n> application ?)\n> \n> [...]\n> Using COPY ... F...
[ { "msg_contents": "Hi!!!\n\nWe are running PostgreSQL server version 7.4.6 on RedHat 9 (Shrike) on \nsingle Pentium 4 (2.66 GHz) box with SCSI disc and 512 MB RAM.\nOur database contains several tables (small size) and one special table \nwith ~1000000 records (it contains log entries from system activity).We \...
[ { "msg_contents": "I wanted to see if I could squeeze any more performance out of a C set \nreturning function I wrote. As such, I looked to a profiler. Is it \npossible to get profile information on the function I wrote? I've got \npostmaster and my function compiled with profiling support, and can find \nt...
[ { "msg_contents": "hi,\n\n I am using psql 7.1.3\n\nI didn't find option analyse in explain command..\n\nhow to get time taken by SQL procedure/query?\n\nregards,\nstp..\n", "msg_date": "Thu, 7 Apr 2005 12:51:06 +0530 (IST)", "msg_from": "\"S.Thanga Prakash\" <thanga@midascomm.com>", "msg_fro...
[ { "msg_contents": "hi,\n\n\tI am using psql 7.1.3\n\nI didn't find option analyse in explain command..\n\nhow to get time taken by SQL procedure/query?\n\nregards,\nstp..\n\n", "msg_date": "Thu, 7 Apr 2005 12:51:47 +0530 (IST)", "msg_from": "\"S.Thanga Prakash\" <thanga@midascomm.com>", "msg_from_op...
[ { "msg_contents": "hi,\n\n how to find the time taken by an query/stored procedure?\n\nI am using psql 7.1.3 in linux 7.2\n\nhow to execute 'explain analyse' in the psql? Is it supported at 7.1.3 ?\n\n\nlooking forward for replies..\nregards,\nstp.\n", "msg_date": "Thu, 7 Apr 2005 13:14:51 +0530 (IST)", ...
[ { "msg_contents": "Hi All,\n\nThanks to all on the NOVICE list that gave me help I now have a query running\nthat returns the results I am after. :-) Now of course I want it to run\nfaster. Currently it clocks in at ~160ms. I have checked over the indexes\nand I belive that the tables are indexed properly. ...
[ { "msg_contents": "Running this explain on windows box, but production on linux both 8.0.1\n\nThe MSSQL is beating me out for some reason on this query.\n\nThe linux box is much more powerful, I may have to increase the cache, but I\nam pretty sure its not an issue yet.\n\nIt has 8 gig internal memory any recom...
[ { "msg_contents": "Folks,\n\nI'm wondering if it might be useful to be able to add estimated selectivity to \na function definition for purposes of query estimation. Currently function \nscans automatically return a flat default 1000 estimated rows. It seems \nlike the DBA ought to be able to ALTER FUNCTION ...
[ { "msg_contents": "Hello,\n\nI'm just in the middle of performance tunning of our database running\non PostgreSQL, and I've several questions (I've searched the online\ndocs, but without success).\n\n1) When I first use the EXPLAIN ANALYZE command, the time is much\n larger than in case of subsequent invocati...
[ { "msg_contents": "My server is crashing on a delete statement.\n\nHere's the error message in the log file:\n\nLOCATION: ShutdownXLOG, xlog.c:3090\nLOG: 00000: database system is shut down\nLOCATION: ShutdownXLOG, xlog.c:3104\nLOG: 00000: database system was shut down at 2005-04-10 21:54:34 CDT\nLOCATION: ...
[ { "msg_contents": "...\n> \n> 2) Is there some (performance) difference between BEFORE and AFTER\n> triggers? I believe there's no measurable difference.\n> \n\nBEFORE triggers might be faster, because you get a chance to reject the\nrecord before it is inserted into table. Common practice is to put\nvalidit...
[ { "msg_contents": "I am running 8.0.1 on a desktop xp system and a AS4 redhat system.\nThe redhat will be my production server in a week or so and it is returning\nslower the my desk top?\nI understand about the perc cards on the Dell (redhat) but my Dell 2 proc\nbox runs much faster (MSSQL) then my desktop, so...
[ { "msg_contents": "hi\ni'm not totally sure i should ask on this mailing list - so if you think\ni should better ask someplace else, please let me know.\n\nthe problem i have is that specific queries (inserts and updates) take a\nlong time to run.\n\nof course i do vacuum analyze frequently. i also use explain ...
[ { "msg_contents": "> -----Original Message-----\n> From: Keith Worthington [mailto:KeithW@narrowpathinc.com]\n> Sent: Monday, April 11, 2005 7:44 PM\n> To: Neil Conway\n> Cc: PostgreSQL Perform\n> Subject: Re: [PERFORM] 4 way JOIN using aliases\n> \n> Neil Conway wrote:\n> > Keith Worthington wrote:\n> > \n> >>...
[ { "msg_contents": "Hello,\nI am having a bit of trouble updating a single integer column.\nMy table has around 10 columns and 260 000 records.\n\n\nupdate no.records set uid = 2;\n(uid is an integer. It has a btree index)\n\nThis update takes more than 20 minutes to execute. Is this normal? This \nwill be total...
[ { "msg_contents": "I'd like to create a fail-over server in case of a problem. Ideally, it\nwould be synchronized with our main database server, but I don't see any\nmajor problem with having a delay of up to 4 hours between syncs.\n\nMy database is a little shy of 10 Gigs, with much of that data being in an\na...
[ { "msg_contents": "> -----Original Message-----\n> From: Keith Worthington [mailto:keithw@narrowpathinc.com]\n> Sent: Tuesday, April 12, 2005 1:14 PM\n> To: Dave Held; PostgreSQL Perform\n> Subject: Re: [PERFORM] 4 way JOIN using aliases\n> \n> > > I run vacuumdb with the analyze option every morning via a \n> ...
[ { "msg_contents": "Hi all,\n\nI've just noticed an interesting behaviour with PGSQL. My software is\nmade up of few different modules that interact through PGSQL database.\nAlmost every query they do is an individual transaction and there is a\ngood reason for that. After every query done there is some processi...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Matthew Nuzum\n> Sent: 12 April 2005 17:25\n> To: pgsql-performance@postgresql.org\n> Subject: [PERFORM] performance hit for replication\n> \n...
[ { "msg_contents": "I must be missing something important, because I am just not seeing why this\nquery is slower on a 4 processor 8 gig machine running redhat AS4.\n\nThe SQL:\nexplain analyze SELECT a.clientnum, a.associateid, a.associatenum,\na.lastname, a.firstname, jt.value AS jobtitle, l.name AS \"location...
[ { "msg_contents": "Hello!\n\nI have a partial index (btree(col) WHERE col > 0) on table2 ('col' contains alot of NULL-values).\n\nThere's also a foreign key on the column pointing to the primary key of table1 (ON UPDATE CASCADE ON DELETE SET NULL). During update/delete, it seems like it cannot use the partial ...
[ { "msg_contents": "Hi all,\n\nJust wanted everyone to know what we're pulling CVS HEAD nightly so it\ncan be tested in STP now. Let me know if you have any questions.\n\nTests are not automatically run yet, but I hope to remedy that\nshortly.\n\nFor those not familiar with STP and PLM, here are a couple of lin...
[ { "msg_contents": "Someone (twanger) sent me here from the IRC channel with the following:\n\nI have a query that normally takes 0.150 seconds, but after an insert \ncan take 14 seconds.\n\nHere's the scenario:\n\nRun this query:\n select *\n from cad_part\n left join smart_part using (canno...
[ { "msg_contents": "Hi,\n\nJust wondering... Is Postgresql able to use data present within indexes \nwithout looking up the table data?\n\nTo be more explicit, let's say I have table with two fields a and b. If I \nhave an index on (a,b) and I do a request like \"SELECT b FROM table WHERE \na=x\", will Postgresq...
[ { "msg_contents": "I am new to cross references between tables, and I am trying to \nunderstand how they impact performance. From reading the documentation I \nwas under the impression that deffering foreign keys would yield about \nthe same performance as dropping them before a copy, and adding them \nafter. H...
[ { "msg_contents": "I am new to cross references between tables, and I am trying to\nunderstand how they impact performance. From reading the documentation I\nwas under the impression that deffering foreign keys would yield about\nthe same performance as dropping them before a copy, and adding them\nafter. Howev...
[ { "msg_contents": "\nOur vendor is trying to sell us on an Intel SRCS16 SATA raid controller\ninstead of the 3ware one.\n\nPoking around it seems this does come with Linux drivers and there is a\nbattery backup option. So it doesn't seem to be completely insane.\n\nAnyone have any experience with these controll...
[ { "msg_contents": "Imagine a system in \"furious activity\" with two (2) process regularly occuring\n\nProcess One: Looooong read (or write). Takes 20ms to do seek, latency, and \n stream off. Runs over and over. \nProcess Two: Single block read ( or write ). Typical database row access. \n ...
[ { "msg_contents": "sorry, don't remember whether it's SCSI or SATA II, but IIRC\nthe Areca controllers are just stellar for things. \n\nIf you do get SATA for db stuff..especially multiuser...i still\nhaven't seen anything to indicate an across-the-board primacy\nfor SATA over SCSI. I'd go w/SCSI, or if SATA fo...
[ { "msg_contents": "Hi.\n\nOur professor told us the following story: Oracle. A client issued a\nselective delete statement on a big table. After two days he lost\npatience and pulled the plug. Unfortunately while starting up, oracle\nhad to restore all the deleted rows, which took it another two days. He\nreaso...
[ { "msg_contents": "On 4/14/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n>\n> That's basically what it comes down to: SCSI lets the disk drive itself\n> do the low-level I/O scheduling whereas the ATA spec prevents the drive\n> from doing so (unless it cheats, ie, caches writes).  Also, in SCSI it's\n> possible for ...
[ { "msg_contents": "I'm not subscribed to performance at this time. I reviewed the\nthread and owe everything I know about this to Wei Hong whose\nbrilliance exceeds all others :) All misinterpretations are\nmine alone.\n\nI have not reviewed hellerstein's papers posted by neil, but I\nwill.\n\nMy understanding...
[ { "msg_contents": "> -----Original Message-----\n> From: Alex Turner [mailto:armtuk@gmail.com]\n> Sent: Thursday, April 14, 2005 12:14 PM\n> To: Richard_D_Levine@raytheon.com\n> Cc: Greg Stark; pgsql-performance@postgresql.org;\n> pgsql-performance-owner@postgresql.org\n> Subject: Re: [PERFORM] Intel SRCS16 SAT...
[ { "msg_contents": "> -----Original Message-----\n> From: Greg Stark [mailto:gsstark@mit.edu]\n> Sent: Thursday, April 14, 2005 12:55 PM\n> To: matt@followers.net\n> Cc: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] How to improve db performance with $7K?\n> \n> \"Matthew Nuzum\" <matt.followers@gma...
[ { "msg_contents": "I've been doing some reading up on this, trying to keep up here, \nand have found out that (experts, just yawn and cover your ears)\n\n1) some SATA drives (just type II, I think?) have a \"Phase Zero\"\n implementation of Tagged Command Queueing (the special sauce\n for SCSI).\n2) This ...
[ { "msg_contents": "> -----Original Message-----\n> From: Mohan, Ross [mailto:RMohan@arbinet.com]\n> Sent: Thursday, April 14, 2005 1:30 PM\n> To: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] How to improve db performance with $7K?\n> \n> Greg Stark wrote:\n> > \n> > Kevin Brown <kevin@sysexperts.c...
[ { "msg_contents": "> -----Original Message-----\n> From: Joel Fradkin [mailto:jfradkin@wazagua.com]\n> Sent: Thursday, April 14, 2005 11:39 AM\n> To: 'Tom Lane'; 'Dawid Kuroczko'\n> Cc: 'PERFORM'\n> Subject: Re: [PERFORM] speed of querry?\n> \n> \n> I did as described to alter table and did not see any \n> diff...
[ { "msg_contents": "Hi,\ni am thinking about swiching to plperl as it seems to me much more \nflexible and easier to create functions.\n\nwhat is the recommended PL for postgres? or which one is most widely \nused / most popular?\nis there a performance difference between plpgsql and plperl ?\n\nporting to other...
[ { "msg_contents": "> -----Original Message-----\n> From: Alex Turner [mailto:armtuk@gmail.com]\n> Sent: Thursday, April 14, 2005 6:15 PM\n> To: Dave Held\n> Cc: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] Intel SRCS16 SATA raid?\n> \n> Looking at the numbers, the raptor with TCQ enabled was close...
[ { "msg_contents": "> -----Original Message-----\n> From: Alex Turner [mailto:armtuk@gmail.com]\n> Sent: Friday, April 15, 2005 9:44 AM\n> To: Marinos Yannikos\n> Cc: Joshua D. Drake; Mohan, Ross; pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] Intel SRCS16 SATA raid?\n> \n> No offense to that review,...
[ { "msg_contents": "\nSorry to blend threads, but in my kinda longish, somewhat thankless, \nessentially anonymous, and quite average career as a dba, I have \nfound that the 7K would be best spent on a definitive end-to-end\n\"application critical path\" test (pretty easy to instrument apps\nand lash on test ha...
[ { "msg_contents": "Greg, et al. \n\nI never found any evidence of a \"stop and get an intermediate request\"\nfunctionality in the TCQ protocol. \n\nIIRC, what is there is\n\n1) Ordered\n2) Head First\n3) Simple\n\nimplemented as choices. *VERY* roughly, that'd be like\n(1) disk subsystem satisfies requests as ...
[ { "msg_contents": "I think there are many people who feel that $7,000 is a good budget for a\ndatabase server, me being one.\n\n * I agree with the threads that more disks are better.\n * I also agree that SCSI is better, but can be hard to justify if your\nbudget is tight, and I have great certainty that 2x SA...
[ { "msg_contents": "\nHi folks,\n\nI like to use (immutable) functions for looking up serveral \n(almost constant) things, i.e fetching a username by id. \nThis makes my queries more clear.\n\nBut is this really performant ?\n\nLets imagine: \n\nWe've got an table with user accounts (uid,name,...). Then we've\ng...
[ { "msg_contents": "I'm in the fortunate position of having a newly built database server \nthat's pre-production. I'm about to run it through the ringer with some \nsimulations of business data and logic, but I wanted to post the \nresults of some preliminary pgbench marking.\n\nhttp://www.sitening.com/pgbench....
[ { "msg_contents": "Hello,\n\nI need to write several PL/pgSQL functions all returning a \"result set\" wich \ncan be obtained by a single SELECT statement.\nFor now the functions are called by a Java application.\nBoth REFCURSOR and SETOF serve my purpose, but I was wondering if there is a \nperfonance differen...
[ { "msg_contents": "Hello. \n\nI'm trying to restore my database from dump in several parrallel processes, but restore process works too slow.\nNumber of rows about 100 000 000,\nRAM: 8192M\nCPU: Ultra Sparc 3\nNumber of CPU: 4\nOS: SunOS sun 5.8\nRDBMS: PostgreSQL 8.0\n\n==================== prstat i...
[ { "msg_contents": "> d) self-join with a function ;)\n> EXPLAIN ANALYZE SELECT * FROM (SELECT n, id2username(n) AS username\n> FROM (SELECT DISTINCT n FROM aaa) AS values) AS v_lookup RIGHT JOIN\n> aaa USING (n);\n\nThat's pretty clever. \nIt sure seems like the server was not caching the results of the\nfun...
[ { "msg_contents": "\nWhat are the statistics\nfor tbljobtitle.id and tbljobtitle.clientnum \nI added default_statistics_target = 250 to the config and re-loaded the data\nbase. If that is what you mean?\n\n--- how many distinct values of each, \n\ntbljobtitle.id 6764 for all clients 1018 for SAKS\ntbljobtitle.c...
[ { "msg_contents": "Another odd thing is when I tried turning off merge joins on the XP desktop\nIt took 32 secs to run compared to the 6 secs it was taking.\nOn the Linux (4proc box) it is now running in 3 secs with the mergejoins\nturned off.\n\nUnfortunately it takes over 2 minutes to actually return the 160,...
[ { "msg_contents": "Sorry if this posts twice I posted and did not see it hit the list.\n\nWhat are the statistics\nfor tbljobtitle.id and tbljobtitle.clientnum \nI added default_statistics_target = 250 to the config and re-loaded the data\nbase. If that is what you mean?\n\n--- how many distinct values of each,...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-performance-owner@postgresql.org \n> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of \n> Joel Fradkin\n> Sent: 18 April 2005 14:02\n> To: PostgreSQL Perform\n> Subject: FW: [PERFORM] speed of querry?\n> \n> Another odd thing is whe...
[ { "msg_contents": "Hi all,\n\nSome months ago i post a similar problem here i it was solved by running\nvaccumdb time by time.\nSo, when i started using the postgres, i never been used the vacuumdb, and\nafter 2 months i started using once a week, after few weeks, i tried once a\nday and now twice a day.\n\nAt ...
[ { "msg_contents": "> -----Original Message-----\n> From: Greg Stark [mailto:gsstark@mit.edu]\n> Sent: Monday, April 18, 2005 9:59 AM\n> To: William Yu\n> Cc: pgsql-performance@postgresql.org\n> Subject: Re: [PERFORM] How to improve db performance with $7K?\n> \n> William Yu <wyu@talisys.com> writes:\n> \n> > Us...