Re: [PERFORM] High CPU Usage - PostgreSQL 7.3

2006-07-10 Thread Neil Hepworth
Thanks for the reply. The database is vacuum analysed regularly and during my testing I tried running the vacuum analyse full immediately before the running through the set of queries (which does help a bit - reduces the time to about 80% but is is still over an hour, with basically 100% CPU). I

Re: [PERFORM] High CPU Usage - PostgreSQL 7.3

2006-07-10 Thread Neil Hepworth
I should also explain that I run through these queries on multiple tables and with some slightly different parameters for the "consolidation" so I run through those 3 queries (or similar) 9 times and this takes a total of about 2 hours, with high CPU usage. And I am running the queries from a rem

Re: [PERFORM] suggested RAID controller for FreeBSD 6.1 + PostgreSQL 8.1

2006-07-10 Thread Vivek Khera
On Jul 5, 2006, at 7:46 PM, Kenji Morishige wrote: like to know what an ideal RAID controller that would be compatible with FreeBSD 6.1 would be these days. LSI MegaRAID 320-2X and put half disks on one channel, half on the other, and MIRROR+STRIPE them (ie, RAID10). There is nothing fa

Re: [PERFORM] High CPU Usage - PostgreSQL 7.3

2006-07-10 Thread Jeff Frost
On Mon, 10 Jul 2006, Neil Hepworth wrote: I should also explain that I run through these queries on multiple tables and with some slightly different parameters for the "consolidation" so I run through those 3 queries (or similar) 9 times and this takes a total of about 2 hours, with high CPU u

Re: [PERFORM] High CPU Usage - PostgreSQL 7.3

2006-07-10 Thread Scott Marlowe
On Sun, 2006-07-09 at 19:52, Neil Hepworth wrote: > Hi, > > I am running PostgreSQL 7.3 on a Linux box (RHEL 2.1 - Xeon 2.8GHz > with 1GB of RAM) and seeing very high CPU usage (normally over 90%) > when I am running the following queries, and the queries take a long > time to return; over an hour