Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 8884C634B89 for ; Thu, 26 Feb 2009 12:43:11 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 64630-06 for ; Thu, 26 Feb 2009 12:43:08 -0400 (AST) X-Greylist: delayed 00:06:28.57625 by SQLgrey-1.7.6 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mail.postgresql.org (Postfix) with ESMTP id F213D634A77 for ; Thu, 26 Feb 2009 12:43:07 -0400 (AST) Received: by qw-out-2122.google.com with SMTP id 5so585078qwd.61 for ; Thu, 26 Feb 2009 08:43:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.73.136 with SMTP id q8mr1229342qcj.28.1235666586583; Thu, 26 Feb 2009 08:43:06 -0800 (PST) In-Reply-To: <5FFF8E9361C5D84EBBAF70C1931CDDE3035D8123@BTCMVEXC1-PRD.hq.netapp.com> References: <5FFF8E9361C5D84EBBAF70C1931CDDE3035D8123@BTCMVEXC1-PRD.hq.netapp.com> Date: Thu, 26 Feb 2009 11:43:06 -0500 Message-ID: <16b031c0902260843o21187a53k4ce476748153adf1@mail.gmail.com> Subject: Re: postgresql with storage From: Lee Azzarello To: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/241 X-Sequence-Number: 31462 On Thu, Feb 26, 2009 at 7:02 AM, Nagalingam, Karthikeyan wrote: > Hi, > > I have some basic query in postgresql with storage, Please help me for the > following > > 1. What is the best practice to use postgresql with storage. Depends on your workload. My workload has a high number of DELETE statements with a relatively small total set size of recurring SELECT statements, therefore the buffer cache gets filled quickly and reads rarely touch disk, though the disks stays busy from the DELETES. In general, throw as much as you can at the disks unless the budget prevents your from doing so. Also, watch out for cheap three disk RAID-5 arrays. There's a crop of low end servers that have these. Serious trouble. > 2. Which are the files and folders we can keep it in storage. The postgresql installation manual documents the location of a cluster on disk. -lee