X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 45663D1B9AF for ; Tue, 9 Mar 2004 21:04:09 +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 57841-05 for ; Tue, 9 Mar 2004 17:04:07 -0400 (AST) Received: from pop17.ucdavis.edu (pop17.ucdavis.edu [169.237.105.27]) by svr1.postgresql.org (Postfix) with ESMTP id D848AD1B54E for ; Tue, 9 Mar 2004 17:04:03 -0400 (AST) Received: from ucdavis.edu ([128.120.136.251]) by pop17.ucdavis.edu (8.12.9/8.12.9/it-std-5.2.0) with ESMTP id i29L43Yg004952; Tue, 9 Mar 2004 13:04:04 -0800 (PST) Message-ID: <404E3145.2060209@ucdavis.edu> Date: Tue, 09 Mar 2004 13:04:05 -0800 From: Mira Kaloper User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org, mkaloper@ucdavis.edu Subject: postgres on apple OS X server Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/159 X-Sequence-Number: 12728 Hi, I have a postgres database that is VERY slow - in one table we have 50 mil records in it. I have tried to play with postgres.conf file and shared memory but was not able to speed it up to something that we can work with. We have apple RAID and I am planning to take database to the raid. I was wondering if someone has any hints about improving the speed on postgres. Currently we have: shmall = 134217728 shmmax = 134217728 and in postgresql.conf I was setting up values to: shared_buffers = 15200 sort_mem = 32168 Can someone please help me to tune up this database? Thanks a lot for your help, Mira P.S. Please reply also to mkaloper@ucdavis.edu