利用PowerDesinger生成的数据库物理模型及关系图
收集五年的开发资料下载地址: http://pan.baidu.com/share/home?uk=4076915866&view=share
在数据库建模的过程中,需要运用PowerDesigner进行数据库设计,这个不但让人直观的理解模型,而且可以充分的利用数据库技术,优化数据库的设计。第一次用PowerDesigner并不感到很陌生,里面与SQLServer建立数据库差不多。
正文:
利用PowerDesinger逆向数据物理模型及关系图,第一步是建立ODBC数据源,然后再利用powerdesinger连接ODBC数据源管理数据。
步骤:
1. 首先建立odbc数据源,开始->控制面板->管理工具->数据源(odbc)->系统DSN->添加数 据库驱动(本人是用的oracle。所以就使用 oracle in oraDb10g_home驱动), 建立好数据源测试成功即可。

2.添加myo数据源,添加数据源以后测试连接是否成功。


3.通过powerdesinger逆向工程->数据库得到数据库物理模型。

4.选择数据库类型,建立ODBC连接

5.配置数据源,可能已经存在的数据源,也可以新建数据源

6.如果已存在myo数据源则不需要新建,如果没有则需要新建数据源。配置后测试数据库连接后,即可逆向数据库模型。

7.powerdesinger显示逆向的所有表,并即将生成物理模型和关系实体图。

8.显示出表的结构信息,并可以重新编译生成。

9.powerdesinger为我们建立好数据库关系图,看上去是不是很专业。
