Re: Postgres 9 : - How to interpret the EXPLAIN query results
В списке pgsql-admin по дате отправления:
| От | Thomas Kellerer |
|---|---|
| Тема | Re: Postgres 9 : - How to interpret the EXPLAIN query results |
| Дата | |
| Msg-id | meu4pq$eep$1@ger.gmane.org обсуждение исходный текст |
| Ответ на | Re: Postgres 9 : - How to interpret the EXPLAIN query results (Khangelani Gama <kgama@argility.com>) |
| Ответы |
Re: Postgres 9 : - How to interpret the EXPLAIN query results
|
| Список | pgsql-admin |
Khangelani Gama schrieb am 25.03.2015 um 11:28: > Thanks to all, but if this total cost is the total time it will take to retrieve the output then is it in minutes or milliseconds? > If it’s in milliseconds does it mean that it take about 213 hrs for a total of 768375132.77 No. The cost is not the total time. Quote from the manual measured in cost units that are arbitrary, but conventionally mean disk page fetches In general you can _assume_ that a query with a higher cost is likely to run longer than an equivalent query with lower costs. If you want the runtime of each step you need to use "explain (analyze)" - again this is documented in the manual. Thomas
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера