# Partition Functions

These functions manage partition operations on a database.

Function | Description
EssPartitionApplyOtlChangeFile() | Tells the server to apply metadata changes to files.
EssPartitionApplyOtlChangeRecs() | Tells the server to apply metadata changes to records.
EssPartitionCloseDefFile() | Closes the shared partition definition file.
EssPartitionFreeDefCtx() | Frees memory dynamically allocated under shared partition context structures.
EssPartitionFreeOtlChanges() | Frees up memory allocated by the ReadMetaChange routine.
EssPartitionGetAreaCellCount() | Returns the number of cells in the specified slice string.
EssPartitionGetList() | Returns a list of the partition partition definitions in which the currently selected database participates.
EssPartitionGetOtlChanges() | Pulls meta data changes from a given source.
EssPartitionGetReplCells() | Replicates all data cells that are identified in the replication partition from the source database to the selected target database.
EssPartitionNewDefFile() | Creates and opens a new shared partition, definition file based upon input parameters supplied.
EssPartitionOpenDefFile() | Opens an existing shared partition definition file.
EssPartitionPurgeOtlChangeFile() | Purges meta changes made previous to the time specified with the TimeStamp parameter.
EssPartitionPutReplCells() | Replicates all data cells that are identified in the replication partition from the selected source database to the target database.
EssPartitionReadDefFile() | Replicates all data cells that are identified in the replication partition from the selected source database to the target database.
EssPartitionReadOtlChangeFile() | Reads meta changes from a file into memory.
EssPartitionReplaceDefFile() | Tells the server that a new shared partition file has been sent, which replaces any existing file for this database.
EssPartitionResetOtlChangeTime() | Takes two partitions, one source and one destination. It takes the "last meta change" time from the source partition and assigns it as the "last meta change" time of the destination partition.
EssPartitionValidateDefinition() | Performs full validation of the specified partition definition; that is, validates the source and target parts of one partition definition. Useful during creation of a new or modification of an existing partition definition.
EssPartitionValidateLocal() | Performs partial validation of all partition definitions on the specified server. Useful to ascertain the validity of partition definitions after metadata changes; for example, after database restructuring.
EssPartitionWriteDefFile() | Writes the current memory version of the shared partition definition file to disk.