X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 05E62D1B1C8 for ; Sat, 24 Jul 2004 21:16:36 -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 81486-10 for ; Sun, 25 Jul 2004 00:16:23 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 7C491D1B18C for ; Sat, 24 Jul 2004 21:16:18 -0300 (ADT) 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 i6P0GHqb001300 for ; Sun, 25 Jul 2004 00:16:17 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i6P0489C099855 for pgsql-admin@postgresql.org; Sun, 25 Jul 2004 00:04:08 GMT From: Gaetano Mendola X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Utilizing multiple disks Date: Sun, 25 Jul 2004 02:03:59 +0200 Organization: PYRENET Midi-pyrenees Provider Lines: 35 Message-ID: <4102F8EF.7080504@bigfoot.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@pyrenet.fr To: Steve User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en In-Reply-To: X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/280 X-Sequence-Number: 14348 Steve wrote: > Hi, > > I've been running postgres on my server for over a year now and the > tables have become huge. I have 3 tables that have data over 10GB each > and these tables are read very very frequently. In fact, heavy searches > on these tables are expected every 2 to 3 minutes. This unfortunately > gives a very poor response time to the end user and so I'm looking at > other alternatives now. This depend on the query that you are running on it: Are you performing queries using the like operator? If yes did you define an index on it using the right operator class ? Are you performing queries on a calculated field ? If yes then you need to construct a sort of materialized view. If you are on Linux did you mounted your data partition with the option noatime ? Please provide use more information on your queries and on your datas, your configurations... Usualy split your tables on multiple disk is the last optimization step, are you sure did you already reach the bootleneck of your sistem ? Regards Gaetano Mendola