From: bijayant kumar <bijayant4u@yahoo.com>
To: pgsql-performance@postgresql.org
Subject: Postgresql is very slow
Date: Mon, 23 Jun 2008 04:06:54 -0700 (PDT)
Message-ID: <306870.66258.qm@web32707.mail.mud.yahoo.com> (raw)
Hello to list,
We have a CentOS-5 server with postgresql-8.1.8 installed. I am struggling with postgresql performance. Any query say select * from tablename takes 10-15 mins to give the output, and while executing the query system loads goes up like anything. After the query output, system loads starts decresing.
Any query select,insert,update simple or complex behaves in the same way, what i have explained above.
System Specification:
OS :- CentOs 5
Postgresql 8.1.8
RAM :- 1 GB
SWAP 2 GB
Some relevent part(uncommented) of my /var/lib/pgsql/data/postgresql.conf
listen_addresses = 'localhost'
max_connections = 100
shared_buffers = 1000
The one more strange thing is that with the same setting on another server, postgresql is running very smooth. I had run vacum also some times back.
Please help me out and let me know if you need any other information.
Thanks & Regards,
Bijayant Kumar
Send instant messages to your online friends http://uk.messenger.yahoo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: bijayant4u@yahoo.com
Subject: Re: Postgresql is very slow
In-Reply-To: <306870.66258.qm@web32707.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox