Re: poor performance in migrated database

Поиск
Список
Период
Сортировка
От Troels Arvin
Тема Re: poor performance in migrated database
Дата
Msg-id pan.2004.11.06.20.07.06.409592@arvin.dk
обсуждение исходный текст
Ответ на poor performance in migrated database  (Carlos Lopez <chlopezl@yahoo.com>)
Список pgsql-admin
On Sat, 06 Nov 2004 11:52:15 -0800, Carlos Lopez wrote:

> I have migrated a database from MS SQL to a
> postgresSQL database, but when running it, the results
> are very slow (and unusable) which is the only reason
> we don't entirely move to postgresSQL.

Have you run ANALYZE lately? (See manual.)

Do you know how to use EXPLAIN? (See manual.) If so: Please post an
example query which is slow, and the corresponding output from EXPLAIN.

Have you tried turning your random_page_cost a bit down? (My experience
its value should generally be lessened.)

Have you read
http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html ?

> The biggest table has about 300k records (isn't it too
> little for having performance problems?)

That should be no problem.

--
Greetings from Troels Arvin, Copenhagen, Denmark


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

Предыдущее
От: Carlos Lopez
Дата:
Сообщение: poor performance in migrated database
Следующее
От: Troels Arvin
Дата:
Сообщение: Re: poor performance in migrated database