Re: Tsearch2 performance on big database

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: Tsearch2 performance on big database
Дата
Msg-id Pine.GSO.4.62.0503221533400.5508@ra.sai.msu.su
обсуждение исходный текст
Ответ на Tsearch2 performance on big database  (Rick Jansen <rick@rockingstone.nl>)
Ответы Re: Tsearch2 performance on big database  (Mike Rylander <mrylander@gmail.com>)
Список pgsql-performance
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

В списке pgsql-performance по дате отправления:

Предыдущее
От: Rick Jansen
Дата:
Сообщение: Tsearch2 performance on big database
Следующее
От: Mike Rylander
Дата:
Сообщение: Re: Tsearch2 performance on big database