Discussion Any good suggestion for a quick data modeling tool for reverse-engineering
I would be working on a new job and I need to look at the data model of a system. I would expect that there is no documentation coming along my way, so I would need to make one for myself. I used to use Visio (am I old? yes, yes I am) to generate a data model to print and keep around the workarea, but I don't want to use that anymore and am looking at leveraging new tools. Something that is on my local machine and connect to a database server in the network to generate the model (keeping things out of the cloud for the moment)? If possible, something that could also be used for non SQL Servers (but I would probably first use this for SQL Servers).
Any good suggestions?
1
Upvotes
1
u/Dats_Russia Apr 20 '26
Pretty much every ERD tool will reverse engineer.
Unless you are using some new flavor of RDBMS or something with a lot of proprietary file formats the big 4, Oracle, SQL Server, MySQL, and PostGres can be reverse engineered by any ERD app or program.
Now things change if you are trying to make documentation or forward engineer. Aside from generating ERDs what is your goal?
3
u/ur_GFs_plumber Apr 20 '26
Jetbrains DataGrip has a built in diagram featureset. I use it create and visualize DDLs. I also use it to connect to data sources and instantly have a diagram of the data model.
3
u/mastajaspa2021 Apr 20 '26
Lucidchart does this with free
1
u/No-Adhesiveness-6921 Apr 20 '26
I have been using Claude. It does a great job with visualization of tables and relationships
I used Claude to analyze an entire database to identify missing objects, create table stored procedures that are not aligned with the current table structure, tables that are missing create stored procedures, and other aspects. It was great!
1
u/titpetric Apr 22 '26
Depending on the sql, https://github.com/go-bridget/mig gives you exports to plantuml/svg, markdown, yaml schema for sqlite/mysql/maria/postgres, stuff you can generate, review and stick in a wiki
1
u/RobotAnna1 Apr 22 '26
My colleague did this recently using github copilot. With some careful prompting it was able to read the DDLs and produce a draw.io data model. We still needed to query the tables to check cardinality, but at least it drew the model including PKs and all relationships.
1
u/Datensen Jul 10 '26
Luna Modeler is a data modeling tool that provides reverse engineering capabilities for SQL Server and other relational databases. It runs on Linux, Windows, and macOS.
1
u/Jamie_Bates Aug 02 '26
PowerDesigner is a retiring but easy to use data modeling tool. I’m sure a company will purchase their rights just like MS VB 6.0. But, if you need support, I would consider Erwin, the industry standard. Personally, if you are already using Visio, and you know VBA, you can create DML, DDL, and DCL using dynamic SQL and reverse engineer existing projects. You can also engineer an RDBMS using Visio illustration toward SQL Server, Access, Oracle, etc…
0
u/navicat-gu Oct 19 '26
A few that connect directly to a live database and draw the diagram for you:
Disclosure: I'm RC, Director of Digital Strategy @ Navicat. Navicat 18's modelling tool does reverse engineering from a live connection, lets you add relationships manually, and can export the diagram or generate DDL. That's in Navicat Premium (free trial available); Navicat Premium Lite, which is free, covers the browsing/query side.