Re: Non-Stored Generated Columns

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Non-Stored Generated Columns
Дата
Msg-id 3c7e0de87eedeb66a127394202db8f12af36c424.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Non-Stored Generated Columns  (Dominique Devienne <ddevienne@gmail.com>)
Список pgsql-general
On Thu, 2024-02-29 at 12:07 +0100, Dominique Devienne wrote:
> But I'm sure indexes on columns "not used at all in a statement" are eliminated early and easily/cheaply,
> w/o even getting into more complex consideration like statistics and co. Aren't they?

You may want a "SELECT count(*) FROM tab" to consider an index-only
scan on a small index, right?  I'm not saying that it is a large
overhead, but if you actually have dozens of indexes, it can
make processing slower.

Yours,
Laurenz Albe



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

Предыдущее
От: Or Cohen
Дата:
Сообщение: RE: SUSE repositories not longer available
Следующее
От: Anthony Codjoe - IQ-C
Дата:
Сообщение: Voluntary Product Assessment For pgAdmin 8.3