

Database Guide › Database Storage and Partitioning › Set Up Partitions and Purging › Retrospective Partitioning › Partitioning an Existing CMS Database (Oracle)
Partitioning an Existing CMS Database (Oracle)
The following command partitions the CMS database 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_cms
, Partition_Options => Wgn_Partition_Util.wgn_opt_Convert_to_Partitioned
, new_tablespace => 'WGNDATA'
, new_indextablespace => 'WGNDATAIDX'
, pdebug => True
);
This command converts the following tables to partitioned tables and migrates the data:
CMS Event Tables
- WGN3EA
- WGN3EVENT
- WGN3EVENTAUDIT
- WGN3EVENTISSUE
- WGN3EVENTPARTICIPANT
- WGN3ISSUEPARTICIPANT
- WGN3ISSUETRIGGER
- WGN3TRANSACTION
- WGN3TRIGGER
- WGN_UE_EXPORT
Other CMS Tables
The following tables and indexes are placed in the default tablespace. The database administrator can move these tables and indexes to a more suitable location:
- WGN3ADDRESS
- WGN3BLOBDELETION
- WGN3CHECKPOINT
- WGN3CHECKPOINTACK
- WGN3CLASSIFICATIONBASE
- WGN3CLASSIFICATIONNODE
- WGN3DIAGNOSTIC
- WGN3EA_TEMP
- WGN3EVENTQUEUE
- WGN3JOBHISTORY
- WGN3JOBSTATE
- WGN3MGMTGROUP
- WGN3RESOURCE
- WGN3RESOURCEROLE
- WGN3RESOURCETYPE
- WGN3REVIEWMETRICS
- WGN3REVIEWQUEUE
- WGN3ROLE
- WGN3RTEVENTSLICE
- WGN3RTREVIEWMETRICS
- WGN3RTREVIEWQUEUE
- WGN3RTREVIEWTOTALS
- WGN3STRINGI18N
- WGN3USER
- WGN3USERADDRESSEX
- WGN3USERGROUP
- WGN3USERPROPERTYVALUE
- WGN3USERROLE
- WGNBLOB
- WGNEVENTDELETION
- WGNFILE
- WGNGROUP
- WGNGROUPRELATION
- WGNID
- WGNMACHINE
- WGNMACHINELOGIN
- WGNMACHINERELATION
- WGNMONITORCACHE
- WGNMONSUBSCRIBER
- WGNPOLICY
- WGNPOLICYRELATION
- WGNSTATDEFINITION
- WGNSTATEVENT
- WGNSTATEVENTLIST
- WGNSTATNUMBER
- WGNUSERLOGIN
- WGNVERSION
- WGNWELLKNOWNID
- WGNWELLKNOWNSTRINGBASE
- WGN_TAB_POLICY_1
- WGN_UE_CANDIDATES
- WGN_UE_EXPORT_TEMP
Sample scripts to convert and move the CMS database are available from CA Support.
Copyright © 2015 CA Technologies.
All rights reserved.
 
|
|