Reversing Databases
You can import tables from databases of other data sources to a specified ER model (except the OBS type).
Prerequisites
Before reversing databases, collect data assets from databases in DGC Data Assets so that the system can synchronize tables to DGC Data Assets later. Otherwise, the synchronization tasks may fail. See Task Management for details.
Importing a Table to a Specified Model by Reversing the Database
- On the DGC Data Design console, choose ER Modeling from the left navigation bar.
- In the ER model tree, select a model, expand it, and select a sub-item. On the displayed page, click Reverse Database in the upper left corner.
- In the Reverse Database dialog box, set the parameters in the figure below: Figure 1 Reverse Database dialog box
Table 1 Parameters Parameter
Description
Subject
Click Select to select a subject.
Data Connection Type
If you reverse tables to a logical model, select a required data connection type from the drop-down list.
If you reverse tables to a physical model, the data connection type of the current model is displayed.
Data Connection
The name of the data connection. Select the required data connection.
If you want to reverse a database from other data sources to an ER model, you need to create a data connection in the DGC Management Center to connect to the data source. For details on how to create data connections, see Creating Data Connections.
Database
The name of the database. Select a database from the drop-down list.
Queue
This parameter is displayed only for the DLI data connections. Select a DLI queue.
Schema
This parameter is displayed only for DWS data connections. You need to set Data Connection Type to DWS.
Update Existing Table
Whether to update the existing table if the table to be imported already exists in the ER model. When a table is imported, the system checks whether the table exists according to its code. During the import, only table creation and update are allowed.
- No: If you select this option, the existing tables will not be updated.
- Yes: If you select this option, the existing tables will be updated. If a table is in the Published state, you need to publish the table again after updating it so that the updated table can take effect.
Data Table
If you select All, all tables in the database are imported to the ER model.
If you select Partial, not all tables in the database are imported to the ER model.
- Click Yes to start reversing the database.
Last Article: Designing Physical Models
Next Article: Associating with Quality Rules
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.