Re: per table random-page-cost?

Поиск
Список
Период
Сортировка
От marcin mank
Тема Re: per table random-page-cost?
Дата
Msg-id b1b9fac60910191517w137a0832h544ecd211697fb4e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: per table random-page-cost?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: per table random-page-cost?  (marcin mank <marcin.mank@gmail.com>)
Re: per table random-page-cost?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: per table random-page-cost?  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
> I've been thinking about this a bit, too.  I've been wondering if it
> might make sense to have a "random_page_cost" and "seq_page_cost"
> setting for each TABLESPACE, to compensate for the fact that different
> media might be faster or slower, and a percent-cached setting for each
> table over top of that.
>

I thought about making it per-table, but realistically I think most
people don`t use tablespaces now. I would not want to be telling
people "to be able to hint the planner to (not) index-scan the table,
You must move it to a separate tablespace".

A global default, a per-tablespace default overriding it, and a
per-table value overriding them both seems like over-engineering to
me.

Greetings
Marcin


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: per table random-page-cost?
Следующее
От: marcin mank
Дата:
Сообщение: Re: per table random-page-cost?