Re: horizontal partition - Mailing list pgsql-performance

From Gaetano Mendola
Subject Re: horizontal partition
Date
Msg-id ctrtln$d0m$1@floppy.pyrenet.fr
Whole thread Raw
In response to Re: horizontal partition  (Josh Berkus <josh@agliodbs.com>)
Responses Re: horizontal partition  (Josh Berkus <josh@agliodbs.com>)
Re: horizontal partition  (Klint Gore <kg@kgb.une.edu.au>)
List pgsql-performance
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











pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bad query optimizer misestimation because of TOAST
Next
From: Josh Berkus
Date:
Subject: Re: horizontal partition