Re: Disabling an index temporarily

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Disabling an index temporarily
Дата
Msg-id CAB7nPqT_k+KqQ2m4x+uQkSsxNV4bCGO7NG3_DTGFnDBGPJVjmg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Disabling an index temporarily  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Dec 14, 2015 at 12:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Certainly, there's opportunities to improve the flexibility of the
> index-disable specifications in the plug-in Oleg and Teodor did.  But
> I think that that is the right basic approach: some sort of SET command,
> not anything that alters the catalogs.  We already have lots of
> infrastructure that could handle desires like having specific values
> active in only some sessions.

ISTM that an intuitive answer is something like enable_indexscan_list
= 'index1, index2' and not worry about any disable switch, that's more
in line with the equivalent planner-level GUC.
-- 
Michael



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Disabling an index temporarily
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Using quicksort for every external sort run