Re: PostgreSQL is slow...HELP

Поиск
Список
Период
Сортировка
От Nick Fankhauser
Тема Re: PostgreSQL is slow...HELP
Дата
Msg-id NEBBLAAHGLEEPCGOBHDGOEOLICAA.nickf@ontko.com
обсуждение исходный текст
Ответ на PostgreSQL is slow...HELP  (Azlin Ghazali <azlin_ghazali@yahoo.com>)
Список pgsql-performance
> For small records
> it is not much problems.  But as the records grew (up to 12,000
> records) the
> difference is quite significant.

Although there are many tuning options, I'd suggest starting by making sure
you have an index (unique in cases where appropriate) on accposd.date
accposd.item, items.name, accposd.loose and items.name. Then do an
"analyze;" on the DB to make sure the database takes advantage of the
indexes where appropriate.

If this doesn't help, there are other options to pursue, but this is where I
would start.

-Nick



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

Предыдущее
От: Justin Clift
Дата:
Сообщение: " ... though the pgsql version performance is not very great."
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL is slow...HELP