From fc7e99872cb3595638fc00ab96cf433bfa77fb14 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Tue, 14 Jun 2011 11:20:52 -0400 Subject: [PATCH] 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. --- doc/src/sgml/ddl.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index 4c9fc5d57a..c250faec4e 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -2332,7 +2332,8 @@ VALUES ('New York', NULL, NULL, 'NY'); Bulk loads and deletes can be accomplished by adding or removing partitions, if that requirement is planned into the partitioning design. - ALTER TABLE is far faster than a bulk operation. + ALTER TABLE NO INHERIT and DROP TABLE are + both far faster than a bulk operation. It also entirely avoids the VACUUM overhead caused by a bulk DELETE.