Remove one or more range partitions or subpartitions from a table.
You cannot delete the last remaining partition on a table. Use
Unpartition instead.
Prerequisites
Database Version |
Table Partition Privileges |
SAP Sybase IQ 15.3 and 15.4 |
Table owned by self – none.Table owned by other
users – you must have one of: - DBA authority
- ALTER permission on the table
|
SAP Sybase IQ
16.0 |
Table owned by self – none.Table owned by other
users – you must have one of: - ALTER ANY TABLE system privilege
- ALTER ANY OBJECT system privilege
- ALTER permission on the table
|
-
The SAP Sybase IQ resource is authenticated and
running.
-
In a multiplex
configuration, the coordinator node is running.
-
You must be licensed for the Unstructured Data
Analytics option (IQ_UDA).
Task
Warning! Deleting a partition deletes the data contained in the partition from
the table. To remove a partition without losing the data, either merge the partition or
unpartition the table.
- In the Perspective Resources view, select the resource, and
select .
- In the left pane, expand , and then select
Tables.
- Select an IQ main store table from the right pane and either:
- Click the arrow to the right of the name and select
Properties, or
- From the Administration Console menu bar, select .
The Table Properties view appears.
- In the left pane, select Partitions.
- In the right pane, select one or more partitions from the list and
click Delete. The selected partitions are removed from the
list but they are not yet deleted.
- Delete is unavailable if the partition type is hash or
the partition only contains one range subpartition.
- Use Shift-click or Control-click
to select multiple partitions.
- When selecting multiple partitions, Delete becomes
unavailable if all partitions are selected. Deselect at least one partition
for Delete to become available again.
- Do one of:
- Click OK to update any changes to the
database and exit the properties view.
- Click Apply to update any changes to the database, but
remain in the properties view.
- Click Cancel to cancel any changes not
updated to the database and exit the properties view.