pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Silvio Brandani <silvio.brandani@tech.sdb.it>
To: pgsql-admin@postgresql.org
Subject: performance problems on Delete
Date: Mon, 02 Aug 2010 14:34:53 +0200
Message-ID: <4C56BB6D.2050108@tech.sdb.it> (raw)

Hi alls,

we have a performance issue on deleting data from a table.

the delete  is on the index key so should be very fast but the table 
have 13 contraints of type foreign keys and the slowness seems due to 
all the works done with the constraint.
Trying to drop the constraint and execute the delete the result is 
immediate.

Is there a way to speed up this type of operations??

Any suggestion higly appreciated


Silvio

---






Utilizziamo i dati personali che la riguardano esclusivamente per nostre finalità amministrative e contabili, anche quando li comunichiamo a terzi. Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli altri Suoi diritti, sono riportate alla pagina http://www.savinodelbene.com/news/privacy.html
Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice penale http://www.savinodelbene.com/codice_penale_616.html
L'Azienda non si assume alcuna responsabilità giuridica qualora pervengano da questo indirizzo messaggi estranei all'attività lavorativa o contrari a norme.
--



view thread (3+ messages)  latest in thread

Message-ID: <4C56BB6D.2050108@tech.sdb.it>
Permalink:  ../4C56BB6D.2050108@tech.sdb.it/
Also on:    postgresql.org/message-id/4C56BB6D.2050108@tech.sdb.it

 · 

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-admin@postgresql.org
  Cc: silvio.brandani@tech.sdb.it
  Subject: Re: performance problems on Delete
  In-Reply-To: <4C56BB6D.2050108@tech.sdb.it>

* 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