autocommit (true/false) for more than 1 million records

Поиск
Список
Период
Сортировка
От Emi Lu
Тема autocommit (true/false) for more than 1 million records
Дата
Msg-id 53F7ACF4.1010604@encs.concordia.ca
обсуждение исходный текст
Ответы Re: autocommit (true/false) for more than 1 million records  (David G Johnston <david.g.johnston@gmail.com>)
Re: autocommit (true/false) for more than 1 million records  (Stephen Frost <sfrost@snowman.net>)
Re: autocommit (true/false) for more than 1 million records  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-performance
Hello,

Trying to insert into one table with 1 million records through java JDBC
into psql8.3. May I know (1) or (2) is better please?

(1) set autocommit(true)
(2) set autocommit(false)
      commit every n records (e.g., 100, 500, 1000, etc)

Thanks a lot!
Emi




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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3
Следующее
От: David G Johnston
Дата:
Сообщение: Re: autocommit (true/false) for more than 1 million records