Re: Delete operation VERY slow...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



am  16.06.2006, um 15:58:46 +0900 mailte David Leangen folgendes:
> 
> Hello!
> 
> I am trying to delete an entire table. There are about 41,000 rows in
> the table (based on count(*)).
> 
> I am using the SQL comment: delete from table;

Use TRUNCATE table.


Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux