Re: general questions postgresql performance config

Поиск
Список
Период
Сортировка
От Andy Colson
Тема Re: general questions postgresql performance config
Дата
Msg-id 4B5F1B73.2010405@squeakycode.net
обсуждение исходный текст
Ответ на Re: general questions postgresql performance config  (Craig Ringer <craig@postnewspapers.com.au>)
Ответы Re: general questions postgresql performance config  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-general
On 1/25/2010 8:12 PM, Craig Ringer wrote:
> On 26/01/2010 12:15 AM, Dino Vliet wrote:
>
>> 5) Other considerations?
>
>
> Even better is to use COPY to load large chunks of data. libpq provides
> access to the COPY interface if you feel like some C coding. The JDBC
> driver (dev version only so far) now provides access to the COPY API, so
> you can also bulk-load via Java very efficiently now.
>
> --
> Craig Ringer
>

I recall seeing someplace that you can avoid WAL if you start a
transaction, then truncate the table, then start a COPY.

Is that correct?  Still hold true?  Would it make a lot of difference?

(Also, small plug, perl supports the COPY api too)

-Andy

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

Предыдущее
От: S Arvind
Дата:
Сообщение: Re: Postgres Host
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Make & Install contrib/tablefunc Problems