实验环境说明:

(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数据库的物理数据模型

 

相关文章:

  • 2021-05-01
  • 2021-04-04
  • 2021-06-30
  • 2021-04-07
  • 2021-11-02
  • 2021-06-14
  • 2022-12-23
猜你喜欢
  • 2021-07-25
  • 2021-12-09
  • 2021-11-27
  • 2021-10-03
  • 2021-06-10
  • 2021-05-20
相关资源
相似解决方案