Re: Performance Question - Mailing list pgsql-performance

From Tom Lane
Subject Re: Performance Question
Date
Msg-id 20744.1226523458@sss.pgh.pa.us
Whole thread Raw
In response to Performance Question  (- - <themanatuf@yahoo.com>)
Responses Re: Performance Question
List pgsql-performance
- - <themanatuf@yahoo.com> writes:
> One of my tables has 660,000 records and doing a SELECT * from that table (without any joins or sorts) takes 72
seconds.Ordering the table based on 3 columns almost doubles that time to an average of 123 seconds. To me, those
numbersare crazy slow and I don't understand why the queries are taking so long. The tables are UTF-8 encode and
containa mix of languages (English, Spanish, etc). I'm running the query from pgadmin3 on a remote host. The server has
nothingelse running on it except the database. 

pgadmin has got its own performance issues with large select results.
Are you sure the bulk of the time isn't being spent on the client side?
Watching top or vmstat on both machines would probably tell much.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: slow full table update
Next
From: Franck Routier
Date:
Subject: Disk usage question