title | description |
---|---|
ClickHouse |
Learn how to connect Metabase to your ClickHouse database, including connection settings, database selection, and SSL configuration. |
To add a database connection, click on the gear icon in the top right, and navigate to Admin settings > Databases > Add a database.
You can edit these settings at any time. Just remember to save your changes.
After connecting to a database, you'll see the "Connection and sync" section that displays the current connection status and options to manage your database connection.
Here you can sync the database schema and rescan field values, and edit connection details.
To access or modify your database connection settings, click the Edit connection details button.
The display name for the database in the Metabase interface.
Your database's IP address (e.g., 98.137.149.56
) or its domain name (e.g., name.database.com
).
The database port (e.g., 8123
).
The database username for the account that you want to use to connect to your database. You can set up multiple connections to the same database using different user accounts to connect to the same database, each with different sets of privileges.
The password for the username that you use to connect to the database.
Include all of the database you want to be able to query in Metabase. Separate databases with the space character, e.g., db1 db2 db3
.
Scan all tables from all available ClickHouse databases except the system ones.
See SSL certificates.
If a direct connection to your database isn't possible, you may want to use an SSH tunnel. See SSH tunneling.
System-wide proxy settings are disabled by default. You can disable them with this toggle.
Here you can add a string to specify additional ClickHouse settings. Separate settings with a comma, like so:
allow_experimental_analyzer=1,max_result_rows=100
You can limit the number of HTTP connections in the JDBC driver used to connect Metabase to ClickHouse.
You can append options to the JDBC connection string. Separate options with &
, like so:
connection_timeout=1000&socket_timeout=300000
Turn this option OFF if people want to click Run (the play button) before applying any Summarize or filter selections.
By default, Metabase will execute a query as soon as you choose an grouping option from the Summarize menu or a filter condition from the drill-through menu. If your database is slow, you may want to disable re-running to avoid loading data on each click.
See syncs and scans.
Periodic refingerprinting will increase the load on your database.
Turn this option ON to scan a sample of values every time Metabase runs a sync.
A fingerprinting query examines the first 10,000 rows from each column and uses that data to guesstimate how many unique values each column has, what the minimum and maximum values are for numeric and timestamp columns, and so on. If you leave this option OFF, Metabase will only fingerprint your columns once during setup.
There aren't (yet) any model features for ClickHouse.
See Danger zone.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )