10 concurrent clients / pure insert SQL scripts (each 100000 lines)

Поиск
Список
Период
Сортировка
От Arne Woerner
Тема 10 concurrent clients / pure insert SQL scripts (each 100000 lines)
Дата
Msg-id 200210191249.g9JCnsuN005099@gargano.local.mediabase-gmbh.de
обсуждение исходный текст
Ответы Re: 10 concurrent clients / pure insert SQL scripts (each 100000 lines)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi!

I tried to insert values into a table (created by
    CREATE TABLE gaga42 (a bigint, b char varying);
) (inserted by
    insert into gaga42 values (0,X);
    (where X varies between '' and '1...1' (1000 chars))
). I used the standard configuration of PostgreSQL 7.1.3 on a OpenBSD 3.1
box with 384 MB main memory and a SCSI RAID disc and the following command
(gaga41.1.sql contains the inserts:
    time csh -c "repeat 10 sh -c 'time psql -q gaga < gaga42.1.sql &'"

It took 20000 seconds and as I could see (top command) there were 12 postgres
processes which were disabling each other due to semwait conditions (I think
they used excessively semophores).

Is this bug fixed in 7.2.3?

Do you think OpenBSD 3.1 has problems with semaphores (should be an easy
feature (its a single processor machine))?

Thank you.

Bye
Arne

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

Предыдущее
От: "geva"
Дата:
Сообщение: vacuum bug
Следующее
От: Sedlak Anton
Дата:
Сообщение: Error in chkpass.c (contrib area) with suggestion