Re: [Pgsql-ayuda] un delete muy lennnnntooo......

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Manuel Infante Ruiz <manri2003(at)hotmail(dot)com>
Cc: pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
Subject: Re: [Pgsql-ayuda] un delete muy lennnnntooo......
Date: 2003-03-14 16:54:22
Message-ID: 20030314165422.GE2567@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Fri, Mar 14, 2003 at 04:51:59PM +0000, Manuel Infante Ruiz wrote:

> ¿Es normal? ¿de qué depende el que tarde más o menos en eliminar los datos
> de una tabla? ¿cómo se pueden optimizar los tiempos de borrado total?

Triggers? Indices?

Si vas a borrar toda la tabla te sirve usar TRUNCATE...

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The Gord often wonders why people threaten never to come back after they've
been told never to return" (www.actsofgord.com)

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alfonso Andaur 2003-03-14 18:29:31 [Pgsql-ayuda] [Pgsql-ayuda]
Previous Message Manuel Infante Ruiz 2003-03-14 16:51:59 [Pgsql-ayuda] un delete muy lennnnntooo......