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 64D7A56483 for ; Sun, 20 Mar 2005 20:23:37 +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 80818-05 for ; Sun, 20 Mar 2005 20:23:28 +0000 (GMT) Received: from ra.sai.msu.su (ra.sai.msu.su [158.250.29.2]) by svr1.postgresql.org (Postfix) with ESMTP id 08FB4540C9 for ; Sun, 20 Mar 2005 20:23:21 +0000 (GMT) Received: from ra (ra [158.250.29.2]) by ra.sai.msu.su (8.12.10/8.12.10) with ESMTP id j2KKMv5Q024775; Sun, 20 Mar 2005 23:22:57 +0300 (MSK) Date: Sun, 20 Mar 2005 23:22:57 +0300 (MSK) From: Oleg Bartunov X-X-Sender: megera@ra.sai.msu.su To: Josh Berkus Cc: Alvaro Herrera , Tom Lane , PFC , pgsql-performance@postgresql.org Subject: Re: What needs to be done for real Partitioning? In-Reply-To: <200503201203.41249.josh@agliodbs.com> Message-ID: References: <200503191202.38089.josh@agliodbs.com> <3404.1111277153@sss.pgh.pa.us> <20050320042917.GA25831@dcc.uchile.cl> <200503201203.41249.josh@agliodbs.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.346 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200503/391 X-Sequence-Number: 11096 On Sun, 20 Mar 2005, Josh Berkus wrote: > >> whole system make a lot more sense: individual partitions are really >> tables. The partitioned tables themselves are just meta-objects like views. If partition is a table, so I could define different indices for them ? In our prototype of scaled full text search we create another index which is optimized for "archived" (not changed) data - it's sort of standard inverted index which is proven to be scaled, while tsearch2's index is good for "online" data. All interfaces ( dictionaries, parsers, ranking) are the same, so it's possible to combine search results. This is rather easy to implement using table inheritance, but I'd like to do this with partitioning Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83