Product Documentation

Automatic Data Aggregation

Previous Topic

Next Topic

ctdbSetTablePartitionMaximumActive

Sets a maximum number of active partitions for auto purging feature.

Declaration

CTDBRET ctdbDECL ctdbSetTablePartitionMaximumActive(CTHANDLE Handle, UCOUNT max)

Description

  • Handle [IN] - Table handle
  • max [IN] - Number of maximum active partitions
  • Partition file support has been available since FairCom DB V10. This V12 addition sets the number of maximum active partitions. When the maximum is exceeded, c-tree's Auto-Purge feature takes care of purging.

Returns

Error code.

TOCIndex