DbSchema lets you design, manage, and document ClickHouse databases. Create ER diagrams, define tables and columns, and generate SQL scripts - with or without a live database connection.
Use Git to share the design, compare it with the ClickHouse database, and deploy changes. DbSchema also includes a data editor, query builder, and HTML5 documentation - everything you need in one tool.
Open DbSchema, then click "Connect to Database" on the Main Screen and choose your database system.
DbSchema will automatically download the required JDBC driver.
For more details, read the Connection Dialog page.
The following command is used to start a ClickHouse server container using Docker. Here's what each part of the command does:
docker run -d --name clickhouse --ulimit nofile=262144:262144 -p 8123:8123 -p 9000:9000 -p 443:443 yandex/clickhouse-server
clickhouse to the container for easier reference.262144, which is important for ClickHouse's performance.8123 on the host machine to port 8123 in the container for HTTP interface access.9000 on the host to port 9000 in the container for native client connections.443 on the host to port 443 in the container for secure HTTPS connections.After running this command, the ClickHouse server will be accessible through the mapped ports for interacting with databases using the HTTP, native client, or HTTPS interfaces.
Firewalls & anti-viruses may block database connections.