Re: Transaction Size in PostgreSQL

Поиск
Список
Период
Сортировка
От Sivasamy Subramaniam
Тема Re: Transaction Size in PostgreSQL
Дата
Msg-id CAGH8HiqXBToqe_EVqCxPaV1ZP+vKA9hQDvLEFE-UYRkR+RzwEw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Transaction Size in PostgreSQL  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: Transaction Size in PostgreSQL  (Thomas Kellerer <shammat@gmx.net>)
Re: Transaction Size in PostgreSQL  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Transaction Size in PostgreSQL  (Mladen Gogala <gogala.mladen@gmail.com>)
Список pgsql-admin
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.

On Mon, Dec 6, 2021 at 8:04 PM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Monday, December 6, 2021, Sivasamy Subramaniam <sivasamyinfo@gmail.com> wrote:

I need a query or a way to find the transaction size in postgreSQL. Can any one provide SQL or a method to figure this out?

That doesn’t exist, or is even particularly well defined, that I know of.  You may want to phrase your question using more detail.  Though I suspect your best avenue would be WAL decoding (but that’s well outside my experience).

David J.



--
Thank you,
Siva.

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

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