pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Stone <mstone+postgres@mathom.us>
To: pgsql-performance@postgresql.org
Subject: Re: TB-sized databases
Date: Thu, 06 Dec 2007 14:50:33 -0500
Message-ID: <20071206195030.GQ5294@mathom.us> (raw)
In-Reply-To: <15753.1196957598@sss.pgh.pa.us>
References: <4544e0330711260904g45d893a8ub1731e245aa8fc84@mail.gmail.com>
	<13851.1196351131@sss.pgh.pa.us>
	<1196352866.4246.1304.camel@ebony.site>
	<200712051507.22745.xzilla@users.sourceforge.net>
	<1196933896.4255.340.camel@ebony.site>
	<20071206154212.GP5294@mathom.us>
	<15753.1196957598@sss.pgh.pa.us>

On Thu, Dec 06, 2007 at 11:13:18AM -0500, Tom Lane wrote:
>Indeed, and if you've got examples where it's that far off, you should
>report them.

Yeah, the trick is to get it to a digestable test case. The basic 
scenario (there are more tables & columns in the actual case) is a set 
of tables partitioned by date with a number of columns in one table 
referencing rows in the others:

Table A (~5bn rows / 100's of partitions)
time Bkey1 Ckey1 Bkey2 Ckey2

Table B (~1bn rows / 100's of partitions)
Bkey Bval

Table C (~.5bn rows / 100's of partitions)
Ckey Cval

Bkey and Ckey are unique, but the planner doesn't know that.

Mike Stone



view thread (61+ messages)  latest in thread

Message-ID: <20071206195030.GQ5294@mathom.us>
Permalink:  ../20071206195030.GQ5294@mathom.us/
Also on:    postgresql.org/message-id/20071206195030.GQ5294@mathom.us

 · 

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: mstone+postgres@mathom.us
  Subject: Re: TB-sized databases
  In-Reply-To: <20071206195030.GQ5294@mathom.us>

* 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