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 6A628565E7 for ; Sat, 12 Mar 2005 02:47:13 +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 52585-02 for ; Sat, 12 Mar 2005 02:47:10 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id 211485659E for ; Sat, 12 Mar 2005 02:47:09 +0000 (GMT) Received: (qmail 12092 invoked from network); 12 Mar 2005 03:47:14 +0100 Received: from unknown (HELO localhost) (boutiquenumerique-lists@192.168.0.4) by boutiquenumerique.com with SMTP; 12 Mar 2005 03:47:14 +0100 To: jellej@pacbell.net, pgsql-performance@postgresql.org Subject: Re: Questions about 2 databases. References: <6.2.0.14.0.20050311155221.041aa528@pop.interactivemediafactory.net> Message-ID: Date: Sat, 12 Mar 2005 03:15:21 +0100 From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Opera M2/7.54 (Linux, build 955) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/207 X-Sequence-Number: 10912 > My web app does lots of inserts that aren't read until a session is > complete. The plan is to put the heavy insert session onto a ramdisk > based pg-db and transfer the relevant data to the master pg-db upon > session completion. Currently running 7.4.6. From what you say I'd think you want to avoid making one write transaction to the main database on each page view, right ? You could simply store the data in a file, and at the end of the session, read the file and do all the writes in one transaction.