Re: Declarative partitioning grammar - Mailing list pgsql-hackers

From Markus Schiltknecht
Subject Re: Declarative partitioning grammar
Date
Msg-id 478CC1FE.7020005@bluegap.ch
Whole thread Raw
In response to Re: Declarative partitioning grammar  (Hans-Juergen Schoenig <postgres@cybertec.at>)
Responses Re: Declarative partitioning grammar  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Hi,

Hans-Juergen Schoenig wrote:
>> What do you need so many partitions for?
> 
> having so many tables is not funny but it can be the only reasonable choice.

Well, what do you do with all those partitions? Most of them will end up 
on the same storage subsystem. So, if you don't partition to spread your 
data across storage with different characteristics, why do you need 
partitioning at all? Isn't an index better in most cases?

Or are you using it as a form of CLUSTERing? Where you expect to reduce 
time for sequential scans over a range? Simon's Segment Exclusion 
proposal looks like a much better fit to that purpose, IMO. It would 
prevent you from having to handle all those partitions manually.

Regards

Markus


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: SSL over Unix-domain sockets
Next
From: Bruce Momjian
Date:
Subject: Re: SSL over Unix-domain sockets