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 DataMinder 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 DataMinder supports the following methods for assigning tables to tablespaces. CA DataMinder 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 DataMinder uses the existing tablespace.

  5. Use the WGNDATA default tablespace.

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