Re: select count() out of memory - Mailing list pgsql-general

From tfinneid@student.matnat.uio.no
Subject Re: select count() out of memory
Date
Msg-id 46227.134.32.140.234.1193327781.squirrel@webmail.uio.no
Whole thread Raw
In response to Re: select count() out of memory  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: select count() out of memory  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: select count() out of memory  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> tfinneid@student.matnat.uio.no wrote:
>> Thats good enough for me, thats exactly what I want.
>
> In that case, why use partitions at all?  They are simple independent
> tables.

For two reasons,
- the data logically belongs together.
- because its more practical to create tables as childs of a parent table
than as independent tables.
   - changes to the table is applied to all partitions, and prohibits
tables with different dd.
   - performing the create operation does not require the source code to
contain the ddl of the parent table.


regards

thomas


pgsql-general by date:

Previous
From: tfinneid@student.matnat.uio.no
Date:
Subject: Re: select count() out of memory
Next
From: tfinneid@student.matnat.uio.no
Date:
Subject: Re: select count() out of memory