Re: [PROPOSAL] VACUUM Progress Checker.
От | Sameer Thakur |
---|---|
Тема | Re: [PROPOSAL] VACUUM Progress Checker. |
Дата | |
Msg-id | 1435814511411-5856192.post@n5.nabble.com обсуждение исходный текст |
Ответ на | Re: [PROPOSAL] VACUUM Progress Checker. (Rahila Syed <rahilasyed90@gmail.com>) |
Список | pgsql-hackers |
Hello, >Thank you for suggestion. The design with hooks and a separate view was mainly to keep most of the >code outside core as the feature proposed is specific to VACUUM command. Also, having a separate view >can give more flexibility in terms of displaying various progress parameters. >FWIW ,there was resistance to include columns in pg_stat_activity earlier in the following thread, >http://www.postgresql.org/message-id/AANLkTi=TcuMA38oGUKX9p5WVPpY+M3L0XUp7=PLT+LCT@... Perhaps as suggested in the link, the progress could be made available via a function call which does progress calculation "on demand". Then we do not need a separate view, or clutter pg_stat_activity, and also has benefit of calculating progress just when it's needed. -- View this message in context: http://postgresql.nabble.com/PROPOSAL-VACUUM-Progress-Checker-tp5855849p5856192.html Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.
В списке pgsql-hackers по дате отправления: