pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
To: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: Deadlock on transaction
Date: Mon, 12 Feb 2007 15:08:27 -0300
Message-ID: <55c095e90702121008u6d3d27c0m16e52d63f97c3e7d@mail.gmail.com> (raw)
In-Reply-To: <1171302488.3565.15.camel@state.g2switchworks.com>
References: <55c095e90702120943v2909044eo91445b0eda3958c7@mail.gmail.com>
	<1171302488.3565.15.camel@state.g2switchworks.com>

I mean really deadlock. Other transactions can't access the database until
the main transaction is complete. A question:

PostgreSQL doesn't permit multiple transactions concurrently ?

Ezequias

2007/2/12, Scott Marlowe <smarlowe@g2switchworks.com>:
>
> On Mon, 2007-02-12 at 11:43, Ezequias Rodrigues da Rocha wrote:
> > Hi list,
> >
> > I am curious becouse I am seen my postgresql locking the transactions
> > when i load a huge (in some case not to huge) numbers of records
> > 70,000 records.
> >
> > Could someone help me with it ?
>
> Are sure that what you're speaking of is a deadlock?  Or is it just a
> stalled transaction while one one transaction waits for another to
> complete?
>
> A true deadlock means that two transactions are stalled waiting for the
> other to complete, and neither ever can complete, and they are
> DEADlocked.
>
> If you've just got a problem where an update is stalling all the other
> transactions, then give us a test case / example code of what's
> happening.
>
> If you've got a real deadlock that postgresql isn't catching, that's a
> much more serious problem.
>



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                                  Atenciosamente (Sincerely)
                        Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/

view thread (13+ messages)  latest in thread

Message-ID: <55c095e90702121008u6d3d27c0m16e52d63f97c3e7d@mail.gmail.com>
Permalink:  ../55c095e90702121008u6d3d27c0m16e52d63f97c3e7d@mail.gmail.com/
Also on:    postgresql.org/message-id/55c095e90702121008u6d3d27c0m16e52d63f97c3e7d@mail.gmail.com

 · 

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-sql@postgresql.org
  Cc: ezequias.rocha@gmail.com, smarlowe@g2switchworks.com, pgsql-admin@postgresql.org
  Subject: Re: Deadlock on transaction
  In-Reply-To: <55c095e90702121008u6d3d27c0m16e52d63f97c3e7d@mail.gmail.com>

* 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