Re: Table partition for very large table - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Table partition for very large table
Date
Msg-id 1112032580.26232.22.camel@jd2.commandprompt.com
Whole thread Raw
In response to Table partition for very large table  (Yudie Gunawan <yudiepg@gmail.com>)
List pgsql-general
On Mon, 2005-03-28 at 11:32 -0600, Yudie Gunawan wrote:
> I have table with more than 4 millions records and when I do select
> query it gives me "out of memory" error.
> Does postgres has feature like table partition to handle table with
> very large records.
> Just wondering what do you guys do to deal with very large table?

You can use a cursor to help with this problem and fetch through the
records.

http://www.postgresql.org/docs/8.0/interactive/sql-declare.html

Sincerely,

Joshua D. Drake


>
>
> Thanks!
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
--
Command Prompt, Inc., Your PostgreSQL solutions company. 503-667-4564
Custom programming, 24x7 support, managed services, and hosting
Open Source Authors: plPHP, pgManage, Co-Authors: plPerlNG
Reliable replication, Mammoth Replicator - http://www.commandprompt.com/


pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Table partition for very large table
Next
From: "Janning Vygen"
Date:
Subject: Re: pg_xlog disk full error, i need help