Re: EXPLAIN ANALYZE much slower than running query normally
В списке pgsql-performance по дате отправления:
| От | Janning Vygen |
|---|---|
| Тема | Re: EXPLAIN ANALYZE much slower than running query normally |
| Дата | |
| Msg-id | 200410111415.56547.vygen@gmx.de обсуждение исходный текст |
| Ответ на | EXPLAIN ANALYZE much slower than running query normally ("Chris Hutchinson" <chris@hutchinsonsoftware.com>) |
| Список | pgsql-performance |
Am Dienstag, 5. Oktober 2004 08:49 schrieb Chris Hutchinson: > Running a trivial query in v7.4.2 (installed with fedora core2) using > EXPLAIN ANALYZE is taking considerably longer than just running the query > (2mins vs 6 secs). I was using this query to quickly compare a couple of > systems after installing a faster disk. > > Is this sort of slowdown to be expected? no. did you run VACCUM ANALYZE before? you should do it after pg_restore your db to a new filesystem in which order did you ran the queries. If you start your server and run two equal queries, the second one will be much faster because of some or even all data needed to answer the query is still in the shared buffers. janning
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера