Running PostgreSQL CustomDBViews in a sharded deployment
Procedure
- Run all the scripts within each directory for each shard:
<INSTALL_DIR>/database/postgresql/scripts/CustomDBViews/<tabletype>Here,
<tabletype>refers toconfiguration,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. - For a sharded deployment, run
yfs_addnl_index.sqlin<INSTALL_DIR>/database/postgresql/scripts/CustomDBIndexes/<tabletype>Here,
<tabletype>refers toconfigurationandtransaction.Note: When you manually run the custom view scripts, ignore thewms_master_db_script.sqlscript.