X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E14F852970 for ; Fri, 24 Jun 2005 10:40:47 -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 48266-03 for ; Fri, 24 Jun 2005 13:40:38 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 0ADD35290D for ; Fri, 24 Jun 2005 10:40:37 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j5ODedWN079710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 24 Jun 2005 07:40:41 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j5ODecfi045104; Fri, 24 Jun 2005 07:40:38 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j5ODecZe045103; Fri, 24 Jun 2005 07:40:38 -0600 (MDT) (envelope-from mfuhr) Date: Fri, 24 Jun 2005 07:40:38 -0600 From: Michael Fuhr To: =?iso-8859-1?Q?K=D6PFERL?= Robert Cc: "[ADMIN]" Subject: Re: symlinking pg_xlog Message-ID: <20050624134038.GA45058@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/193 X-Sequence-Number: 17948 On Fri, Jun 24, 2005 at 03:18:12PM +0200, KÖPFERL Robert wrote: > > due to I/O-bottle necks I think of making a symlink from pg_xlog to another > physical disk. > This is a modification inside the cluster dir. What kind of idea is that? > bad one? See the "Write-Ahead Logging (WAL)" chapter in the documentation: http://www.postgresql.org/docs/8.0/static/wal-internals.html "It is of advantage if the log is located on another disk than the main database files. This may be achieved by moving the directory pg_xlog to another location (while the server is shut down, of course) and creating a symbolic link from the original location in the main data directory to the new location." Several third-party performance-tuning documents make the same recommendation. -- Michael Fuhr http://www.fuhr.org/~mfuhr/