X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D351D8B9B16 for ; Thu, 3 Feb 2005 01:10:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58773-06 for ; Thu, 3 Feb 2005 01:10:14 +0000 (GMT) Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.250.190.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1C2818B9E02 for ; Thu, 3 Feb 2005 01:10:16 +0000 (GMT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id A42CF31DD1; Thu, 3 Feb 2005 02:10:15 +0100 (MET) From: Gaetano Mendola X-Newsgroups: pgsql.performance Subject: Re: horizontal partition Date: Thu, 03 Feb 2005 02:10:15 +0100 Organization: PYRENET Midi-pyrenees Provider Lines: 35 Message-ID: References: <200502021209.06878.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@pyrenet.fr User-Agent: Mozilla Thunderbird 0.6+ (Windows/20050201) X-Accept-Language: en-us, en In-Reply-To: <200502021209.06878.josh@agliodbs.com> To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/43 X-Sequence-Number: 10372 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