August 27th, 2024

ChartDB – Free and open source, database design editor

ChartDB is a free, open-source database design editor that visualizes schemas quickly, supports major RDBMS, features an advanced query editor, and allows exporting diagrams as SQL scripts or images.

Read original articleLink Icon
FrustrationCuriosityAppreciation
ChartDB – Free and open source, database design editor

ChartDB is a free and open-source database design editor that allows users to visualize their database through a single query, retrieving the entire database schema in just 15 seconds. It supports popular relational database management systems (RDBMS) including MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, and SQLite. Users can build diagrams quickly, export SQL scripts, and customize their editing experience. The platform features an advanced query editor that facilitates seamless editing, including options for undo, redo, and managing tables and relationships. Additionally, ChartDB provides pre-designed examples to help users get started and generates visually appealing previews of database diagrams for easy sharing. The tool also includes AI capabilities for generating Data Definition Language (DDL) scripts tailored to specific database dialects.

- ChartDB is a free and open-source tool for database design and visualization.

- It supports major RDBMS like MySQL, PostgreSQL, and SQL Server.

- Users can retrieve their entire database schema with a single query in 15 seconds.

- The platform includes an advanced query editor and pre-designed examples for ease of use.

- Diagrams can be exported as SQL scripts or images for documentation purposes.

Related

Show HN: WhoDB – Streamlined, Lightweight Database Management with a Sleek UI/UX

Show HN: WhoDB – Streamlined, Lightweight Database Management with a Sleek UI/UX

WhoDB is a database management tool on GitHub, developed in GoLang for speed. It includes interactive graphs for database schema visualization. Find more details on the WhoDB GitHub Repository.

WhoDB: Lightweight next-gen database explorer

WhoDB: Lightweight next-gen database explorer

WhoDB is a database management tool by Clidey, written in GoLang. It features interactive graphs for database schema visualization, supporting PostgreSQL, MySQL, SQLite3, MongoDB, and Redis. It aims for Adminer's simplicity with improved user experience and performance. Access the WhoDB GitHub Repository for details.

The Ultimate Database Platform

The Ultimate Database Platform

AverageDB, a database platform for developers, raised $50 million in funding. It offers speed, efficiency, serverless architecture, real-time data access, and customizable pricing. The platform prioritizes data privacy and caters to diverse user needs.

DB Browser for SQLite (Windows, macOS, and Most Versions of Linux)

DB Browser for SQLite (Windows, macOS, and Most Versions of Linux)

DB Browser for SQLite (DB4S) is an open-source tool for SQLite databases, supporting Windows, macOS, Linux, and Unix. It enables table management, data manipulation, SQL queries, and visualization features. Version 3.12.2 is current, with a 3.13.x-rc1 release. Nightly builds are also available for testing.

Show HN: Visualize database schemas with a single query

Show HN: Visualize database schemas with a single query

ChartDB is an open-source web tool for visualizing and editing database schemas, supporting instant schema import and AI-generated DDL scripts, compatible with multiple databases, and offering community support.

AI: What people are saying
The comments on ChartDB reflect a mix of opinions and concerns regarding database design tools and their usage.
  • Many users express skepticism about the necessity and practicality of creating ER diagrams, suggesting they are often overlooked in project documentation.
  • Some commenters highlight the challenges of using existing tools, such as issues with mobile performance and the need for better integration with coding workflows.
  • There is a desire for tools that allow for scripting and automation rather than relying solely on graphical interfaces.
  • Users mention alternative tools like dbdiagram.io and DBeaver, indicating a competitive landscape in the database design tool market.
  • Concerns about the maintenance and relevance of comprehensive ER diagrams are raised, with some suggesting that simpler, more flexible solutions may be preferable.
Link Icon 16 comments
By @albert_e - 4 months
I have seen project teams diving into developing a new application without having a basic diagram in place explaining any aspect of the solution -- including the data model.

Not sure what it takes for simple ER diagrams to become the norm for project documentation. In spite of so many tools being available in this space hardly anyone actually uses them in practice.

Maybe Microsoft has to make it a feature in Excel or PowerPoint for people to use it?

These diagrams need not be exhaustive but should convey the key structure and relations as per context. We can create a dozen small diagrams for the same database if needed to document the requirements and design. Whatever works and does the job of communicating and documenting.

By @iblaine - 4 months
I used to be bullish on creating ERDs, often using them as an onboarding exercise, even for databases with 100+ tables. However, comprehensive ERDs are becoming rare, and that's okay. Their value is short-lived due to the high cost of maintenance. While polished ERDs can be nice to have, they aren't essential.

For creating ERDs as code, tools like dbdiagram.io and eraser.io are popular options. ERWin is the original tool for UML/ERD diagrams, but it's expensive.

By @kristopolous - 4 months
Why do people use things like this? Is it for talking with managers?

I'm being sincere. Maybe I should be using it. I don't see why though.

By @ChrisArchitect - 4 months
By @mvdwoord - 4 months
many such offerings around, it seems. What I am looking for however, is a tool which I can use / script against. My use case is to produce (relatively straightforward) db diagrams from some model descriptions I have (part of another process). I have table names, column names, and relationships in a memory structure, and want to draw an ER like diagram. Currently looking at producing this wit plantuml, generating the puml file form my data, then running plantuml to generate the png / svg.

Looking around i find most tools in this corner are either full fledged DB design tools with their own editor, but no API. The others like this and things like dbdiagram.io usually are focused online only, which is not an option for me.

Any suggestions greatly appreciated...

By @gkhartman - 4 months
I wish this existed when I started my project 5 years ago. I had to design a database schema for a full stack project using postgres. I was working with a scientific domain expert, and it was very helpful to have a diagram to review, so they could identify issues that might arise due to future domain specific needs.

This caused many one-on-one meetings where we would look at the diagram, and I'd note changes to be made for next meeting.

With this, we could have made changes live during meetings, and saved many iterations.

Things like pgadmin existed, but it didn't look as friendly for non-technical folks. This might decrease some friction.

By @password4321 - 4 months
dupe? (3 days ago for the project's GitHub) https://news.ycombinator.com/item?id=41339308
By @artyom - 4 months
Lovely, but my main problem with these tools is that they're unidirectional and aim to be the central authority. But they're a picture, no the database.

I understand why people uses them, I just don't need a tool like that.

So every tool "exports to SQL" expecting all changes in the database are reflected in the diagram. But the diagram is not the database. So we've got two jobs now.

By @sleep_walker - 4 months
dbeaver https://dbeaver.com/docs/dbeaver/ER-Diagrams/ does ERD. They are interactive and malleable. May not be "beautiful" but the whole product is FOSS and insanely useful for any database work.
By @fnord123 - 4 months
Why does the page have so much scrolling jank for a static landing page?
By @Lord_Zero - 4 months
What's different between this and drawdb
By @magden - 4 months
Cool, works with my YugabyteDB deployment using the provided scripts for Postgres.
By @AnEro - 4 months
love it, but it doesn't (yet) handle editing huge tables with 100+ columns where the scroll bar jumps around a ton while trying to type. 100% going to be watching this project, and building smaller things with it
By @fartcanister - 4 months
Why is the mobile version of the website so slow?
By @lfmunoz4 - 4 months
data types seem wrong, ie. sqlite doesn't have smallint right?