Re: [PERFORM] Re: Query > 1000× slowdown after adding datetime comparison

Поиск
Список
Период
Сортировка
От 林士博
Тема Re: [PERFORM] Re: Query > 1000× slowdown after adding datetime comparison
Дата
Msg-id CACudzGhZi_LKCat-bhSBWh=gx+mW=sverz=KDzCYwW6W6bTdjw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Re: Query > 1000× slowdown after adding datetime comparison  (twoflower <standa.kurik@gmail.com>)
Ответы Re: Re: Query > 1000× slowdown after adding datetime comparison  (twoflower <standa.kurik@gmail.com>)
Список pgsql-performance
I think you should try putting the precomputed boolean temp_eval column 
to "EXTERNAL_TRANSLATION" r table.

And if possible, try creating a conditional index on id where temp_eval is true,
on "EXTERNAL_TRANSLATION" r table.

So that, only check this index can get the top 1000 records.

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

Предыдущее
От: twoflower
Дата:
Сообщение: Re: Re: Query > 1000× slowdown after adding datetime comparison
Следующее
От: twoflower
Дата:
Сообщение: Re: Re: Query > 1000× slowdown after adding datetime comparison