Previous Topic: Partitioning an Existing CMS Database (Oracle)Next Topic: Enable Multiple Concurrent Block Connections


Partitioning an Existing Data Warehouse (Oracle)

The following command partitions the data warehouse with partition dates that match the CMS.

Run this command as the schema owner, using the SQL*Plus utility:

SQL> EXEC Wgn_Partition_Util.wgn_partition_tables(
	partition_dates 		=> Wgn_Partition_Util.get_partition_dates(Wgn_Partition_Util.wgn_db_type_cms)
	, db_type 		=> Wgn_Partition_Util.wgn_db_type_DW
	, Partition_Options 	=> Wgn_Partition_Util.wgn_opt_Convert_to_Partitioned
	, new_tablespace 	=> 'WGNDATADW'
	, new_indextablespace 	=> 'WGNDATADWIDX'
	, pdebug 		=> True 
	);

The command converts the following tables to partitioned tables and migrates the data:

Fact Tables

This command also moves the data warehouse fact tables to the WGNDATADW and WGNDATADWIDX partitions.

Other Data Warehouse Tables

The following data warehouse tables and indexes are placed in the default tablespace. The database administrator can move these tables and indexes to a more suitable location.

Dimension Tables

Staging Tables

Dimension Indexes

Staging Indexes

Sample scripts to convert and move the data warehouse are available from CA Support.