Re: Performance Question

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "- -" <themanatuf(at)yahoo(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance Question
Date: 2008-11-13 08:55:04
Message-ID: 937d27e10811130055n5dc00b63uaf1fce9096117a9e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, Nov 12, 2008 at 8:57 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> - - <themanatuf(at)yahoo(dot)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 numbers are crazy slow and I don't understand why the queries are taking so long. The tables are UTF-8 encode and contain a mix of languages (English, Spanish, etc). I'm running the query from pgadmin3 on a remote host. The server has nothing else running on it except the database.
>
> pgadmin has got its own performance issues with large select results.

They were fixed a couple of years ago. We're essentially at the mercy
of libpq now.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Bruno Baguette 2008-11-13 11:02:58 Slow SQL query (14-15 seconds)
Previous Message Scott Marlowe 2008-11-13 02:26:02 Re: Performance Question