pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oleg Bartunov <oleg@sai.msu.su>
To: Rick Jansen <rick@rockingstone.nl>
Cc: pgsql-performance@postgresql.org
Subject: Re: Tsearch2 performance on big database
Date: Tue, 22 Mar 2005 15:36:11 +0300 (MSK)
Message-ID: <Pine.GSO.4.62.0503221533400.5508@ra.sai.msu.su> (raw)
In-Reply-To: <42400F57.3040604@rockingstone.nl>
References: <42400F57.3040604@rockingstone.nl>

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



view thread (14+ messages)  latest in thread

Message-ID: <Pine.GSO.4.62.0503221533400.5508@ra.sai.msu.su>
Permalink:  ../Pine.GSO.4.62.0503221533400.5508@ra.sai.msu.su/
Also on:    postgresql.org/message-id/Pine.GSO.4.62.0503221533400.5508@ra.sai.msu.su

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: oleg@sai.msu.su, rick@rockingstone.nl
  Subject: Re: Tsearch2 performance on big database
  In-Reply-To: <Pine.GSO.4.62.0503221533400.5508@ra.sai.msu.su>
  References: <42400F57.3040604@rockingstone.nl> <Pine.GSO.4.62.0503221533400.5508@ra.sai.msu.su>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox