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 4A3D4D1DA6F for ; Tue, 25 Nov 2003 06:07:29 +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 54653-03 for ; Tue, 25 Nov 2003 02:06:58 -0400 (AST) Received: from smtp.pspl.co.in (unknown [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id 14A63D1D695 for ; Tue, 25 Nov 2003 02:06:55 -0400 (AST) Received: (from root@localhost) by smtp.pspl.co.in (8.12.9/8.12.9) id hAP66w7v031691 for ; Tue, 25 Nov 2003 11:36:58 +0530 Received: from persistent.co.in (daithan.intranet.pspl.co.in [192.168.7.161]) (authenticated bits=0) by persistent.co.in (8.12.9/8.12.9) with ESMTP id hAP66vLp031664; Tue, 25 Nov 2003 11:36:58 +0530 Message-ID: <3FC2F17A.5050307@persistent.co.in> Date: Tue, 25 Nov 2003 11:36:50 +0530 From: Shridhar Daithankar Organization: Persistent Systems Pvt. Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: William Yu Cc: pgsql-performance@postgresql.org Subject: Re: Maximum Possible Insert Performance? References: <3FC19C2C.4050704@myrealbox.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/238 X-Sequence-Number: 4798 William Yu wrote: > This is an intriguing thought which leads me to think about a similar > solution for even a production server and that's a solid state drive for > just the WAL. What's the max disk space the WAL would ever take up? > There's quite a few 512MB/1GB/2GB solid state drives available now in > the ~$200-$500 range and if you never hit those limits... Maximum number of WAL segments at any time in 2*(number of checkpoint segments)+1 IIRC. So if you have 3 checkpoint segments, you can not have more than 7 WAL segments at any time. Give or take 1. Correct me if I am wrong.. Shridhar