對於數據模型的建模,最有名的要數ERWin和PowerDesigner,基本上,PowerDesigner是在中國軟件公司中他是非常有名的,其易用性、功能、對流行技術框架的支持、以及它的模型庫的管理理念,都深受設計師們喜歡。PowerDesigner是我一直以來非常喜歡的一個設計工具,對於它,我可以用兩個字來形容,那就是我能駕馭這個工具! 現在所在的公司自上市以來,對軟件版權問題看得非常重,公司從上市以后,對軟件的版權做了一些相應的規定,不允許使用破解的軟件,軟件只能使用開源的、免費的、或者共享的軟件!所用軟件必須公司注冊的!沒辦法,我也只能放棄我多年的喜好,轉向開源、免費的領域! 數據庫物理建模是在軟件設計當中必不可少的環節,數據庫建得怎么樣,關系到以后整個系統的擴展、性能方面的優化以及后期的維護。使用一個數據建模工具是非常必須的。那在開源或免費的領域,有沒有比較好的工具呢?其實是有很多的,只是開源這一塊,功能上、易用性上沒有商業軟件那么好用! 現在介紹幾個相對比較好用的工具: 第一個:ERDesigner NG 官方網址是:http://mogwai.sourceforge.net/?Welcome:ERDesigner_NG 屬於sourceforge的一個開源產品,目前版本為1.4 以下是官方所描述的: 程序代碼 The Mogwai ERDesigner is a entity relation modeling tool such as ERWin and co. The only difference is that it is Open Source and does not cost anything. It was designed to make database modeling as easy as it can be and to support the developer in the whole development process, from database design to schema and code generation. This tool was also designed to support a flexible plug in architecture, to extend the system simply by installing a new plug in. This way, everybody can implement new features and tools to make ERDesigner fit the requirements. ERDesigner NG * is based on Java and can be run on Windows and Unix systems * has a powerfull WYSIWYG for physical database design * handles tables, relations, indexes and comments * supports subject areas * supports MySQL, oracle, Microsoft SQLServer and Postgres * creates the SQL DDL statements for schema creation * has an integrated schema version control system * can generate schema migration scripts for every change * stores the database definition as XML files for further processing * can export the database schema as GIF, BMP, JPEG or SVG files * has an integrated reverse engineering module for existing schemas * it is based on GPL license * support is available by authors and newsgroups 從上述的描述我們可以看得出,軟件支持多種主流的數據庫,比如mysql、oracle、MSSQLSERVER等。 功能方面支持反向工程、數據庫比較、通過建模自動產生ddl、將模型圖導成圖片等等。 軟件的截圖如下:
第二個:ModelRight3 官方網址為:http://www.modelright.com/Default.aspx 以下是官方的介紹: 程序代碼 Need to design, visualize or document your database? ModelRight 3 can reverse engineer your existing database to give you a graphical view of it, generate all the SQL statements to create the database, or synchronize your database model with the database to keep your design up to date. Do you need to control the most detailed aspects of your database? ModelRight 3 has more complete and in-depth support for your database's (Oracle, SQL Server, MySQL or any via ODBC) most advanced features. 別以為真的支持這么多數據庫,這個是專業版的才知識這么多,如果你叫錢多多,那你就去買專業版吧! 這個產品是比ERDesigner NG專業的一個,理由非常簡單,它本身就是一個商業的工具,不過,也有免費版本,只是免費版權在數據庫的支持上少了好多!今天我們介紹的就是這個免費版本,只支持mysql,比較痛苦!產商其實不太厚道! 下個圖片截圖吧!
看了專業版的千萬不要眼紅,使用是要付出代價的!如果我們每個人都是錢多多,多好啊!
第三,OpenSystemArchitect(推薦產品) 官方網址是:http://www.codebydesign.com/ 這是一個開源做得比較徹底的一個產品,推薦大家使用。 最喜歡的一點說法是操作習慣有點類似於PowerDesigner,界面比PD丑一點,但是,還挺好用的! 它支持windows、Linux 以下是官方的介紹: 程序代碼 Open System Architect (OSA) is an application used for modelling a system. OSA currently supports data modelling (physical and logical) with UML in the works. The unique thing about OSA is that it is an Open Source product licensed under the General Public License (GPL). The free factor makes OSA particularly interesting for students but OSA is powerful enough to compare favourably with products costing thousands of dollars. OSA is sponsored by CodeByDesign (the originally developer of OSA) and by Source Forge (they host the community collaboration environment for OSA). 以下是官方的demo,看完這些截圖之后,我相信你馬上會下載一個用用! 為什么,確實是厚道! Logical Model
Physical Model
SQL Editor
第四個:Mysql WorkBench 官方網址:http://dev.mysql.com/workbench/ Mysql官方出的設計工具,for mysql
當今的商業決策對基於天的數據依賴越來越強烈。然而,正確而連貫的數據流對商業用戶做出快速、靈活的決策起到決定性的作用。建立正確的數據流和數據結構才能保證最好的結果。這個過程叫做數據建模。為了避免認為錯誤並且加快進度,我們需要使用專業的軟件來幫助我們建立數據邏輯模型和物理模型、生成DDL,並且能夠生成報告來描述這個模型,同時分享給其他伙伴。本文列出的工具都是從Data to Value公司咨詢顧問處精挑細選的數據建模工具。
PowerDesigner
PowerDesigner是目前數據建模業界的領頭羊。功能包括:完整的集成模型,和面向包含IT為中心的、非IT為中心的差異化建模訴求。支持非常強大的元數據信息庫和各種不同格式的輸出。PowerDesigner擁有一個優雅且人性化的界面,非常易懂的幫助文檔,快速幫助用戶解決專業問題。

ER/Studio
ER/Studio 是一個支持多平台環境的直觀數據建模工具,並且本地集成了用於處理大數據平台,例如-MongoDB和Hadoop Hive。它能夠進行正向和逆向工程,並且擁有“比較合並”功能,能夠輸出例如XML、PNG、JPEG等格式文檔。內建自動執行任務功能支持當前流行數據庫平台。ER/Studio功能非常強大,擁有直觀的界面和很好的用戶支持特別易於馬上開始工作。

Sparx Enterprise Architect
Enterprise Architect是一個擁有豐富功能的數據建模工具。自詡是高性價比的明智之選。Enterprise Architect幫助企業用戶快速建立強大的可維護的系統,而且很容易在共享項目中擴展到大型的協作團隊中去。 Enterprise Architect 同樣有動態運行模擬模型的能力,用以驗證模型和更加正確和深入的理解原來商業系統運作的方式。

Sparx Enterprise Architect
Enterprise Architect是一個擁有豐富功能的數據建模工具。自詡是高性價比的明智之選。Enterprise Architect幫助企業用戶快速建立強大的可維護的系統,而且很容易在共享項目中擴展到大型的協作團隊中去。 Enterprise Architect 同樣有動態運行模擬模型的能力,用以驗證模型和更加正確和深入的理解原來商業系統運作的方式。

CA ERwin ERwin 也是業界領先的數據建模解決方案,能夠為用戶提供一個簡單而優雅的界面同時處理復雜的數據環境問題。Erwin的解決方案提提供敏捷模型,同時元數據可以放在普通的數據庫中進行處理,這樣就能夠保證數據的一致性和安全性。Erwin支持高度自定義的數據類型、APIs,允許自動執行宏語言等等。Erwin還建有一個很活躍的用戶討論社區,使得用戶之間可以分享知識和各種經驗。

IBM - InfoSphere Data Architect
InfoSphere 是一個很創新的、運行在開源平台-Eclipse上的數據建模工具。Infopshere主要聚焦於一下三個主要的特性:高效、簡潔、高度集成。InfoSphere能夠幫助商業用戶建立邏輯、物理模型圖,並且之后能非常方便的在各種不同的應用和系統中進行使用。InfoSphere是一個端到端的解決方案,可以快速高效地用在建立、部署、更新數據模型。同時為非常簡易的集成了IBM的其他相關產品。
