From: | Laurent Manchon <lmanchon(at)univ-montp2(dot)fr> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | |
Date: | 2007-01-22 09:28:01 |
Message-ID: | 5.0.2.1.2.20070122102742.00d1ae40@pop.univ-montp2.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I have a slow response of my PostgreSQL database 7.4 using this query below
on a table with 800000 rows:
select count(*)from tbl;
PostgreSQL return result in 28 sec every time.
although MS-SQL return result in 0.02 sec every time.
My server is a DELL PowerEdge 2600 with bi-processor Xeon at 3.2 Ghz
with 3GBytes RAM
My PostgreSQL Conf is
*********************
log_connections = yes
syslog = 2
effective_cache_size = 50000
sort_mem = 10000
max_connections = 200
shared_buffers = 3000
vacuum_mem = 32000
wal_buffers = 8
max_fsm_pages = 2000
max_fsm_relations = 100
Can you tell me is there a way to increase performance ?
Thank you
+-----------------------------------------------------+
| Laurent Manchon |
| Email: lmanchon(at)univ-montp2(dot)fr |
+-----------------------------------------------------+
From | Date | Subject | |
---|---|---|---|
Next Message | org | 2007-01-22 09:32:25 | STOP all user access except for admin for a few minutes? |
Previous Message | Csaba Nagy | 2007-01-22 09:24:10 | Re: Index bloat of 4x |