Search Postgresql Archives

delete is extremely slow

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

 



Hello,

Tried to run:

delete from tableA where id <600000;

It is extremely slow.

id is integer and also the primary key. tableA has around 90000 records.

(I do not want to run truncate since I have some foreign key constraint setup based on tableA. Besides not all data I want to delete; only part of them).

Thanks







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux