Database Select Slow

From: "carter ck" <carterck32(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Database Select Slow
Date: 2007-08-10 09:46:11
Message-ID: BAY101-F2221657DC5A4336216E83FD5E10@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
Its easy to create your own personal Web site.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2007-08-10 10:14:26 Re: timestamp skew during 7.4 -> 8.2 upgrade
Previous Message Jonas Gauffin 2007-08-10 08:45:10 Re: Allowing LAN connections