database 实体关系图软件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4108816/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 07:54:25  来源:igfitidea点击:

Entity relationship diagram software

database

提问by danidacar

I'm looking for a tool that generates DB diagrams.

我正在寻找一种生成数据库图的工具。

  • Free (open source maybe)
  • Works in Linux (cross-platform maybe)
  • Supports PostgreSQL/MySQL
  • 免费(可能是开源的)
  • 适用于 Linux(可能跨平台)
  • 支持 PostgreSQL/MySQL

回答by David

diagrams.netis free and open source(I work on the project). It does work on Linux and has a generic SQL import, under Arrange->Insert->SQL.

Diagrams.net是免费和开源的(我在做这个项目)。它可以在 Linux 上运行,并且在排列->插入->SQL 下有一个通用的 SQL 导入。

You can save either locally, or directly to Google Drive, OneDrive or Dropbox. There's also a Desktop versionavailable.

您可以在本地保存,也可以直接保存到 Google Drive、OneDrive 或 Dropbox。还有一个桌面版本可用。

ER shapes in draw.io

draw.io 中的 ER 形状

回答by orangepips

MySQL Workbenchis a good tool for working with its namesake that does ERD modeling. I've used it on both Windows and Ubuntu.

MySQL Workbench是一个很好的工具,可以使用它的同名工具进行 ERD 建模。我在 Windows 和 Ubuntu 上都使用过它。

回答by Gerson Sosa

If you are looking for an entity relationship model (not relational model) you have to try Dia http://dia-installer.de/

如果您正在寻找实体关系模型(不是关系模型),您必须尝试 Dia http://dia-installer.de/

This software works on linux/windows/mac. And have a branch on git.

该软件适用于 linux/windows/mac。并且在 git 上有一个分支。

The entity relationship model has the purpose of make a model of the problem and let you understand the problem, so in the end you can generate a good relational model to have the most efficient model for you database.

实体关系模型的目的是为问题建立模型并让您了解问题,因此最终您可以生成一个好的关系模型,为您的数据库提供最有效的模型。

This software is not intended to generate mysql tables directly but it has a plugin to convert Dia diagrams to sql, you can check it out in the same link.

这个软件不是用来直接生成mysql表的,但是它有一个插件可以将Dia图转换为sql,你可以在同一个链接中查看

回答by a_horse_with_no_name

You might want to try PowerArchitect
It's Java based (therefor cross-platform) and I have used it successfully with PostgreSQL

您可能想尝试PowerArchitect
它是基于 Java 的(因此是跨平台的)并且我已经成功地将它与 PostgreSQL 一起使用

If you do want to spent some money (albeit not much), have a look at DbWrenchwhich offers more features than PowerArchitect

如果您确实想花一些钱(尽管不多),请查看DbWrench,它提供的功能比 PowerArchitect 还多

Another open source/cross-platform option is Mogwai ERDesigner. Although there is one thing that I really don't like about it: if requires a connection to a database (to validate/define datatypes) which I find a very limiting requirement.

另一个开源/跨平台选项是Mogwai ERDesigner。虽然有一点我真的不喜欢它:如果需要连接到数据库(以验证/定义数据类型),我发现这是一个非常有限的要求。

回答by Gunther Schwarz

I use Software Ideas Modelerfor entity relationship diagrams. It could meet your requirements - it's not open source but it has a free version, it works in Linux via Mono and it supports MySQL.

我将Software Ideas Modeler用于实体关系图。它可以满足您的要求——它不是开源的,但有一个免费版本,它通过 Mono 在 Linux 中运行,并且支持 MySQL。

回答by Krunal

If you are looking for some software to auto generate ER diagram from existing database then you will love this tool: http://schemaspy.org/

如果您正在寻找一些软件来从现有数据库自动生成 ER 图,那么您会喜欢这个工具:http: //schemaspy.org/