Re: Performance Optimization for Dummies 2 - the SQL

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Performance Optimization for Dummies 2 - the SQL
Дата
Msg-id 4523A4F7.6020802@logix-tt.com
обсуждение исходный текст
Ответ на Re: Performance Optimization for Dummies 2 - the SQL  (Alex Stapleton <alexs@advfn.com>)
Список pgsql-performance
Hi, Alex,

Alex Stapleton wrote:

>> explain analyze is more helpful because it prints the times.
>
> You can always use the \timing flag in psql ;)

Have you ever tried EXPLAIN ANALYZE?

\timing gives you one total timing, but EXPLAIN ANALYZE gives you
timings for sub-plans, including real row counts etc.

HTH,
Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

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

Предыдущее
От: Tobias Brox
Дата:
Сообщение: Re: slow queue-like empty table
Следующее
От: "Dave Dutcher"
Дата:
Сообщение: Re: PostgreSQL Caching