Re: 1 milion data insertion

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: 1 milion data insertion
Дата
Msg-id 20020726144655.K18001@mail.libertyrms.com
обсуждение исходный текст
Ответ на 1 milion data insertion  (Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>)
Список pgsql-general
On Fri, Jul 26, 2002 at 03:34:12PM -0300, Elielson Fontanezi wrote:
>
> the log has overflowed.

No, new WAL files were created.  You can increase the number of
preallocated WAL files so that you don't get these messages.  See the
administrator docs.

>     But, from you, great PostGres DBA's, what is the best way to
> insert a large number of data?

With COPY, just as you did.

>     Is there a way to turn off the log?

No.

>     Is there a way to commit each 100 records?

Sure.  Use Perl or something to copy and commit every so many records.
A

----
Andrew Sullivan                               87 Mowat Avenue
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110


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

Предыдущее
От: Elielson Fontanezi
Дата:
Сообщение: 1 milion data insertion
Следующее
От: Elielson Fontanezi
Дата:
Сообщение: The best book