Use PowerDesigner to convert the table structure in Oracle to the physical data model

Source: Internet
Author: User
Tags powerdesigner

Use PowerDesigner to convert the table structure in Oracle to the physical data model

I recently learned about the subtle relationship between PowerDesigner and oracle because of my work needs. I would like to share my summary with my friends.

1. Export the physical data model in oracle

1. The export process is a reverse engineering process. You can also use a familiar database modeling tool. The following describes how to export data using PowerDesigner.

Preparations:

A. Install PowerDesigner. This document uses version 12.5.

B. Install the oracle client (32-bit, 64-bit does not seem to be supported)

C. If the oracle client is not installed, ignore step B. But if you want to continue, you have to have a table creation script. (Ps: SQL file yo)

D. Even the English language is not good, so the Chinese language is just a bit better. If you are a good English speaker, you can check the English language on your own.

OK.

2. Open PowerDesigner and follow the procedure.

Then, select the database type. Here, select oracle. Other types of databases should be similar. Please study them on your own.

3. Next, we will see two options. One is to use database script modeling, and the other is to connect to the database modeling. Below first

Let's talk about using the database script for modeling. OK. Select the script to start.

This is the end, and the rest of the process will be automatically completed by PowerDesigner.

4. Another case may be the most common case. You need to connect to a remote database for modeling. OK. Let's explain it through operations.

First, select a database, for example, operation.

Here we will break down the detailed action of Configure:

After you select Configure... in the previous step, the following page will be displayed. The remaining three steps are OK after you proceed step by step.

Step 1:

Step 2

Step 3

So far, our data source has been configured. If you have configured the data source information in the past, you can directly go to the last step and select table modeling.

5. When we connect to the database, click OK in the select modeling data source window to view the following page.

So far we have obtained the physical data model through reverse engineering, but how can we get the Logical Data Model?

2. Obtain the Logical Data Model model through the physical data model

1. Select the physical data model to be converted and then perform the operation

2. In the displayed dialog box, enter the information you want to enter and click Save.

3. Did you notice that there is no Purple =. With it, the code will be automatically changed to the name value whenever you change the name. This is of course our

The reverse engineer does not want to see it. As long as the settings are as follows, after saving, the code value will not change as the name value changes.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.