Re: SQL Performance Guidelines

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: SQL Performance Guidelines
Дата
Msg-id 41F9068D.4080507@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: SQL Performance Guidelines  (Mitch Pirtle <mitch.pirtle@gmail.com>)
Список pgsql-performance
> For example, IIRC when joining an integer column with a SERIAL column,
> you must expicitly cast it as an integer or the planner will not use
> the indexes, right? (This is a guess, as I remember reading something
> like this and thinking, "How in the world is someone supposed to
> figure that out, even with EXPLAIN?")

That's not true at all.  Perhaps you're thinking about BIGSERIAL and
int8 indexes - something that's been addressed in 8.0.

Chris

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

Предыдущее
От: Mitch Pirtle
Дата:
Сообщение: Re: SQL Performance Guidelines
Следующее
От: Alexandre Leclerc
Дата:
Сообщение: Flattening a kind of 'dynamic' table