Re: Query kills machine.

Поиск
Список
Период
Сортировка
От Stef
Тема Re: Query kills machine.
Дата
Msg-id 20040825163041.716d2103@svb.ucs.co.za
обсуждение исходный текст
Ответ на Re: Query kills machine.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Tom Lane mentioned :
=> Not if you haven't got the RAM to support it :-(
=>
=> Another thing you might look at is ANALYZEing the tables again after
=> you've loaded all the new data.  The row-count estimates seem way off
=> in these plans.  You might need to increase the statistics target,
=> too, to get better plans.

Thanks Tom, Christopher and Magnus!

I tested this, and found the correct sort_mem setting for my situation.
I'm testing a new default_statistics_target setting.
This is something I never considered.

Kind Regards
Stefan

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

Предыдущее
От: "Leeuw van der, Tim"
Дата:
Сообщение: Re: What is the best way to do attribute/values?
Следующее
От: "David Price"
Дата:
Сообщение: Optimizer Selecting Incorrect Index