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: pgsql-sql@postgresql.org
Subject: Too much time to delete 19000 rows
Date: Fri, 6 Oct 2006 15:10:01 -0300
Message-ID: <55c095e90610061110t5a3040c3pec05bd2c413a85dd@mail.gmail.com> (raw)

Hi list,

I am having many problems to delete a table with only 19000 rows.

The selection takes less than 1 second but on delete I wait more than 4
minutes and notthing. Can someone tell me what could happen ?

I tryed only one transaction but it does not work too:

BEGIN WORK;
delete from base.ticket where session_id = 17 and cash_id = 99 and promo_id = 5;
COMMIT WORK;

I just think it could be occuring becouse of many constraints (7 at all)


Please any help is welcomed.

Regards
Ezequias

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                                  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 (3+ messages)  latest in thread

Message-ID: <55c095e90610061110t5a3040c3pec05bd2c413a85dd@mail.gmail.com>
Permalink:  ../55c095e90610061110t5a3040c3pec05bd2c413a85dd@mail.gmail.com/
Also on:    postgresql.org/message-id/55c095e90610061110t5a3040c3pec05bd2c413a85dd@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
  Subject: Re: Too much time to delete 19000 rows
  In-Reply-To: <55c095e90610061110t5a3040c3pec05bd2c413a85dd@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