TRUNCATE_WITH_AUTO_COMMIT option

Function

To speed up TRUNCATE TABLE statements in the Catalog Store.

Allowed values

ON, OFF

Default

ON

See also

TRUNCATE TABLE statement

Description

In the Catalog Store only, if TRUNCATE_WITH_AUTO_COMMIT is set to ON, then a COMMIT is executed both before and after the TRUNCATE TABLE statement is executed. The primary purpose of the option is to enable faster table truncation (delete of all rows).

There are some cases where a fast TRUNCATE cannot be done: