X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4DE51D1D545; Fri, 23 Jan 2004 15:01:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 28914-07; Fri, 23 Jan 2004 11:01:32 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 379FBD1E841; Fri, 23 Jan 2004 11:01:27 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i0NF19B08501; Fri, 23 Jan 2004 10:01:09 -0500 (EST) From: Bruce Momjian Message-Id: <200401231501.i0NF19B08501@candle.pha.pa.us> Subject: Re: [PERFORM] Postgres on Netapp In-Reply-To: <200401171155.13281.darcy@druid.net> To: "D'Arcy J.M. Cain" Date: Fri, 23 Jan 2004 10:01:09 -0500 (EST) Cc: Larry Rosenman , Shankar K , pgsql-performance@postgresql.org, pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/179 X-Sequence-Number: 12042 D'Arcy J.M. Cain wrote: > With the price of GigE adapters I wouldn't consider anything else. > > I have a huge database that takes about an hour to copy. The netApp snapshot > feature is very nice because I can get a "moment in time" image of the > database. Even though I can't run from the snapshot because it is read only > (*) and PG needs to write to files just to open the database, I can copy it > and get a runnable version of the DB. If I copy directly from the original I > can get many changes while copying and wind up with a copy that will not run. > > (*): It would be nice if PG had a flag that allowed a database to be opened in > read only mode without touching anything in the directory. PostgreSQL has to read the WAL to adjust the contents of the flat file on startup in such a setup, so I don't see how we could do it read-only. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073