Database Select Slow - Mailing list pgsql-general

From carter ck
Subject Database Select Slow
Date
Msg-id BAY101-F2221657DC5A4336216E83FD5E10@phx.gbl
Whole thread Raw
Responses Re: Database Select Slow  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: Database Select Slow  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
Hi all,

I am facing a performance issue here. Whenever I do a count(*) on a table
that contains about 300K records, it takes few minutes to complete. Whereas
my other application which is counting > 500K records just take less than 10
seconds to complete.

I have indexed all the essential columns and still it does not improve the
speed.

All helps and advice are appreciated.

Thanks.

_________________________________________________________________
Check it out! Windows Live Spaces is here! http://spaces.live.com/?mkt=en-sg
It�s easy to create your own personal Web site.


pgsql-general by date:

Previous
From: Jonas Gauffin
Date:
Subject: Re: Allowing LAN connections
Next
From: Karsten Hilbert
Date:
Subject: Re: timestamp skew during 7.4 -> 8.2 upgrade