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 32B2252A37 for ; Fri, 8 Jul 2005 00:05:38 -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 65031-07 for ; Fri, 8 Jul 2005 03:05:30 +0000 (GMT) Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by svr1.postgresql.org (Postfix) with ESMTP id 5BC7E52A01 for ; Fri, 8 Jul 2005 00:05:29 -0300 (ADT) Received: from [192.168.1.100] (clbb-248.saw.net [64.146.135.248]) (authenticated bits=0) by hosting.commandprompt.com (8.12.8/8.12.8) with ESMTP id j6835SoQ020507; Thu, 7 Jul 2005 20:05:29 -0700 Message-ID: <42CDED86.3000108@commandprompt.com> Date: Thu, 07 Jul 2005 20:05:42 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stuart Bishop Cc: pgsql-performance@postgresql.org Subject: Re: Mount database on RAM disk? References: <42CDD7B8.6050109@stuartbishop.net> In-Reply-To: <42CDD7B8.6050109@stuartbishop.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.025 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/81 X-Sequence-Number: 13322 Stuart Bishop wrote: > I'm putting together a road map on how our systems can scale as our load > increases. As part of this, I need to look into setting up some fast read > only mirrors of our database. We should have more than enough RAM to fit > everything into memory. I would like to find out if I could expect better > performance by mounting the database from a RAM disk, or if I would be > better off keeping that RAM free and increasing the effective_cache_size > appropriately. In theory yes if you can fit the entire database onto a ram disk then you would see a performance benefit. Sincerely, Joshua D. Drake > > I'd also be interested in knowing if this is dependant on whether I am > running 7.4, 8.0 or 8.1. > > -- Your PostgreSQL solutions provider, Command Prompt, Inc. 24x7 support - 1.800.492.2240, programming, and consulting Home of PostgreSQL Replicator, plPHP, plPerlNG and pgPHPToolkit http://www.commandprompt.com / http://www.postgresql.org