Re: tuning tips, speed problem

Поиск
Список
Период
Сортировка
От Kenneth Marshall
Тема Re: tuning tips, speed problem
Дата
Msg-id 20090116152543.GU14570@it.is.rice.edu
обсуждение исходный текст
Ответ на tuning tips, speed problem  (Francesco Andreozzi <francesco.andreozzi@gamestorm.it>)
Список pgsql-admin
On Fri, Jan 16, 2009 at 04:18:02PM +0100, Francesco Andreozzi wrote:
> Hi all, i send this mesage because i just made a migration from my old
> mysql db on a more robust postgres server.
> I'm using version 8.1 on a linux debian 4.0
> i have a dual core XEON 2.33GHz and 2Gb of ram ... 2 disk 15k mirrored
> database works good but the performance are horrible! i hope is my fault of
> settings.... and this message is just a help request to see whats i missing
> to set!
> i did only few changes on a default postgresql.conf
> i simply playd with shared buffer... but on a mysql to execute a simple
> select with an order by the time was jus 1 or 2 seconds ... on this
> installation the time it's about 10 seconds or more .... and if more than
> one query is executed at the same time the time increase!
>
> i just add here a show all output to see if somethiong uis wrong ... i hope
> someone can help me ! i really would like to use postgres on this
> database!!
>
> Thankyou
> Francesco
>
Francesco,

Try increasing your work_memory value and shared_buffers. 8MB is not very
large on a 2GB system. Also, 8.3.5 is much improved over 8.1.

Cheers,
Ken

> shared_buffers          1000
...
> work_mem                1024

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

Предыдущее
От: Francesco Andreozzi
Дата:
Сообщение: tuning tips, speed problem
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: tuning tips, speed problem