Implementing Siebel eBusiness Applications on DB2 UDB for OS/390 and z/OS > Customizing a Development Environment >

Converting Nonpartitioned Tables to Partitioned Tables


Siebel eBusiness Applications support two scenarios for converting nonpartitioned tables to partitioned tables.

NOTE:  In the procedures below, source table refers to your current nonpartitioned table, and target table refers to the destination partitioned table.

Perform the following steps if your database layout has a multiple-tables-per-table space structure, and you want to convert a nonpartitioned table to a partitioned table defined in the same table space.

To convert to a partitioned table for a multiple-tables-per-table space configuration

  1. Review the Siebel objects naming convention that is used in the one-table-per-table space partitioned storage control file (storage_p_1to1.ctl) to determine the name of the table space that you want to move your nonpartitioned table to.
  2. NOTE:  Verify that the new table space name is unused.

  3. Modify the storage file with the new table space name by using the dbconfig process (define it as a partitioned table space and define the table in this new table space).
  4. Run the Siebel Software Configuration Utility: Migrate Development to Production. This process automatically rebuilds the source tables in the new partitioned table space and drops the original table.

Perform the following steps if your database layout has a single-table-per-table space structure, and you want to convert a nonpartitioned table to a partitioned table defined in the same table space.

To convert to a partitioned table for a one-table-per-table space configuration

  1. Use your preferred database tool to manually move every nonpartitioned table (every table that you intend to convert) to a temporary table space, and then drop their original table spaces.
  2. Use the dbconfig.xls utility to modify the storage control file, changing the mode of the table spaces to partitioned.
  3. Run the Siebel Software Configuration Utility: Migrate Development to Production. This process automatically rebuilds the source tables in the new partitioned table space and drops the original nonpartitioned table.
  4. Manually drop the temporary table space that you created in Step 1.

To convert nonpartitioned tables to partitioned tables using alternate tools


 Implementing Siebel eBusiness Applications on DB2 UDB for OS/390 and z/OS 
 Published: 18 April 2003