alter partition

Changes the size of a partition.

Syntax

alter partition logical_name [expand [size =size]]

Parameters

Examples

Usage

  • alter partition allows users to expand a currently used partition to a larger size. This function is useful when Replication Server needs more disk space and there is still space available in the same disk of the existing partition.

  • In case of insufficient physical disk space, alter partition aborts and an error message displays. The allocated space for the partition is the same as before the command was applied.

  • The maximum size that can be allocated to a partition is 1TB, which is approximately 1,000,000MB.

Permissions

Only the “sa” user can execute alter partition.

Related reference
admin disk_space
create partition
drop partition