How does Delete Query work ??

From: sri harsha <sriharsha9992(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How does Delete Query work ??
Date: 2015-01-29 05:41:37
Message-ID: CAP6OGLHF+qrffG9s4bhn99RLmupK6SefMJ38WE-2O5=Spq4E4Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I want to know about the flow in which delete query is executed in
postgres .
Assume i have a following query.

*Delete from table_a * where column_a = 'something'*

How is this query executed ? Are the rows first filtered out and then
deleted one by one ?? Or is the row deleted as and when it is filtered ??

Thanks,
Harsha

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex Hunsaker 2015-01-29 05:58:20 Re: segmentation fault postgres 9.3.5 core dump perlu related ?
Previous Message Leon Dang 2015-01-28 22:00:09 Re: Request for review of new redis-fdw module