threads
listlengths
1
275
[ { "msg_contents": "Hello Everyone,\n\nI'm trying to find out/understand what causes my 'out of memory' error. \nI do not have enough experience with such logs to understand what is \nwrong or how to fix it. So i hope someone can point me in the right \ndirection.\n\nThe 'rpt.rpt_verrichting' table contains abou...
[ { "msg_contents": "Hello!\n\nWe're facing a performance problem here in a Oracle 10g -> PostgreSQL \nenvironment. The Oracle DB accesses the PostgreSQL DB via UnixODBC + \npsqlODBC.\n\nThere are some 100 records on the Oracle DB to be updated with data \nobtained from a view of the PostgreSQL DB. The fetched da...
[ { "msg_contents": "\nHi,\n\nplease help me with the following problem:\n\nI have noticed a strange performance behaviour using a commit statement on two different machines. On one of the machines the commit is many times faster than on the other machine which has faster hardware. Server and client are running a...
[ { "msg_contents": "I can't find an address to complain about the mailing list itself, so apologies but I'm posting directly to this list. Every time I post to this group, I get returned mails about OTHER subscribers' invalid accounts, like the one below. What's up? This seems to be a new phenomenon. Should ...
[ { "msg_contents": "I notice that non-printables in bytea values are being spit out by pg_dump\nusing escaped octet sequences even when the \"-Fc\" option is present\nspecifying use of the custom binary output format rather than plain text\nformat. This bloats the size of bytea values in the dump file by a fact...
[ { "msg_contents": "I have just upgraded from 7.3.4 to 8.1.4 and now *all* db access calls\nare extremely slow. I didn't need to preserve any old data so at this\npoint all my tables are empty. Just connecting to a db takes several\nseconds.\n\n \n\nWhen I was accidentally linking my app with the 7.3.4 libs bu...
[ { "msg_contents": "\nHello all,\r\nthanks a lot for your help so far. You all where right about the IDE drive is\r\nsomehow caching the data. See the test results below. I also get different \r\ntps values every time I run pgbench on PC1 (between 300 and 80 tps for 100 transactions).\r\n\nI don't think it's a g...
[ { "msg_contents": "> From: Bruno Wolff III [mailto:bruno@wolff.to]\n> Sent: Wednesday, July 12, 2006 8:54 PM\n> To: Medora Schauer\n> Cc: postgresql\n> Subject: Re: hyper slow after upgrade to 8.1.4\n> \n> On Wed, Jul 12, 2006 at 15:41:14 -0500,\n> Medora Schauer <mschauer@fairfield.com> wrote:\n> > I have ju...
[ { "msg_contents": "> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]\n> Sent: Thursday, July 13, 2006 11:12 AM\n> \n> Michael Fuhr <mike@fuhr.org> writes:\n> > On Thu, Jul 13, 2006 at 08:22:46AM -0500, Medora Schauer wrote:\n> >> Can it be that the connection delay is because first an IPv6 socket\nis\n> >> trying to ...
[ { "msg_contents": "I'm doing a self join of some shipping data and wanted to get the best\nquery possible. The interesting table is the event table, and it has\nthe following structure:\n\n startnode int,\n endnode int,\n weight int,\n starttime timestamp,\n endtime timestamp\n\nand the query that I would...
[ { "msg_contents": "Hi all. I have a strange (and serious) problem with an application\nported from postgres 8.0 to 8.1.\n\nThe old installation is postgresql-8.0.4-2.FC4.1 running on a Fedora 4,\nthe new one is postgresql-8.1.4-1.FC5.1 running on a fedora 5.\n\nSome query is now _very_ slow. I've found some dee...
[ { "msg_contents": "Hassan,\n\n> 1. I have a function that given two parameter produces an arbitrary id, and\n> text. However arbitrary the id and text are, they are in certain order. i.e. it\n> is imperative that whatever processing I do, the order is preserved.\n\nWhat type of function is this? Did you write ...
[ { "msg_contents": "I have finally gotten my hands on the MSA1500 that we ordered some time\nago. It has 28 x 10K 146Gb drives, currently grouped as 10 (for wal) +\n18 (for data). There's only one controller (an emulex), but I hope\nperformance won't suffer too much from that. Raid level is 0+1,\nfilesystem is e...
[ { "msg_contents": "Yeah, it seems to be a waste of disk space (spindles as well?). I was\nunsure how much activity the WAL disks would have compared to the data\ndisks, so I created an array from 10 disks as the application is very\nwrite intense (many spindles / high throughput is crucial). I guess that\na mir...
[ { "msg_contents": ">I think the main difference is that the WAL activity is mostly linear,\nwhere the normal data activity is rather random access. \n\nThat was what I was expecting, and after reading\nhttp://www.pcguide.com/ref/hdd/perf/raid/concepts/perfStripe-c.html I\nfigured that a different stripe size fo...
[ { "msg_contents": ">> This is something I'd also would like to test, as a common \n>> best-practice these days is to go for a SAME (stripe all, mirror\neverything) setup.\n>> From a development perspective it's easier to use SAME as the \n>> developers won't have to think about physical location for new \n>> ta...
[ { "msg_contents": ">From: Mikael Carneholm <Mikael.Carneholm@WirelessCar.com>\n>Sent: Jul 16, 2006 6:52 PM\n>To: pgsql-performance@postgresql.org\n>Subject: [PERFORM] RAID stripe size question\n>\n>I have finally gotten my hands on the MSA1500 that we ordered some time\n>ago. It has 28 x 10K 146Gb drives,\n>\nU...
[ { "msg_contents": ">Unless I'm missing something, the only FC or SCSI HDs of ~147GB capacity are 15K, not 10K.\n\nIn the spec we got from HP, they are listed as model 286716-B22 (http://www.dealtime.com/xPF-Compaq_HP_146_8_GB_286716_B22) which seems to run at 10K. Don't know how old those are, but that's what w...
[ { "msg_contents": "-----Original Message-----\n>From: Mikael Carneholm <Mikael.Carneholm@WirelessCar.com>\n>Sent: Jul 17, 2006 5:16 PM\n>To: Ron Peacetree <rjpeace@earthlink.net>, pgsql-performance@postgresql.org\n>Subject: RE: [PERFORM] RAID stripe size question\n>\n>>15Krpm HDs will have average access times...
[ { "msg_contents": "Hi,\n\nIt would seem that doing any changes on a temp table forces a copy of \nthe entire contents of the table to be retained in memory/disk. Is \nthis happening due to MVCC? Is there a way to change this behavior? \nIt could be very useful when you have really huge temp tables that \n...
[ { "msg_contents": ">From: Alex Turner <armtuk@gmail.com>\n>Sent: Jul 18, 2006 12:21 AM\n>To: Ron Peacetree <rjpeace@earthlink.net>\n>Cc: Mikael Carneholm <Mikael.Carneholm@wirelesscar.com>, pgsql-performance@postgresql.org\n>Subject: Re: [PERFORM] RAID stripe size question\n>\n>On 7/17/06, Ron Peacetree <rjpeac...
[ { "msg_contents": "> This is a relatively low end HBA with 1 4Gb FC on it. Max sustained\nIO on it is going to be ~320MBps. Or ~ enough for an 8 HD RAID 10 set\nmade of 75MBps ASTR HD's.\n\nLooking at http://h30094.www3.hp.com/product.asp?sku=2260908&extended=1,\nI notice that the controller has a Ultra160 SC...
[ { "msg_contents": "Have you done any experiments implementing RAID 50 this way (HBA does RAID 5, OS does RAID 0)? If so, what were the results?\n\nRon\n\n-----Original Message-----\n>From: Scott Marlowe <smarlowe@g2switchworks.com>\n>Sent: Jul 18, 2006 3:37 PM\n>To: Alex Turner <armtuk@gmail.com>\n>Cc: Luke Lo...
[ { "msg_contents": "Hello,\n\nI am seeking advice/comment/experience you may have had for the performance\ncost for remote access to postgresql 8.1.X?\n\nI have two servers, one is Sun V240 (say server A) and the other is dual\nintel Xeon (say Server B) and both installed Solaris 10.\n\nWith Server A, there is ...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 2543\nLogged by: Alaa El Gohary\nEmail address: alaaelgohary@bftech.com.eg\nPostgreSQL version: 7.4.12\nOperating system: FreeBSD 6.0\nDescription: Performance delay acrros the same day\nDetails: \n\nA q...
[ { "msg_contents": "I have been testing the performance of PostgreSQL using the simple tool\nfound at http://benchw.sourceforge.net however I have found that all the\nqueries it run execute with sequential scans. The website where the code\nruns has examples of the execution plan using indexes.\n\nWhen I disable...
[ { "msg_contents": "More information from the query:-\n\nexplain analyze\nSELECT\n d0.dmth,\n count(f.fval )\nFROM\n dim0 AS d0,\n fact0 AS f\nWHERE d0.d0key = f.d0key\nAND d0.ddate BETWEEN '2010-01-01' AND '2010-12-28'\nGROUP BY\n d0.dmth\n;\n\n ...
[ { "msg_contents": "The tables have all been analysed.\n\nI set the work_mem to 500000 and it still doesn't use the index :-(\n\nRegards\n\nRobin\n\n-----Original Message-----\nFrom: Richard Huxton [mailto:dev@archonet.com] \nSent: 21 July 2006 12:54\nTo: Smith,R,Robin,XJE4JA C\nSubject: Re: [PERFORM] Forcing us...
[ { "msg_contents": "Hello,\n\ndoes anybody use OSDB benchmarks for postgres?\nif not, which kind of bechmarks are used for postgres?\n\nThanks,\nDenis.\n", "msg_date": "Fri, 21 Jul 2006 16:35:30 +0300", "msg_from": "\"Petronenko D.S.\" <petronenko@gmail.com>", "msg_from_op": true, "msg_subject": ...
[ { "msg_contents": "I discussed this with a few members of #postgresql freenode this morning. I'll keep it breif; [note: i have cleaned out columns not relevant]\n\nI have two tables, brands and models_brands. The first has about 300 records, the later about 350,000 records. The number of distinct brands in the ...
[ { "msg_contents": "I have a case where I am partitioning tables based on a date range in \nversion 8.1.4. For example:\n\ntable_with_millions_of_records\ninteraction_id char(16) primary key\nstart_date timestamp (without timezone) - indexed\n.. other columns\n\nchild_1 start_date >= 2006-07-21 00:00:00\nch...
[ { "msg_contents": "Hello,\nSorry for my poor english,\n\nMy problem :\n\nI meet some performance problem during load increase.\n\nmassive update of 50.000.000 records and 2.000.000 insert with a weekly\nfrequency in a huge table (+50.000.000 records, ten fields, 12 Go on hard disk)\n\ncurrent performance obtain...
[ { "msg_contents": "Hi all,\n\n I execute the following query on postgresql 8.1.0:\n\nSELECT\n u.telephone_number\n , u.telecom_operator_id\n , u.name\nFROM\n campanas_subcampaign AS sub\n , agenda_users AS u\n , agenda_users_groups ug\nWHERE\n sub.customer_app_config_id = 19362\n AND sub.subca...
[ { "msg_contents": "Hi!\n\nI hope I'm sending my question to the right list, please don't flame if it's\nthe wrong one.\n\nI have noticed that while a query runs in about 1.5seconds on a 8.xx version\npostgresql server on our 7.4.13 it takes around 15-20 minutes. Since we are\nusing RHEL4 on our server we are st...
[ { "msg_contents": "Hello,\n \n My name is Hristo Markov. I am software developer. \n \n I am developing software systems (with C/C++ program language) that work on Windows operation system and uses ODBC driver and ACCESS database. I want to change database with PostgreSQL.\n \n The systems working with...
[ { "msg_contents": "See Query 200x slower on server [PART 1] before reading any further\n\nQUERY PLAN ON MY HOME SERVER\nSort (cost=1516.55..1516.59 rows=15 width=640) (actual time=123.008..123.435 rows=1103 loops=1)\n Sort Key: aanmaakdatum\n -> Subquery Scan producttabel (cost=1515.39..1516.26 rows=15 wid...
[ { "msg_contents": "All,\n\nI support a system that runs on several databases including PostgreSQL.\nI've noticed that the other DB's always put an implicit savepoint before\neach statement executed, and roll back to that savepoint if the\nstatement fails for some reason. PG does not, so unless you manually\nsp...
[ { "msg_contents": "We are using a BI tool that generates some rather ugly queries. One of\nthe ugly queries is taking much longer to return thin I think it\nshould. \n\nThe select expression when run alone returns in 2 seconds with 35k rows\n(http://www.bowmansystems.com/~richard/explain_select.analyze) \n\nT...
[ { "msg_contents": "Hi,\n\nWe've a fedora core 3 box with PostgreSQL 8.0.\n\nThere is some performance problems with the server and I discovered with vmstat tool that there is some process writing a lot of information in the disk subsystem.\n\nI stopped the database and even so vmstat showed the same rates of di...
[ { "msg_contents": "---------- Forwarded message ----------\nFrom: Kjell Tore Fossbakk <kjelltore@gmail.com>\nDate: Jul 26, 2006 8:55 AM\nSubject: Performance with 2 AMD/Opteron 2.6Ghz and 8gig DDR PC3200\nTo: pgsql-performance-owner@postgresql.org\n\nHello!\n\nI have upgraded my server to an HP Proliant DL585. ...
[ { "msg_contents": "Kjell,\n\n> I got 4 150GIG SCSI disks in a Smart Array 5i 1+0 RAID.\n\nThe Smart Array 5i is a terrible performer on Linux. I would be\nsurprised if you exceed the performance of a single hard drive with this\ncontroller when doing I/O from disk. Since your database working set is\nlarger t...
[ { "msg_contents": "I would be interested in what numbers you would get out of bonnie++\n(http://www.coker.com.au/bonnie++) and BenchmarkSQL\n(http://sourceforge.net/projects/benchmarksql) on that hardware, for\ncomparison with our DL385 (2xOpteron 280, 16Gb ram) and MSA1500. If you\nneed help building benchmark...
[ { "msg_contents": "Mikael, \n\n> -----Original Message-----\n> From: Mikael Carneholm [mailto:Mikael.Carneholm@WirelessCar.com] \n> Sent: Friday, July 28, 2006 1:47 AM\n>\n> I would be interested in what numbers you would get out of bonnie++\n> (http://www.coker.com.au/bonnie++) and BenchmarkSQL\n> (http://sour...
[ { "msg_contents": "Mikael, \n\n> -----Original Message-----\n> From: Mikael Carneholm [mailto:Mikael.Carneholm@WirelessCar.com] \n> Sent: Friday, July 28, 2006 2:05 AM\n>\n> My bonnie++ results are found in this message:\n> http://archives.postgresql.org/pgsql-performance/2006-07/msg00164.php\n> \n\nApologies i...
[ { "msg_contents": "Luke,\n\nYeah, I read those results, and I'm very disappointed with my results\nfrom the MSA1500. I would however be interested in other people's\nbonnie++ and benchmarksql results using a similar machine (2 cpu dual\ncore opteron) with other \"off the shelf\" storage systems\n(EMC/Netapp/Xyr...
[ { "msg_contents": "I have a table with 37000 rows, an integer column, and an index on that \ncolumn. I've got a function that returns an integer. When I do a select \nwhere I restrict that column to being equal to a static number, explain \ntells me the index will be used. When I do the same thing but use the \...
[ { "msg_contents": "> De : pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-\n> owner@postgresql.org] De la part de Ben\n> Envoyé : vendredi, juillet 28, 2006 15:21\n> À : pgsql-performance@postgresql.org\n> Objet : [PERFORM] index usage\n> \n> I have a table with 37000 rows, an integer column, a...
[ { "msg_contents": "Charles, \n\n> FWIW, once our vendor gets all the pieces (having some issues \n> with figuring out which multilane sata cables to get), I'll \n> have a dual-core opteron box with a 3Ware 9500SX-12MI and 8 \n> drives. I need to benchmark to compare this to our \n> xeon/adaptec/scsi build we'v...
[ { "msg_contents": "Tweakers.net has done a database performance test between a Sun T2000 (8\ncore T1) and a Sun X4200 (2 dual core Opteron 280). The database\nbenchmark is developed inhouse and represents the average query pattern\nfrom their website. It is MySQL centric because Tweakers.net runs on\nMySQL, but...
[ { "msg_contents": "Run bonnie++ version 1.03 and report results here.\n\n\n- Luke\n\nSent from my GoodLink synchronized handheld (www.good.com)\n\n\n -----Original Message-----\nFrom: \tKjell Tore Fossbakk [mailto:kjelltore@gmail.com]\nSent:\tSunday, July 30, 2006 03:03 PM Eastern Standard Time\nTo:\tClaus Gutt...
[ { "msg_contents": "I am testing a query what that has a sub-select. The query performance is very very poor as shown below due to the use of sequencial scans. The actual row count of both tables is also shown. It appears the row count shown by explain analyze does not match the actual count. Columns dstobj, sr...
[ { "msg_contents": "Hi group,\n\nthis is a directory tree query for a backup system (http:// \nsourceforge.net/projects/bacula).\nYou provide a path and get back the names of the children plus a \nboolean telling if the child has itself children.\nThe \"%@\" stands for the initial path:\n-----------------------...
[ { "msg_contents": "I try to partition a large table (~ 120 mio. rows) into 50 smaller\ntables but using the IMO immutable %-function constraint exclusion\ndoes not work as expected:\n\nCREATE TABLE tt_m (id1 int, cont varchar);\nCREATE TABLE tt_0 (check (id1 % 50 = 0)) INHERITS (tt_m);\nCREATE TABLE tt_1 (check...
[ { "msg_contents": "Hello,\n\nI've read a lot of mails here saying how good is the Opteron with PostgreSQL,\nand a lot of people seems to recommend it (instead of Xeon).\n\nHowever, it seems that new Intel processors, Core Duo and Core 2 Duo, performs\nvery well, in desktop environment at least.\n\n\nI wonder wh...
[ { "msg_contents": "Hello,\n\nI apologize that if the similar questions were already asked and answered\nbefore.....\nHere is a go:\n\na) If we have application clients running on a Solaris 10/SPARC box and\ndatabase server running on a Solaris10 X_86 box; further, we have a few\ntables, in which we split an int...
[ { "msg_contents": "Hello, I have a query:\n\nexplain analyze select tu.url_id, tu.url, coalesce(sd.recurse, 100), case when\nCOALESCE(get_option('use_banner')::integer,0) = 0 then 0 else ts.use_banner\nend as use_banner, ts.use_cookies, ts.use_robots, ts.includes, ts.excludes,\nts.track_domain, ts.task_id,get_...
[ { "msg_contents": "I need some expert advice on how to optimize a \"translation\" query (this\nword choice will become clear shortly, I hope).\n\nSay I have a HUMONGOUS table of foreign language \"translations\" (call it\nTRANS) with records like these:\n\nmeaning_id: 1\nlanguage_id: 5\ntranslation: jidoosha\n\...
[ { "msg_contents": "I intend to test Postgres/Bizgres for DWH use. I want to use XFS filesystem to get the best possible performance at FS\nlevel(correct me if I am wrong !).\n\nIs anyone using XFS for storing/retrieving relatively large amount of data (~ 200GB)?\n\nIf yes, what about the performance and stabi...
[ { "msg_contents": "Sorry, forgot to ask:\nWhat is the recommended/best PG block size for DWH database? 16k, 32k, 64k ?\nWhat hsould be the relation between XFS/RAID stripe size and PG block size ?\n\nBest Regards. \nMilen Kulev\n \n\n-----Original Message-----\nFrom: pgsql-performance-owner@postgresql.org ...
[ { "msg_contents": "Merlin,\n\n> moving a gigabyte around/sec on the server, attached or no, \n> is pretty heavy lifting on x86 hardware.\n\nMaybe so, but we're doing 2GB/s plus on Sun/Thumper with software RAID\nand 36 disks and 1GB/s on a HW RAID with 16 disks, all SATA.\n\nWRT seek performance, we're doing 25...
[ { "msg_contents": "\nMilen,\n\n> XFS, EXT3, JFS\nFor what reason are you planning to use a journaling FS? I think using WAL, fsyncing every transaction and using a journaling FS is tautologous. And if you have problems using EXT2 you can just add the journal later without loosing data.\nMy tests using EXT2 show...
[ { "msg_contents": "I'm at a client who's an ASP; they've written their app such that each\ncustomer gets their own database. Rigth now they're at nearly 200\ndatabases, and were thinking that they \"must be the largest PostgreSQL\ninstall in the world\". :) After taking them down a notch or two, I\nstarted wond...
[ { "msg_contents": "Hello,\n\nI am trying to migrate data from a DB2 database to SQL Server 2005\ndatabase. Does anyone know about any migration tool that does that? I\n\nhave heard about DB2 Migration Tool kit, but I think you can only\nmigrate data to a DB2 database with that. Thank you.\n\n\nSincerely, \n\...
[ { "msg_contents": "Hi. I'm new at using PostgreSQL.\nWhere I work, all databases were built with MS Access. The Access files are hosted by computers with Windows 2000 and Windows \n\nXP. A new server is on its way and only Open Source Software is going to be installed. The OS is going to be SUSE Linux 10.1 \n\n...
[ { "msg_contents": "> WRT seek performance, we're doing 2500 seeks per second on the\nSun/Thumper on 36 disks. \n\nLuke, \n\nHave you had time to run benchmarksql against it yet? I'm just curious\nabout the IO seeks/s vs. transactions/minute correlation...\n\n/Mikael\n\n\n\n\n\n", "msg_date": "Fri, 4 Aug 20...
[ { "msg_contents": "Hi,\n\nIs there any inherent benefit of using a the IN operator versus \njoining a temporary table? Should they offer near equal performance? \nIt appears bitmap scan's aren't done when matching across a small \ntemporary table.\n\nI have a temporary table with 5 integers in it that I'm m...
[ { "msg_contents": "I am do some consulting for an animal hospital in the Boston, MA area.\nThey wanted a new server to run their database on. The client wants\neverything from one vendor, they wanted Dell initially, I'd advised\nagainst it. I recommended a dual Opteron system from either Sun or HP.\nThey settle...
[ { "msg_contents": "Hi All,\n \n I am trying to back up a full copy of one of our databases (14G) and restore it on another server. Both databases run 7.3.2 version. Though the restore completed successfully, it took 9 hours for the process to complete. The destination server runs Fedora Core 3 with 512 MB RA...
[ { "msg_contents": "\nPostgres 8.1.4\nSlony 1.1.5\nLinux manny 2.6.12-10-k7-smp #1 SMP Fri Apr 28 14:17:26 UTC 2006 i686 \nGNU/Linux\n\nWe're seeing an average of 30,000 context-switches a sec. This problem \nwas much worse w/8.0 and got bearable with 8.1 but slowly resurfaced. \nAny ideas?\n\nprocs ----------...
[ { "msg_contents": "Hi. I'm new at using PostgreSQL. I have found posts related to this one but there is not a definite answer or solution. Here it goes.\nWhere I work, all databases were built with MS Access. The Access files are hosted by computers with Windows 2000 and Windows XP. A new server is on its way a...
[ { "msg_contents": "Hi,\n\nFirst of all I must tell that my reality in a southern brazilian city is \nway different than what we read in the list. I was lookig for ways to \nfind the HW bottleneck and saw a configuration like:\n\n\"we recently upgraded our dual Xeon Dell to a brand new Sun v40z with 4 \nopterons...
[ { "msg_contents": "Hello\n\nI have pg_autovacuum running with the arguments: \n\npg_autovacuum -D -s 120 -v 10000\n\nthe database is postgresql 8.0.0\n\nSometimes load average on server raises to 20 and it is almost impossible to\nlogin via SSH\n\nWhen I'm logging in finally, I see there is cpu usage: 6% and io...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 2567\nLogged by: kumarselvan\nEmail address: kumar@nexge.com\nPostgreSQL version: 8.1\nOperating system: Linux Enterprise version 3\nDescription: High IOWAIT\nDetails: \n\ni have installed the postgres a...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi, I have a question with shared_buffer.\n\nOk, I have a server with 4GB of RAM\n- -----\n# cat /proc/meminfo\nMemTotal: 4086484 kB\n[...]\n- -----\n\nSo, if I want to, for example, shared_buffer to take 3 GB of RAM then\nshared_buffer w...
[ { "msg_contents": "I agree, I think these say you are getting 240MB/s sequential reads and 1000 seeks per second.\n\nThat's pretty much the best you'd expect.\n\n- Luke\n\nSent from my GoodLink synchronized handheld (www.good.com)\n\n\n -----Original Message-----\nFrom: \tAlex Turner [mailto:armtuk@gmail.com]\n...
[ { "msg_contents": "Hi,\n\nI have a query that use a function and some column test to select row. \nIt's in the form of:\n\nSELECT * FROM TABLE\n WHERE TABLE.COLUMN1=something\n AND TABLE.COLUMN2=somethingelse\n AND function(TABLE.COLUMN3,TABLE.COLUMN4) > 0;\n\nThe result of the function does NOT dep...
[ { "msg_contents": "Steve, \n\n> Sun box with 4-disc array (4GB RAM. 4 167GB 10K SCSI RAID10 \n> LSI MegaRAID 128MB). This is after 8 runs.\n> \n> dbserver-dual-opteron-centos,08/08/06,Tuesday,20,us,12,2,5\n> dbserver-dual-opteron-centos,08/08/06,Tuesday,20,sy,59,50,53\n> dbserver-dual-opteron-centos,08/08/06,Tu...
[ { "msg_contents": "Steve, \n\n> > Are any of the disks not healthy? Do you see any I/O \n> errors in dmesg?\n> \n> In my vmstat report, I it is an average per minute not \n> per-second. Also, I found that in the first minute of the \n> very first run, the HP's \"bi\"\n> value hits a high of 221184 then it tank...
[ { "msg_contents": "Steve,\n\nAt the end of the day it seems that you've got a support issue with the\nSmartArray RAID adapter from HP. \n\nLast I tried that I found that they don't write the cciss driver, don't\ntest it for performance on Linux and don't make any claims about it's\nperformance on Linux.\n\nThat...
[ { "msg_contents": "Steve, \n\n> I will do that. If it is the general impression that this \n> server should perform well with Postgresql, Are the RAID \n> cards, the 6i and 642 sufficient to your knowledge? I am \n> wondering if it is the disc array itself. \n\nI think that is the question to be answered by HP ...
[ { "msg_contents": "Hello everyone.\n\nMy (simplified) database structure is:\n\na) table product (150000 rows)\n product_id BIGINT PRIMARY KEY\n title TEXT\n ...\n\nb) table action (5000 rows)\n action_id BIGINT PRIMARY KEY\n product_id BIGINT, FK to product\n shop_group_id INTEGER (there are about 5 grou...
[ { "msg_contents": "Hello,\n\n \n\nI've recently been tasked with scalability/performance testing of a Dell\nPowerEdge 2950. This is the one with the new Intel Woodcrest Xeons.\nSince I haven't seen any info on this box posted to the list, I figured\npeople might be interested in the results, and maybe in return...
[ { "msg_contents": "I'm trying to optimize a resume search engine that is using Tsearch2\nindexes. It's running on a dual-opteron 165 system with 4GB of ram\nand a raid1 3Gb/sec SATA array. Each text entry is about 2-3K of\ntext, and there are about 23,000 rows in the search table, with a goal\nof reaching abo...
[ { "msg_contents": "Hi all,\n\nThis is my first post to the performance list, I hope someone can help me.\n\nI'm setting up a table with 2 columns, both of which reference a column \nin another table:\n\nCREATE TABLE headwords_core_lexemes (\ncore_id int REFERENCES headwords_core(core_id),\nlexeme_id int REFEREN...
[ { "msg_contents": "Hi all,\n\nI have an application that uses PostgreSQL to store its data. The \napplication and an instance of the database have been installed in three \ndifferent locations, and none of these three locations have anything to \ndo with any of the others. I'm observing a problem in that large ...
[ { "msg_contents": "Please cc the list so others can help.\n\nHow large is the database? What indexes are on the tables you're inserting into? What speed is the drive?\n\nSince it's a single SCSI drive I'm assuming it's only 10k RPM, which means the theoretical maximum you can hit is 160 transfers per second. At...
[ { "msg_contents": "Sort of on topic, how many foreign keys in a single table is good v.\nbad? I realize it's relative to the tables the FK's reference so here's\nan example:\n\nTable A: 300 rows\nTable B: 15,000,000 rows\nTable C: 100,000 rows\nTable E: 38 rows\nTable F: 9 rows\nTable G: is partitioned on the ...
[ { "msg_contents": "Hello, I'm migrating from MS SQL Server to PostgreSQL 8.1 and I have a serious problem:\nTable: APORTES - Rows: 9,000,000 (9 million)\n*cuiT (char 11)\n*cuiL (char 11)\n*PERI (char 6)\nFAMI (numeric 6)\n\nI need all the cuiLs whose max(PERI) are from a cuiT, and the Max(FAMI) of those cuiLs, ...
[ { "msg_contents": "Hi all,\n\nI have PostgreSQL 8.1.4 running on a P 4 2.8 GHz , 512 MB with Linux \n(Fedora Core 3)\n\nThe SQL comands below have a performance diference that I think is not \nso much acceptable ( 1035.427 ms vs 7.209 ms ), since the tables isn�t\nso much big ( contrato have 1907 rows and p...
[ { "msg_contents": "I'm in the process of migrating a Paradox 7/BDE 5.01 database from single-user \nParadox to a web based interface to either MySQL or PostgreSQL.\nThe database is a pedigree sheep breed society database recording sheep and \nflocks (amongst other things).\n\nMy current problem is with one tabl...
[ { "msg_contents": "I have two simple queries that do what I believe to be the exact same\nthing. I was surprised to see a reliable, and what I consider to be\nsignificant (although not problematic for my application) difference\nin execution time. It hints to me that PostgreSQL may be missing an\noptimization o...
[ { "msg_contents": "We're having a problem with one of our queries being slow. It appears to be due\nto the index being used to go from tableA to tableB.\n\nHere are the tables:\nCREATE TABLE tableA\n(\n table_idA int8 NOT NULL DEFAULT nextval('tableA_id_seq'::regclass),\n CONSTRAINT table_idA_pk PRIMARY KEY (...
[ { "msg_contents": "Hi,\n\n \n\nI am using PostgreSQL 8.1.4 for an embedded application. For some\nreason, vacuum is not able to identify rows that are candidates for\nremoval (i.e., mark space as available).\n\n \n\nBackground Info:\n\n \n\nI observed some performance problems - our database seemed to be using...
[ { "msg_contents": "I'm exhausted to try all performance tuning ideas, like following\nparameters\n\nshared_buffers \nfsync \nmax_fsm_pages\nmax_connections \nshared_buffers \nwork_mem \nmax_fsm_pages\neffective_cache_size \nrandom_page_cost \n\nI believe all above have right size and values, but I just can not...
[ { "msg_contents": "I am trying to decide what kind of storage options to use for a pair of\ngood database servers, a primary and a read-only that can be a failover.\nHere is what I'm thinking so far:\n\n(1) We have a nice NetApp that can do iSCSI. It has a large (multi-GB)\nbattery-backed cache so it could pote...
[ { "msg_contents": "I'm using PostgreSQL 8.1.4 and I'm trying to force the planner to use\nan index. With the index, I get executions times of 0.5 seconds. \nWithout, it's closer to 2.5 seconds.\n\nCompare these two sets of results (also provided at \nhttp://rafb.net/paste/results/ywcOZP66.html\nshould it appea...
[ { "msg_contents": "Hi,\n\nWe are using PostgreSQL 7.1 cygwin installed on Windows 2000 (2 GB Memory,\nP4). \n\nWe understand that the maximum connections that can be set is 64 in\nPostgresql 7.1 version. \n\nThe performance is very slow and some time the database is not getting\nconnected from our application b...
[ { "msg_contents": "Hello all,\nhad an idea of optimizing a query that may work generally.\n\nIn case a 'column' is indexed, following two alterations could be done\nI think:\n\nA)\n\n select ... where column ~ '^Foo' --> Seq Scan\n\ninto that:\n\n select ... where column BETWEEN 'Foo' AND 'FooZ' --> ...
[ { "msg_contents": "Hello,\n\nwe're looking into the reason why we are getting warnings about \ntransaction ID wraparound despite a daily \"vaccumdb -qaz\". Someone is \nclaiming that VACUUM without FULL cannot reassign XIDs properly when \nmax_fsm_pages was set too low (it says so here too, but this is rather \...
[ { "msg_contents": "Hi all,\n\nI'm really glad to see all the test results people are posting here. In \nfact, I used info from the archives to put together our first \"big\" \ndatabase host:\n\n-Tyan dual-core/dual-cpu mainboard (\n-One Opteron 270 2.0GHz (although our vendor gave us two for some reason)\n-Che...