使用PowerDesigner生成PostgreSQL数据库的物理数据模型

 

实验环境说明:

(1)    操作系统: Windows Server 2008

(2)    PowerDesigner 15

(3)    PostgreSQL 9 (x86)

(4)    PostgreSQL ODBC驱动程序: psqlODBC
         网址: http://www.postgresql.org/ftp/odbc/versions/msi/
         文件: psqlodbc_09_00_0300.zip

 

01. 安装PostgreSQL的ODBC驱动程序

      下图中的odbc驱动没有找到,使用的是(ODBC Driver for PostgreSQL)

      https://www.devart.com/odbc/postgresql/download.html

02.   启动PowerDesigner

(1)    新建物理数据模型

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

Model type:

         Physical Data Model

DBMS:

         PostgreSQL 8

         Copy the DBMS definition in model

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

 

(2)    新建数据源

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

 

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

 

(3)    生成数据库的物理数据模型

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

 

使用PowerDesigner生成PostgreSQL数据库的物理数据模型

去掉以"pg_"开头的数据表(因为这些数据表是PostgreSQL自动生成的). 可以选择感兴趣的数据表, 导出物理数据模型.

使用PowerDesigner生成PostgreSQL数据库的物理数据模型