Create, upgrade, and delete metabases for data replication projects.
Metabases are repositories of database tables and objects that define and manage data replication projects. Each project has a unique metabase tied to a source data connection. Db2 for IBM i, Db2 for LUW, Oracle, and SQL Server data connections used for a replication project must be associated with a metabase. Metabases store replication backlogs, capture status, and metadata about tables enabled for replication.
Create metabase
You can create a metabase when creating a new pipeline, or from the project-level action menu.
- From , click the ellipsis from the global action menu and select Metabase.
- On the Metabase page, if no metabase is present, click +New Metabase.
- Specify the metabase properties for the connection type and click Create. For property details, see Supported metabase.
Upgrade metabase
Upgrade a metabase so the version on the source system matches the installed version of Data Integration on the runtime server.
- Disable capture for all enabled tables in all data connections associated with the metabase.
- Stop the project if not already stopped.
- From the navigation menu, click Projects and open the replication project associated with the metabase.
- Select the metabase and click . The Upgrade Metabase window opens with the current and target versions.
- If using Key Vault authentication, provide the secret key path. For multiple user IDs, enter multiple secret key paths.
- Specify user credentials for the connection type (Db2 for IBM i, Db2 for LUW, or SQL
Server).Note: For Oracle, the Oracle administrator user ID (SYS) displays and cannot be changed.
- Enter the password and click Upgrade.
Delete metabase
When you delete a metabase, tables, procedures, and indexes are removed. What else occurs depends on the connection type:
- Db2 for IBM i: Tables are removed from the metabase library. The library, log files, and configuration files are not removed.
- Db2 for LUW: The metabase schema and tablespace are removed.
- Oracle: All tablespaces are dropped. The replication user, associated privileges, and schema are removed.
- SQL Server: The data and log files are deleted. The replication user and
associated privileges are removed.Note: Physical files on the database system are not removed and must be deleted manually.
- Select the metabase and click . The Delete Metabase dialog opens showing the metabase name, database server, and data connection.
- Specify user credentials for the connection type (Db2 for IBM i, Db2 for LUW, or SQL
Server).Note: For Oracle, the Oracle administrator user ID (SYS) displays and cannot be changed.
- Enter the user password and click Delete.
- Add another metabase as needed. The project cannot be restarted without a metabase.