Running Db2 CustomDBViews in a sharded deployment
Procedure
- Run all of the scripts within each directory
for each shard:
<INSTALL_DIR>/database/db2/scripts/CustomDBViews/<tabletype>where
<tabletype>isconfiguration,transaction, andmaster. - Run the
configurationtable type scripts for the Configuration shard, thetransactiontable type scripts for the Transaction shard, and themastertable type scripts for the Master shard. - Additionally, for a sharded deployment, run
yfs_addnl_index.sqlin<INSTALL_DIR>/database/db2/scripts/CustomDBIndexes/<tabletype>where
<tabletype>isconfigurationandtransaction.Note: When running the custom view scripts manually, ignore the wms_master_db_script.sql script.