| От | Bryce Nesbitt |
|---|---|
| Тема | Re: Way to eliminate pg_dump activity from pg_stat_all ? |
| Дата | |
| Msg-id | 49764F4E.2000703@obviously.com обсуждение исходный текст |
| Ответ на | Re: Way to eliminate pg_dump activity from pg_stat_all ? (Erik Jones <ejones@engineyard.com>) |
| Список | pgsql-sql |
Erik Jones wrote: >> It would be nice to get pg_dump activity out of the stats for another >> reason --- pg_dump adds to the sequential scan activity, in a way >> that does not represent the "typical" use of the database. >> Essentially pg_dump is an atypical user of the database, so it's >> stats are "different" than the rest of the activity. > > It sounds like the proper wording for a feature request here would be > something like "Disable stats collection on a per-session basis". And based on that, I found it's possible. I just had to teach pg_dump to do it: http://archives.postgresql.org/pgsql-hackers/2009-01/msg01474.php (we'll see if anyone else finds it useful enough to commit the patch to postgres 8.5).
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера