[PERFORM] high load caused by I/O - a hint

2004-08-18 Thread eleven
Hello, This is not strictly PostgreSQL performance hint, but may be helpful to someone with problems like mine. As I earlier posted, I was experiencing very high load average on one of my Linux database servers (IBM eServer 345, SCSI disks on LSI Logic controller) caused by I/O bottleneck. INSERT

Re: [PERFORM] Seq scan vs. Index scan with different query conditions

2004-07-05 Thread eleven
On Mon, Jul 05, 2004 at 11:44:13PM +1200, Andrew McMillan wrote: > > DateTimeIndex was created on both columns (Date/Time): > > CREATE INDEX "DateTimeIndex" ON "tablex" USING btree ("Date", "Time"); > PostgreSQL is always going to switch at some point, where the number of > rows that have to be re

[PERFORM] Seq scan vs. Index scan with different query conditions

2004-07-05 Thread eleven
Hello, Can anybody suggest any hint on this: temp=> EXPLAIN SELECT DISTINCT "number" FROM "tablex" WHERE "Date" BETWEEN '2004-06-28'::date AND '2004-07-04'::date AND "Time" BETWEEN '00:00:00'::time AND '18:01:00'::time; Unique (cost=305669.92..306119.43 rows=89 width=8) -> Sort (cos

Re: [PERFORM] High load average with PostgreSQL 7.4.2 on debian/ibm eserver.

2004-06-29 Thread eleven
On Tue, Jun 29, 2004 at 09:17:36AM -0700, Marc wrote: > > Performance issue, I'm experiencing here, is somewhat > > weird - server gets high average load (from 5 up to 15, > > 8 on average). Standard performance monitoring > > utilities (like top) show that CPUs are not loaded > > (below 20%, ofte

[PERFORM] High load average with PostgreSQL 7.4.2 on debian/ibm eserver.

2004-06-29 Thread eleven
alues and high average load would suggest it. With kernel 2.6 swap was almost always 100% free, with 2.4.26 Linux eats below 5 megabytes of swapspace. PostgreSQL is running with shared_mem set to 48000, sort_mem = 4096, fsync off. Whole config is available here: http://ludojad.itpp.pl/~eleven/pg