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 4D99852A22 for ; Wed, 13 Jul 2005 06:58:10 -0300 (ADT) 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 79477-03 for ; Wed, 13 Jul 2005 09:58:01 +0000 (GMT) Received: from smtp2.univ-nantes.fr (Smtp2.univ-nantes.fr [193.52.82.19]) by svr1.postgresql.org (Postfix) with ESMTP id 32ADE529A9 for ; Wed, 13 Jul 2005 06:57:59 -0300 (ADT) Received: from localhost (debian [127.0.0.1]) by smtp2.univ-nantes.fr (Postfix) with ESMTP id B9B23381021 for ; Wed, 13 Jul 2005 11:58:00 +0200 (CEST) Received: from smtp2.univ-nantes.fr ([172.20.12.56]) by localhost (smtp2.univ-nantes.prive [172.20.12.56]) (amavisd-new, port 10024) with LMTP id 00670-01-47 for ; Wed, 13 Jul 2005 11:58:00 +0200 (CEST) Received: from [172.19.33.37] (unknown [172.19.33.37]) by smtp2.univ-nantes.fr (Postfix) with ESMTP id A69C4380E78 for ; Wed, 13 Jul 2005 11:58:00 +0200 (CEST) Message-ID: <42D4E836.9020607@univ-nantes.fr> Date: Wed, 13 Jul 2005 12:08:54 +0200 From: Nicolas Beaume User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: fr, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: large table vs multiple smal tables Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at smtp.univ-nantes.fr X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/137 X-Sequence-Number: 13378 Hello I have a large database with 4 large tables (each containing at least 200 000 rows, perhaps even 1 or 2 million) and i ask myself if it's better to split them into small tables (e.g tables of 2000 rows) to speed the access and the update of those tables (considering that i will have few update but a lot of reading). Do you think it would be efficient ? Nicolas, wondering if he hadn't be too greedy -- ------------------------------------------------------------------------- « soyez ce que vous voudriez avoir l'air d'ętre » Lewis Caroll