Re: TB-sized databases

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: TB-sized databases
Дата
Msg-id 1196355273.31315.43.camel@PCD12478
обсуждение исходный текст
Ответ на Re: TB-sized databases  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On Thu, 2007-11-29 at 10:45 -0500, Tom Lane wrote:
> Given that this list spends all day every day discussing cases where the
> planner is wrong, I'd have to think that that's a bet I wouldn't take.
>
> You could probably avoid this risk by setting the cutoff at something
> like 100 or 1000 times what you really want to tolerate, but how
> useful is it then?

It would still be useful in the sense that if the planner is taking
wrong estimates you must correct it somehow... raise statistics target,
rewrite query or other tweaking, you should do something. An error is
sometimes better than gradually decreasing performance because of too
low statistics target for example. So if the error is thrown because of
wrong estimate, it is still a valid error raising a signal that the DBA
has to do something about it.

It's still true that if the planner estimates too low, it will raise no
error and will take the resources. But that's just what we have now, so
it wouldn't be a regression of any kind...

Cheers,
Csaba.



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: TB-sized databases
Следующее
От: Alex Hochberger
Дата:
Сообщение: Configuring a Large RAM PostgreSQL Server