pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike C <smith.not.western@gmail.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Table Partitions / Partial Indexes
Date: Wed, 14 Dec 2005 12:54:08 +1300
Message-ID: <bd0eabd0512131554v451a99f2u4ac64e403e9b6b49@mail.gmail.com> (raw)
In-Reply-To: <1134515825.27873.122.camel@localhost.localdomain>
References: <bd0eabd0512111807q6b54115q2477c7c2a37f1c1a@mail.gmail.com>
	<1134515825.27873.122.camel@localhost.localdomain>

On 12/14/05, Simon Riggs <simon@2ndquadrant.com> wrote:
>
> Maybe not for queries, but if you use a date range then you never need
> to run a DELETE and never need to VACUUM.
>
> You could split the data into two-day chunks.


That's an interesting idea, thanks.

> Am I using a horrid method for partitioning the data? (% 10)
>
> No, but what benefit do you think it provides. I'm not sure I see...


I was trying to get both the indexes to be smaller without loosing
selectivity, and make any table scans/index scans faster from having to read
less data.

> Should there be that big of an improvement for multiple tables given
> > that all the data is still stored on the same filesystem?
>
> You could store partitions in separate tablespaces/filesystems.
>

Ideally that's what I would do, but to make the most of that I would have to
have a dedicated RAID setup for each partition right? (Which is a bit pricey
for the budget).

Cheers,

Mike

view thread (5+ messages)

Message-ID: <bd0eabd0512131554v451a99f2u4ac64e403e9b6b49@mail.gmail.com>
Permalink:  ../bd0eabd0512131554v451a99f2u4ac64e403e9b6b49@mail.gmail.com/
Also on:    postgresql.org/message-id/bd0eabd0512131554v451a99f2u4ac64e403e9b6b49@mail.gmail.com

 · 

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: smith.not.western@gmail.com, simon@2ndquadrant.com
  Subject: Re: Table Partitions / Partial Indexes
  In-Reply-To: <bd0eabd0512131554v451a99f2u4ac64e403e9b6b49@mail.gmail.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