10 concurrent clients / pure insert SQL scripts (each 100000 lines) - Mailing list pgsql-bugs

From Arne Woerner
Subject 10 concurrent clients / pure insert SQL scripts (each 100000 lines)
Date
Msg-id 200210191249.g9JCnsuN005099@gargano.local.mediabase-gmbh.de
Whole thread Raw
Responses Re: 10 concurrent clients / pure insert SQL scripts (each 100000 lines)  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: "geva"
Date:
Subject: vacuum bug
Next
From: Sedlak Anton
Date:
Subject: Error in chkpass.c (contrib area) with suggestion