X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0754ED1B439 for ; Wed, 26 Nov 2003 18:22:03 +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 86685-05 for ; Wed, 26 Nov 2003 14:21:37 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 5F0A8D1B432 for ; Wed, 26 Nov 2003 14:21:31 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hAQILaNw003602 for ; Wed, 26 Nov 2003 18:21:36 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hAQI3iuq000563 for pgsql-performance@postgresql.org; Wed, 26 Nov 2003 18:03:45 GMT From: William Yu X-Newsgroups: comp.databases.postgresql.performance Subject: Re: Maximum Possible Insert Performance? Date: Wed, 26 Nov 2003 10:03:47 -0800 Organization: Hub.Org Networking Services Lines: 14 Message-ID: References: <3FC19C2C.4050704@myrealbox.com> <200311240925.58070.josh@agliodbs.com> <16109.1069869356@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: <16109.1069869356@sss.pgh.pa.us> To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/271 X-Sequence-Number: 4831 Tom Lane wrote: > William Yu writes: > >>I then tried to put the WAL directory onto a ramdisk. I turned off >>swapping, created a tmpfs mount point and copied the pg_xlog directory >>over. Everything looked fine as far as I could tell but Postgres just >>panic'd with a "file permissions" error. Anybody have thoughts to why >>tmpfs would not work? > > > I'd say you got the file or directory ownership or permissions wrong. I did a mv instead of a cp which duplicates ownership & permissions exactly.