Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4F95847648F for ; Thu, 3 Oct 2002 13:40:59 -0400 (EDT) Received: from lakemtao04.cox.net (lakemtao04.cox.net [68.1.17.241]) by postgresql.org (Postfix) with ESMTP id 93BB0476482 for ; Thu, 3 Oct 2002 13:40:58 -0400 (EDT) Received: from localhost.localdomain ([68.11.66.83]) by lakemtao04.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20021003174059.OZMW1315.lakemtao04.cox.net@localhost.localdomain> for ; Thu, 3 Oct 2002 13:40:59 -0400 Subject: Re: Large databases, performance From: Ron Johnson To: pgsql-performance@postgresql.org In-Reply-To: <3D9CBAD7.23509.A908C61@localhost> References: <3D9C8712.9513.9C6521D@localhost> <3D9CBAD7.23509.A908C61@localhost> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 03 Oct 2002 12:38:49 -0500 Message-Id: <1033666730.28946.64.camel@haggis> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/14 X-Sequence-Number: 31 On Thu, 2002-10-03 at 11:17, Shridhar Daithankar wrote: > On 3 Oct 2002 at 11:57, Robert Treat wrote: > [snip] > > I'm curious, did you happen to run the select tests while also running > > the insert tests? IIRC the older mysql versions have to lock the table > > when doing the insert, so select performance goes in the dumper in that > > scenario, perhaps that's not an issue with 3.23.52? > > IMO even if it locks tables that shouldn't affect select performance. It would > be fun to watch when we insert multiple chunks of data and fire queries > concurrently. I would be surprised if mysql starts slowing down.. What kind of lock? Shared lock or exclusive lock? If SELECT performance tanked when doing simultaneous INSERTs, then maybe there were exclusive table locks. -- +------------------------------------------------------------+ | Ron Johnson, Jr. mailto:ron.l.johnson@cox.net | | Jefferson, LA USA http://members.cox.net/ron.l.johnson | | | | "What other evidence do you have that they are terrorists, | | other than that they trained in these camps?" | | 17-Sep-2002 Katie Couric to an FBI agent regarding the 5 | | men arrested near Buffalo NY | +------------------------------------------------------------+