public inbox for [email protected]  
help / color / mirror / Atom feed
From: Abdullah Ergin <[email protected]>
To: [email protected]
Subject: Monitoring PostgreSQL Copy Operations
Date: Wed, 12 Nov 2025 11:33:15 +0300
Message-ID: <CAJZxWEOP7TwFcd1WrKRTL9XxXmxLKKzft5d_XYs_diLo+Uc-Nw@mail.gmail.com> (raw)

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.


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Monitoring PostgreSQL Copy Operations
  In-Reply-To: <CAJZxWEOP7TwFcd1WrKRTL9XxXmxLKKzft5d_XYs_diLo+Uc-Nw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox