Commit fc7e9987 authored by Alvaro Herrera's avatar Alvaro Herrera

Mention DROP TABLE as well as ALTER TABLE NO INHERIT

... when talking about how good they are in replacement of bulk DELETE
in partitioned setups.

The original wording was a bit confusing.

Per an observation from David Wheeler.
parent c3ad1e8d
...@@ -2332,7 +2332,8 @@ VALUES ('New York', NULL, NULL, 'NY'); ...@@ -2332,7 +2332,8 @@ VALUES ('New York', NULL, NULL, 'NY');
<para> <para>
Bulk loads and deletes can be accomplished by adding or removing Bulk loads and deletes can be accomplished by adding or removing
partitions, if that requirement is planned into the partitioning design. partitions, if that requirement is planned into the partitioning design.
<command>ALTER TABLE</> is far faster than a bulk operation. <command>ALTER TABLE NO INHERIT</> and <command>DROP TABLE</> are
both far faster than a bulk operation.
It also entirely avoids the <command>VACUUM</command> It also entirely avoids the <command>VACUUM</command>
overhead caused by a bulk <command>DELETE</>. overhead caused by a bulk <command>DELETE</>.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment