| От | Chris |
|---|---|
| Тема | simple explain output. |
| Дата | |
| Msg-id | 43F93FAD.6070701@gmail.com обсуждение исходный текст |
| Ответы |
Re: simple explain output.
|
| Список | pgsql-general |
Hi all, I'm pretty sure the answer to this is "not possible" but I'll ask just in case. Is there a way to simplify the output that comes from explain? I'm writing a script to check my database logs to see whether I am missing any indexes. Basically the process goes like this: - Find a select query in the logs - Run it through the database using 'explain' - Check whether it's using an index scan or "other" Yes, I know not every query is going to use an index, but this will cut down on the queries I have to check. At the moment the explain output can get complicated to parse and process, so I'm trying to think of another approach to use. Any suggestions are welcome :) Chris.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера