Re: Inheritance - Mailing list pgsql-hackers

From Joe Conway
Subject Re: Inheritance
Date
Msg-id 574381BA.1080202@joeconway.com
Whole thread Raw
In response to Re: Inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 05/23/2016 03:05 PM, Tom Lane wrote:
> Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
>> I don't see why partitioning complicates fixing these issues. ISTM it's
>> the exact same complaint for both inheritance and partitioning.
>
> My feeling about it is that we need to provide a partitioning feature
> that doesn't rely on the current notion of inheritance at all.  We've
> heard from multiple users who want to use large numbers of partitions,
> enough that simply having a separate relcache entry for each partition
> would be a performance problem, never mind the current approach to
> planning queries over inheritance trees.  So the partitions need to be
> objects much simpler than full-fledged tables.

I wonder if it wouldn't make sense to define a partition as a list of
segments within a single table that represent the partition?

But then again, maybe we need to start with a clear notion of what
problems people are trying to solve when they use partitions. At least
some of the historic reasons are no longer valid.

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Inheritance
Next
From: Tom Lane
Date:
Subject: Re: Inheritance