Previous Topic: Add a Specific PartitionNext Topic: Delete a Specific Partition


Specify the Tablespace for Individual Objects

When specifying a partition scheme, you can also specify the tablespace for an individual table or index object for the current session.

If you do not specify the tablespace for an individual object, CA Data Protection assigns tables to tablespaces in a specific order of precedence.

Example

The following Wgn_Partition_Util.Set_Obj_Tablespace commands specify:

Tablespace Order of Precedence

CA Data Protection supports the following methods for assigning tables to tablespaces. CA Data Protection applies these methods in the following order of precedence:

  1. Use the Wgn_Partition_Util.Set_Obj_Tablespace function.

    If this function is used, the specified tablespaces override all other methods.

  2. Use custom tablespaces.

    If custom tablespaces are used, they override the parameters in method 3.

  3. Use the tablespace parameters for the wgn_partition_tables procedure.
    new_tablespace 
    new_Indextablespace parameters
    
  4. Use the existing tablespaces.

    If methods 1, 2 and 3 are not specified but a table is already assigned to a tablespace, CA Data Protection uses the existing tablespace.

  5. Use the WGNDATA default tablespace.

    CA Data Protection assigns a table to the default WGNDATA tablespace if no other sources are specified.