Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why is postgresql slow ?

Status
Not open for further replies.

nxrt2004

Programmer
Jan 31, 2005
1
TR
Hi there , At first my english isn't good :-(

Well, I am using postgresql7.3.4 and i hava a table in this database. There are 480.000 records and 25 column in this table. When i run a select statement, datas are coming very slow (about after 6-7 minutes). I am using index.

But select statement was working good, at first. ? did a update in a column after that my queries slowed.

Can i do for fast queries ?
 
do you run VACUUM ANALYZE from time to time?

try using

EXPLAIN and paste the results here
or even EXPLAIN ANALYZE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top