Re: Feature proposal

From: "Wappler, Robert" <rwappler(at)ophardt(dot)com>
To: "wstrzalka" <wstrzalka(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Feature proposal
Date: 2010-08-25 10:08:45
Message-ID: C8E2DAF0E663A948840B04023E0DE32A02B1F444@w2k3server02.de.ophardt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2010-08-25, wstrzalka wrote:

> I'm currently playing with very large data import using COPY from
file.
>
> As this can be extremely long operation (hours in my case) the nice
> feature would be some option to show operation progress - how many
> rows were already imported.
>
> Or maybe there is some way to do it? As long as postgres have no read-
> uncommited I think I can estimate it only by destination table size ??
>
> -- Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To
> make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

Hi,

You can use tools like pv for a progress bar and pipe the output into
psql.

HTH
--
Robert...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua Berry 2010-08-25 11:32:58 Optimizing queries that use multiple tables and many order by columns
Previous Message Magnus Hagander 2010-08-25 08:10:44 Re: Win32 Backend Cash - pre-existing shared memory block is still in use