Re: Feature proposal

Поиск
Список
Период
Сортировка
От Wappler, Robert
Тема Re: Feature proposal
Дата
Msg-id C8E2DAF0E663A948840B04023E0DE32A02B1F444@w2k3server02.de.ophardt.com
обсуждение исходный текст
Ответ на Feature proposal  (wstrzalka <wstrzalka@gmail.com>)
Список 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@postgresql.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...



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: How to setup PostgreSQL to work with libpam-pgsql/libnss-pgsql2?
Следующее
От: Joshua Berry
Дата:
Сообщение: Optimizing queries that use multiple tables and many order by columns