delete is extremely slow

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: delete is extremely slow
Date: 2006-05-26 13:48:23
Message-ID: 44770727.5090708@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Qingqing Zhou 2006-05-26 13:56:40 Re: delete is extremely slow
Previous Message A. Kretschmer 2006-05-26 13:46:51 Re: Incomplete dump?