Re: [GENERAL] Postgres INSERTs much slower than MySQL?

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [GENERAL] Postgres INSERTs much slower than MySQL?
Дата
Msg-id 380D7F71.F422AEC4@krs.ru
обсуждение исходный текст
Ответ на Re: [GENERAL] ld.so failed  ("Carsten Huettl" <CHUETTL@ahorn.sgh.uunet.de>)
Ответы Re: [GENERAL] Postgres INSERTs much slower than MySQL?  (Lincoln Yeoh <lylyeoh@mecomb.com>)
Список pgsql-general
Lincoln Yeoh wrote:
>
> At 04:12 PM 20-10-1999 +0800, Vadim Mikheev wrote:
> >It doesn't seem as MVCC problem. MVCC uses transaction ids,
> >not tuple ones, and so should work with any number of rows
> >modified by concurrent transaction... In theory... -:))
>
> OK. Dunno what I hit then. I wasn't modifying rows, I was inserting rows.

You hit buffer manager/disk manager problems or eat all disk space.
As for "modifying" - I meant insertion, deletion, update...

> How many rows (blocks) can I insert before I have to do a commit?

Each transaction can have up to 2^32 commands.

> Well anyway the Postgres inserts aren't so much slower if I only commit
> once in a while. Only about 3 times slower for the first 100,000 records.
> So the subject line is now inaccurate :). Not bad, I like it.

Hope that it will be much faster when WAL will be implemented...

Vadim

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

Предыдущее
От: Lincoln Yeoh
Дата:
Сообщение: Re: [GENERAL] Postgres INSERTs much slower than MySQL?
Следующее
От: Fernando Schapachnik
Дата:
Сообщение: Neverending query on 6.5.0 over Solaris 2.5.1 SPARC