pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: horizontal partition
Date: Thu, 03 Feb 2005 02:10:15 +0100
Message-ID: <ctrtln$d0m$1@floppy.pyrenet.fr> (raw)
In-Reply-To: <200502021209.06878.josh@agliodbs.com>
References: <ctp64h$l4d$1@floppy.pyrenet.fr>
	<200502021209.06878.josh@agliodbs.com>

Josh Berkus wrote:
> Gaetano,
> 
> 
>>I have a big table with ~ 10 Milion rows, and is a very
>>pain administer it, so after years I convinced my self
>>to partition it and replace the table usage ( only for reading )
>>with a view.
>>
>>Now my user_logs table is splitted in 4:
>>
>>user_logs
>>user_logs_2002
>>user_logs_2003
>>user_logs_2004
> 
> 
> Any reason you didn't use inheritance?

I did in that way just to not use postgresql specific feature.
I can give it a try and I let you know, however the question remain,
why the index usage is lost if used in that way ?

Regards
Gaetano Mendola













view thread (9+ messages)  latest in thread

Message-ID: <ctrtln$d0m$1@floppy.pyrenet.fr>
Permalink:  ../ctrtln$d0m$1@floppy.pyrenet.fr/
Also on:    postgresql.org/message-id/ctrtln$d0m$1@floppy.pyrenet.fr

 · 

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: mendola@bigfoot.com
  Subject: Re: horizontal partition
  In-Reply-To: <ctrtln$d0m$1@floppy.pyrenet.fr>

* 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