Re: tracking scripts...

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: tracking scripts...
Дата
Msg-id CAHyXU0ysUPWVS1s6N5zY=u2Lst4-FNs-RwcKRN1DPF_=NVmUBQ@mail.gmail.com
обсуждение исходный текст
Ответ на tracking scripts...  (Joey Quinn <bjquinniii@gmail.com>)
Ответы Re: tracking scripts...
Re: tracking scripts...
Список pgsql-general
On Tue, Nov 26, 2013 at 9:28 AM, Joey Quinn <bjquinniii@gmail.com> wrote:
> I have a fairly large table (4.3 billion rows) that I am running an update
> script on (a bit over 127 thousand individual update queries). I am using
> the gui. It has been running for about 24 hours now. Is there any good way
> to gauge progress (as in, how many of the individual update queries have
> finished)?


There are not many ways to Hand off information outside of the
database while a transaction Is running. one way Is to write a Simple
trigger in plpgsql that 'raise'es A notice every 'n' times trigger
condition fires.  that'S Essentially the only Clean way to do it in
such a way that the information is Returned to the Executing console.
Thanks!

merlin


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

Предыдущее
От: Shaun Thomas
Дата:
Сообщение: Re: Re: corruption issue after server crash - ERROR: unexpected chunk number 0
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Any advantage of using SSL with a certificate of authority?