Обсуждение: Get stats of deletes ,inserts,trasnactions and updates daily in entire database

Поиск
Список
Период
Сортировка

Get stats of deletes ,inserts,trasnactions and updates daily in entire database

От
Yambu
Дата:
Hello

I would like to know how many records were deleted,updated or inserted per day in the entire database, as well as number of transactions done.  Is there a view or somewhere I can get that without installing anything extra in postgres?

regards

RE: Get stats of deletes ,inserts,trasnactions and updates daily in entire database

От
"Michel SALAIS"
Дата:

Hello,

 

Have a look at pg_stat_database. Because you want it daily, some extra arrangement is necessary…

 

Michel SALAIS

 

De : Yambu <hyambu@gmail.com>
Envoyé : samedi 22 mai 2021 06:12
À : Pgsql-admin <pgsql-admin@lists.postgresql.org>
Objet : Get stats of deletes ,inserts,trasnactions and updates daily in entire database

 

Hello

 

I would like to know how many records were deleted,updated or inserted per day in the entire database, as well as number of transactions done.  Is there a view or somewhere I can get that without installing anything extra in postgres?

 

regards