pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: josh@agliodbs.com
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Jan Wieck <JanWieck@Yahoo.com>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-advocacy@postgresql.org
Subject: Re: [PERFORM] MySQL+InnoDB vs. PostgreSQL test?
Date: Mon, 02 Feb 2004 23:08:42 -0500
Message-ID: <11250.1075781322@sss.pgh.pa.us> (raw)
In-Reply-To: <200402021941.57516.josh@agliodbs.com>
References: <200402020921.12076.josh@agliodbs.com>
	<401EFD98.2020402@Yahoo.com>
	<401F0FCD.70903@familyhealth.com.au>
	<200402021941.57516.josh@agliodbs.com>

Josh Berkus <josh@agliodbs.com> writes:
>> Hey at least I noticed that InnoDB has one essential feature we don't:
>> SELECT ... IN SHARE MODE;
>> 
>> Which does a shared lock on a row as opposed to a write lock, hence 
>> avoiding nasty foreign key deadlocks...

> Um, wrong.   We don't lock rows for SELECT.

No, but Chris is correct that we could do with having some kind of
shared lock facility at the row level.

			regards, tom lane



view thread (27+ messages)  latest in thread

Message-ID: <11250.1075781322@sss.pgh.pa.us>
Permalink:  ../11250.1075781322@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11250.1075781322@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, josh@agliodbs.com, chriskl@familyhealth.com.au, JanWieck@Yahoo.com, pgsql-advocacy@postgresql.org
  Subject: Re: [PERFORM] MySQL+InnoDB vs. PostgreSQL test?
  In-Reply-To: <11250.1075781322@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox