Re: continuous copy/update one table to another

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: continuous copy/update one table to another
Дата
Msg-id 4B8B1463.1020209@hogranch.com
обсуждение исходный текст
Ответ на Re: continuous copy/update one table to another  (Terry <td3201@gmail.com>)
Ответы Re: continuous copy/update one table to another  (Terry <td3201@gmail.com>)
Список pgsql-general
Terry wrote:
> One more question.  This is a pretty decent sized table.  It is
> estimated to be 19,038,200 rows.  That said, should I see results
> immediately pouring into the destination table while this is running?
>

SQL transactions are atomic.   you wont' see anything in the 'new' table
until the INSERT finishes committing, then you'll see it all at once.

you will see a fair amount of disk write activity while its running.
20M rows will take a while to run the first time, and probably a fair
amount of memory.









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

Предыдущее
От: Terry
Дата:
Сообщение: Re: continuous copy/update one table to another
Следующее
От: "C. Bensend"
Дата:
Сообщение: Confusion about users and roles