Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A182D1335B36 for ; Sat, 16 Oct 2010 12:29:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 01950-04 for ; Sat, 16 Oct 2010 15:29:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id D24BB1337BA0 for ; Sat, 16 Oct 2010 12:29:49 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 0FCC234801A; Sat, 16 Oct 2010 08:29:44 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QsmdnSCVYjc4; Sat, 16 Oct 2010 08:29:41 -0700 (PDT) Received: from perhan.alvh.no-ip.org (200-85-213-6.bk4-dsl.surnet.cl [200.85.213.6]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 97FAB348019; Sat, 16 Oct 2010 08:29:41 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 8A5B26E486; Sat, 16 Oct 2010 12:29:39 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Tom Lane , Robert Haas , Bruce Momjian , Kris Jurka , pgsql-performance Subject: Re: No hash join across partitioned tables? From: Alvaro Herrera To: Samuel Gendler In-reply-to: References: <201002252346.o1PNkXG07892@momjian.us> <9477.1267142614@sss.pgh.pa.us> <603c8f071003020816j77b3ec63wbad0415df003c0f1@mail.gmail.com> <17546.1267546998@sss.pgh.pa.us> <1287205016-sup-542@alvh.no-ip.org> <29559.1287206562@sss.pgh.pa.us> Date: Sat, 16 Oct 2010 12:29:39 -0300 Message-Id: <1287242940-sup-5258@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.324 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_NJABL_PROXY=2.224 X-Spam-Level: X-Archive-Number: 201010/275 X-Sequence-Number: 40693 Excerpts from Samuel Gendler's message of sáb oct 16 02:35:46 -0300 2010: > An issue with automatically analyzing the entire hierarchy is 'abstract' > table definitions. I've got a set of tables for storing the same data at > different granularities of aggregation. Within each granularity, I've got > partitions, but because the set of columns is identical for each > granularity, I've got an abstract table definition that is inherited by > everything. I don't need or want statistics kept on that table because I > never query across the abstract table, only the parent table of each > aggregation granularity Hmm, I think you'd be better served by using LIKE instead of regular inheritance. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support