Monitoring PostgreSQL Copy Operations - Mailing list pgsql-admin

From Abdullah Ergin
Subject Monitoring PostgreSQL Copy Operations
Date
Msg-id CAJZxWEOP7TwFcd1WrKRTL9XxXmxLKKzft5d_XYs_diLo+Uc-Nw@mail.gmail.com
Whole thread Raw
Responses Re: Monitoring PostgreSQL Copy Operations
List pgsql-admin

To monitor Copy operations in PostgreSQL in real-time, I use the “pg_stat_progress_copy” view tool:

Here, I specifically want to analyze the number of tuples processed by the command, which is “tuples_processed”. However, since pg_stat_progress_copy is a view tool, the information disappears once the operation is complete, and it does not save the result of the copy operation anywhere. How can I save the result of the copy operation?

Postgresql Version: 16.10

Thank You, Regards.

pgsql-admin by date:

Previous
From: "zhenwei.li@sfere-elec.com"
Date:
Subject: Re: Re: Postgres Parameters
Next
From: Ron Johnson
Date:
Subject: Re: Monitoring PostgreSQL Copy Operations