TheDocumentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-replace-private-preview-badge-man.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
ExternalDistributed engine allows to perform SELECT queries on data that is stored on a remote servers MySQL or PostgreSQL. Accepts MySQL or PostgreSQL engines as an argument so sharding is possible.
Creating a table
- Column names should be the same as in the original table, but you can use just some of these columns and in any order.
- Column types may differ from those in the original table. ClickHouse tries to cast values to the ClickHouse data types.
engine— The table engineMySQLorPostgreSQL.host:port— MySQL or PostgreSQL server address.database— Remote database name.table— Remote table name.user— User name.password— User password.
Implementation details
Supports multiple replicas that must be listed by| and shards must be listed by ,. For example: