Re: FW:

Поиск
Список
Период
Сортировка
От david@lang.hm
Тема Re: FW:
Дата
Msg-id Pine.LNX.4.64.0705081819160.32601@asgard.lang.hm
обсуждение исходный текст
Ответ на FW:  ("Orhan Aglagul" <oaglagul@cittio.com>)
Ответы Re: FW:  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-performance
On Tue, 8 May 2007, Orhan Aglagul wrote:

> No, it is one transaction per insert.
>
> -----Original Message-----
> From: Scott Marlowe [mailto:smarlowe@g2switchworks.com]
> Sent: Tuesday, May 08, 2007 5:38 PM
> To: Orhan Aglagul
> Subject: RE: [PERFORM]
>
> On Tue, 2007-05-08 at 19:36, Orhan Aglagul wrote:
>> But 10,000 records in 65 sec comes to ~153 records per second. On a
> dual
>> 3.06 Xeon....
>> What range is acceptable?
>
> If you're doing that in one big transaction, that's horrible.  Because
> it shouldn't be waiting for each insert to fsync, but the whole
> transaction.

with a standard 7200 rpm drive ~150 transactions/sec sounds about right

to really speed things up you want to get a disk controller with a battery
backed cache so that the writes don't need to hit the disk to be safe.

that should get your speeds up to (and possibly above) what you got by
turning fsync off.

David Lang

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

Предыдущее
От: "Orhan Aglagul"
Дата:
Сообщение: FW:
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Best OS for Postgres 8.2