Re: problem with query

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: problem with query
Дата
Msg-id CAApHDvq=sj+vVQ6HKOdNLeWbQnHErg5QPSz26s0a90PtY1NLdw@mail.gmail.com
обсуждение исходный текст
Ответ на problem with query  (Sašo Gantar <sasog23@gmail.com>)
Ответы Re: problem with query
Re: problem with query
Список pgsql-general
On Wed, 15 May 2024 at 21:08, Sašo Gantar <sasog23@gmail.com> wrote:
> this query takes more than 8 seconds,
> if i remove "AND ((pgn.nspname='servicedesk'))" and test it, it takes <1s

Including the EXPLAIN rather than EXPLAIN (ANALYZE, BUFFERS) isn't
very useful as there's no way to tell if the planner's estimates were
accurate or not. Also with EXPLAIN only, we don't know where the time
was spent in the query.

Running the EXPLAIN with "SET track_io_timing = 1;" would be even more useful.

David



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Sequence values change during upgrade
Следующее
От: Danut Soare
Дата:
Сообщение: Re: Sequence values change during upgrade