Re: Performance with very large tables

From: Richard Huxton <dev(at)archonet(dot)com>
To: Shoaib Mir <shoaibmir(at)gmail(dot)com>
Cc: Jan van der Weijde <Jan(dot)van(dot)der(dot)Weijde(at)attachmate(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Performance with very large tables
Date: 2007-01-15 11:26:30
Message-ID: 45AB64E6.5090801@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shoaib Mir wrote:
> You can also opt for partitioning the tables and this way select will only
> get the data from the required partition.

Not in the case of SELECT * FROM <table> though. Unless you access the
specific partitioned table.

> On 1/15/07, Richard Huxton <dev(at)archonet(dot)com> wrote:
>>
>> Jan van der Weijde wrote:
>> > Hello all,
>> >
>> > one of our customers is using PostgreSQL with tables containing
>> millions
>> > of records. A simple 'SELECT * FROM <table>' takes way too much
>> time in
>> > that case, so we have advised him to use the LIMIT and OFFSET clauses.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-01-15 11:29:34 Re: Performance with very large tables
Previous Message Jan van der Weijde 2007-01-15 11:26:24 Re: Performance with very large tables