Re: Joel's Performance Issues WAS : Opteron vs Xeon - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Joel's Performance Issues WAS : Opteron vs Xeon
Date
Msg-id 200504202032.14276.josh@agliodbs.com
Whole thread Raw
In response to Re: Joel's Performance Issues WAS : Opteron vs Xeon  ("Joel Fradkin" <jfradkin@wazagua.com>)
List pgsql-performance
Joel,

Ok, please try this:

ALTER TABLE tblresponseheader ALTER COLUMN clientnum SET STATISTICS 1000;
ALTER TABLE tblresponseheader ALTER COLUMN locationid SET STATISTICS 1000;
ALTER TABLE tbllocation ALTER COLUMN clientnum SET STATISTICS 1000;
ALTER TABLE tbllocation ALTER COLUMN divisionid SET STATISTICS 1000;
ALTER TABLE tbllocation ALTER COLUMN regionid SET STATISTICS 1000;
ANALYZE tblresponseheader;
ANALYZE tbllocation;

Then run the EXPLAIN ANALYZE again.   (on Linux)


--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Christopher Browne
Date:
Subject: Re: Opteron vs Xeon
Next
From: Tom Lane
Date:
Subject: Re: Joel's Performance Issues WAS : Opteron vs Xeon