Monitoring PostgreSQL Copy Operations

From: Abdullah Ergin <abdullaherginwork(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Monitoring PostgreSQL Copy Operations
Date: 2025-11-12 08:33:15
Message-ID: CAJZxWEOP7TwFcd1WrKRTL9XxXmxLKKzft5d_XYs_diLo+Uc-Nw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

To monitor Copy operations in PostgreSQL in real-time, I use the “
pg_stat_progress_copy
<https://www.postgresql.org/docs/current/progress-reporting.html#COPY-PROGRESS-REPORTING>”
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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ron Johnson 2025-11-12 14:06:41 Re: Monitoring PostgreSQL Copy Operations
Previous Message zhenwei.li@sfere-elec.com 2025-11-12 02:26:45 Re: Re: Postgres Parameters