Re: Declarative partitioning grammar - Mailing list pgsql-hackers

From Markus Schiltknecht
Subject Re: Declarative partitioning grammar
Date
Msg-id 478CB73F.208@bluegap.ch
Whole thread Raw
In response to Re: Declarative partitioning grammar  (Hannu Krosing <hannu@tm.ee>)
Responses Re: Declarative partitioning grammar  (Hans-Juergen Schoenig <postgres@cybertec.at>)
List pgsql-hackers
Hi,

Hannu Krosing wrote:
> I guess it would go to some "default" partition ?

Which doesn't have a name so far, which prevents from addressing that 
partition. Nor is it pretty well defined, it's just a rest.

> sure, but this can become really tedious for 1024 partitions,

Well, managing 1024 partitions manually is a tedious job, no matter what 
grammar you take: You'll have to deal with 1024 different partition names.

What do you need so many partitions for?

> not to
> mention hard for optimiser.

It's pretty much the same for the optimizer: a binary tree.  Granted, 
that binary tree should better be balanced by the RDBMS.

Regards

Markus


pgsql-hackers by date:

Previous
From: Kenneth Marshall
Date:
Subject: Re: Index trouble with 8.3b4
Next
From: Aidan Van Dyk
Date:
Subject: Re: SSL over Unix-domain sockets