Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 159A39FB3C9 for ; Sat, 13 Jan 2007 05:21:33 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 27127-08 for ; Sat, 13 Jan 2007 05:21:12 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mx1.wp.pl (mx1.wp.pl [212.77.101.5]) by postgresql.org (Postfix) with ESMTP id 32CE99FB352 for ; Sat, 13 Jan 2007 05:21:25 -0400 (AST) Received: (wp-smtpd smtp.wp.pl 9105 invoked from network); 13 Jan 2007 10:21:24 +0100 Received: from aayi172.neoplus.adsl.tpnet.pl (HELO [127.0.0.1]) (ipluta@[83.6.120.172]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 13 Jan 2007 10:21:24 +0100 Message-ID: <45A8A491.7050002@wp.pl> Date: Sat, 13 Jan 2007 10:21:21 +0100 From: Ireneusz Pluta User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Physical separation of tables and indexes - where pg_xlog should go? Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO AS1=NO(Body=1 Fuz1=1 Fuz2=1) AS2=YES(0.998798) AS3=NO AS4=NO AS5=NO X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/212 X-Sequence-Number: 22813 Hello I am going to separate physical locations of tables and their indexes, by moving indexes to a different volume, through use of tablespaces. As the data are going to be split, I am considering where pg_xlog should go. It is a general well known advise to keep pg_xlog on a different physical location than data, so it would be nice to have a third dedicated place. Unfortunately, this is not an option at the moment. So here my question comes, what could be better: 1. keeping pg_xlog together with tables, or 2. keeping pg_xlog together with indexes? My database is mainly readonly, with exceptinos for overnight periods, when bulk data is inserted and updated. Thank you Ireneusz Pluta