Re: Transaction Size in PostgreSQL

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Transaction Size in PostgreSQL
Дата
Msg-id CAKFQuwakZa2pCxwZ64YhiQQO0znt7tiEdF2X13wUZTpPr356rQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Transaction Size in PostgreSQL  (Sivasamy Subramaniam <sivasamyinfo@gmail.com>)
Список pgsql-admin
On Monday, December 6, 2021, Sivasamy Subramaniam <sivasamyinfo@gmail.com> wrote:
Transaction size meaning, for example - any transaction over 1GB in size? I am looking to set up an alert if any massive data changes are happening in a single transaction. I can do it for long running transactions or query but trying to figure out any easy way to calculate the amount of data changes per transaction.

So if you truncate a 4GB table you want to know about it?  I’m reasonably confident PostgreSQL does not have the tools needed to accomplish your goal at 100%.  You can possibly pick up some subset though if you really want…

David J.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Pg_dump
Следующее
От: Mladen Gogala
Дата:
Сообщение: Re: Transaction Size in PostgreSQL