Re: Deadlock on transaction

From: "Ezequias Rodrigues da Rocha" <ezequias(dot)rocha(at)gmail(dot)com>
To: "Scott Marlowe" <smarlowe(at)g2switchworks(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: Deadlock on transaction
Date: 2007-02-12 18:08:27
Message-ID: 55c095e90702121008u6d3d27c0m16e52d63f97c3e7d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

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(at)g2switchworks(dot)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/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message teknokrat 2007-02-12 18:20:54 Re: pg on windows server 2003 64 bit edition
Previous Message Scott Marlowe 2007-02-12 17:48:08 Re: Deadlock on transaction

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2007-02-12 18:43:49 Re: [SQL] Deadlock on transaction
Previous Message Scott Marlowe 2007-02-12 17:48:08 Re: Deadlock on transaction