Re: Number of updated rows in postgres

Поиск
Список
Период
Сортировка
От Shreeyansh Dba
Тема Re: Number of updated rows in postgres
Дата
Msg-id CAGDYbUOaErFFz0R+1P3p_KeT=ieSdBBFGD0ZZZtp0uEpNfX6MA@mail.gmail.com
обсуждение исходный текст
Ответ на Number of updated rows in postgres  (Debraj Manna <subharaj.manna@gmail.com>)
Список pgsql-admin
Hi Debraj,

When you perform the update then n_tup_udate get increments where as insert or delete increments tup_inserted or tup_deleted in pg_stat_all_tables or pg_stat_database and vacuum use to remove dead rows.




On Thu, Mar 22, 2018 at 9:32 PM, Debraj Manna <subharaj.manna@gmail.com> wrote:
How are the counters n_tup_update from  pg_stat_all_tables or tup_updated from pg_stat_database incremented? Is it only when we perform update or upsert or it can be incremented also when vaccum runs or we do insert or delete? 

I am asking in terms of postgres 9.5.4 running on Ubuntu 14.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Debraj Manna
Дата:
Сообщение: Number of updated rows in postgres
Следующее
От: "Heinemann, Manfred (IMS)"
Дата:
Сообщение: RE: Function search_path