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 DF01F56704 for ; Tue, 22 Mar 2005 12:36:22 +0000 (GMT) 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 11859-04 for ; Tue, 22 Mar 2005 12:36:17 +0000 (GMT) Received: from ra.sai.msu.su (ra.sai.msu.su [158.250.29.2]) by svr1.postgresql.org (Postfix) with ESMTP id E1930566DE for ; Tue, 22 Mar 2005 12:36:09 +0000 (GMT) Received: from ra (ra [158.250.29.2]) by ra.sai.msu.su (8.12.10/8.12.10) with ESMTP id j2MCaB5Q028585; Tue, 22 Mar 2005 15:36:11 +0300 (MSK) Date: Tue, 22 Mar 2005 15:36:11 +0300 (MSK) From: Oleg Bartunov X-X-Sender: megera@ra.sai.msu.su To: Rick Jansen Cc: pgsql-performance@postgresql.org Subject: Re: Tsearch2 performance on big database In-Reply-To: <42400F57.3040604@rockingstone.nl> Message-ID: References: <42400F57.3040604@rockingstone.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.344 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200503/440 X-Sequence-Number: 11145 On Tue, 22 Mar 2005, Rick Jansen wrote: > Hi, > > I'm looking for a *fast* solution to search thru ~ 4 million records of book > descriptions. I've installed PostgreSQL 8.0.1 on a dual opteron server with > 8G of memory, running Linux 2.6. I haven't done a lot of tuning on PostgreSQL > itself, but here's the settings I have changed so far: > > shared_buffers = 2000 (anything much bigger says the kernel doesnt allow it, > still have to look into that) use something like echo "150000000" > /proc/sys/kernel/shmmax to increase shared memory. In your case you could dedicate much more memory. Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83