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 A5C5E5294F for ; Wed, 13 Jul 2005 09:50:46 -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 18660-10 for ; Wed, 13 Jul 2005 12:50:44 +0000 (GMT) Received: from is.rice.edu (is.rice.edu [128.42.42.24]) by svr1.postgresql.org (Postfix) with ESMTP id 3D4D552856 for ; Wed, 13 Jul 2005 09:50:43 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by is.rice.edu (Postfix) with ESMTP id 205B741EDB; Wed, 13 Jul 2005 07:50:47 -0500 (CDT) Received: from is.rice.edu ([127.0.0.1]) by localhost (it.is.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27809-01-81; Wed, 13 Jul 2005 07:50:39 -0500 (CDT) Received: by is.rice.edu (Postfix, from userid 18612) id BBB4B41EEB; Wed, 13 Jul 2005 07:33:05 -0500 (CDT) Date: Wed, 13 Jul 2005 07:33:05 -0500 From: Kenneth Marshall To: Nicolas Beaume Cc: pgsql-performance@postgresql.org Subject: Re: large table vs multiple smal tables Message-ID: <20050713123305.GB17225@it.is.rice.edu> References: <42D4E836.9020607@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D4E836.9020607@univ-nantes.fr> User-Agent: Mutt/1.4.2i X-Virus-Scanned: by amavis-2.2.1 at is.rice.edu 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/206 X-Sequence-Number: 13447 Nicolas, These sizes would not be considered large. I would leave them as single tables. Ken On Wed, Jul 13, 2005 at 12:08:54PM +0200, Nicolas Beaume wrote: > 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 > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster