pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Heikki Linnakangas <heikki@enterprisedb.com>
To: david@lang.hm
Cc: Steinar H. Gunderson <sgunderson@bigfoot.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Thousands of tables versus on table?
Date: Wed, 06 Jun 2007 08:29:35 +0100
Message-ID: <4666625F.9010308@enterprisedb.com> (raw )
In-Reply-To: <Pine.LNX.4.64.0706051557070.24361@asgard.lang.hm >
References: <C289C6B1.A63%tandrews@soliantconsulting.com >
<1180980943.31471.322.camel@archimedes >
<46645DD9.7030805@soliantconsulting.com >
<877iqjmro5.fsf@oxford.xeocode.com >
<46647427.4030103@g2switchworks.com >
<Pine.LNX.4.64.0706041631490.11737@asgard.lang.hm >
<466593E5.1010904@g2switchworks.com >
<87sl96z0wf.fsf@oxford.xeocode.com >
<Pine.LNX.4.64.0706051325500.24361@asgard.lang.hm >
<10525.1181080765@sss.pgh.pa.us >
<20070605220609.GA9835@uio.no >
<Pine.LNX.4.64.0706051557070.24361@asgard.lang.hm >
david@lang.hm wrote:
> On Wed, 6 Jun 2007, Steinar H. Gunderson wrote:
>
>> On Tue, Jun 05, 2007 at 05:59:25PM -0400, Tom Lane wrote:
>>> I think the main argument for partitioning is when you are interested in
>>> being able to drop whole partitions cheaply.
>>
>> Wasn't there also talk about adding the ability to mark individual
>> partitions
>> as read-only, thus bypassing MVCC and allowing queries to be satisfied
>> using
>> indexes only?
>>
>> Not that I think I've seen it on the TODO... :-)
>
> now that's a very interesting idea, especially when combined with
> time-based data where the old times will never change.
That's been discussed, but it's controversial. IMHO a better way to
achieve that is to design the dead-space-map so that it can be used to
check which parts of a table are visible to everyone, and skip
visibility checks. That doesn't require any user action, and allows updates.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
view thread (36+ messages) latest in thread
Message-ID: <4666625F.9010308@enterprisedb.com>
Permalink: ../4666625F.9010308@enterprisedb.com/
Also on: postgresql.org/message-id/4666625F.9010308@enterprisedb.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: heikki@enterprisedb.com, david@lang.hm, sgunderson@bigfoot.com
Subject: Re: Thousands of tables versus on table?
In-Reply-To: <4666625F.9010308@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox