Action [in] The alter table action. One or more of the following actions can be selected:
CTDB_ALTER_NORMAL: Check for changes before altering
CTDB_ALTER_INDEX: Force rebuild of all indexes
CTDB_ALTER_FULL: Force full table rebuild.
CTDB_ALTER_TRUNCATE: Quickly remove all records.
CTDB_ALTER_PURGEDUP: OR in with any of the other modes to deal with cases where an alter table is performed on data files with duplicated index information.
CTDB_ALTER_KEEPTRAN: Allow tables with different TRANDEP modes (e.g. transaction capable, however, transaction control disabled for performance) to undergo ALTER TABLE. (This is generally an internal FairCom operation for certain table types.)
Description
Performs alter table functions. This method may be used to update a table after its creation. The table must be open in CTOPEN_EXCLUSIVE mode before it is updated.