| От | John R Pierce |
|---|---|
| Тема | Re: Explain Analyze understanding |
| Дата | |
| Msg-id | 4E5529FB.9020504@hogranch.com обсуждение исходный текст |
| Ответ на | Explain Analyze understanding (Carlos Henrique Reimer <carlos.reimer@opendb.com.br>) |
| Список | pgsql-general |
On 08/24/11 9:18 AM, Carlos Henrique Reimer wrote: > I need to improve performance for a particular SQL command but facing > difficulties to understand the explain results. you're joining like 50 tables in nested selects, getting 200 rows, and its only taking 3.5 seconds? where's the problem? you can paste EXPLAIN output into http://explain.depesz.com and get output like http://explain.depesz.com/s/hfWp which helps format it for better understanding. in this case, most of the time (3.35s worth) appears to be spent on sorts and an nidex scan inside an inner merge join thats processing 77000 rows. -- john r pierce N 37, W 122 santa cruz ca mid-left coast
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера