Link to home
Start Free TrialLog in
Avatar of mersis
mersis

asked on

How to optimize PostgreSQL for a 16GB RAM Quad-Core machine?

Hi,
I would like to optimize postgres for the best possible performance for a single query. I am not going to use it in a multi-user environment, but performance of a single query is most important.
Could someone suggest correct config settings for PostgreSQL 8.2 for the following hardware:
Dell PowerEdge 2900, 1 Xeon 2.6GHz Quad-Core processor, 16GB memory, 4 RAID0 15000RPM SAS hard-disks, Windows 2003 R2 64Bit Server Edition (default configuration).
When I just use the default config file, I have a feeling postgres is not even using a 0.1% of the given resources, especially in terms of memory.
ASKER CERTIFIED SOLUTION
Avatar of Adrian Pop
Adrian Pop
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mersis
mersis

ASKER

Thanks adrpo. No, I am not using cygwin to run PostgreSQL. Why would I need it?
I have just downloaded the windows installer for postgreSQL and used it. It worked fine and the database works well too.

My bad. I sow now that they made a MinGW-based version.
Sorry about that. However, you can still play with points 2 and 3 from my last post.

Cheers,
za-k/
Avatar of mersis

ASKER

Ok thanks adrpo, will have a look at those links and see if it makes things any better.