Trouble with ClickHouse database
6 posts from 2 people5d activeRising, +3 this week
Posts per day
The posts behind it
A refused `DROP DATABASE` or `DETACH DATABASE` stops the replication of a `Replicated` or `MaterializedPostgreSQL` database
### Describe what's wrong `InterpreterDropQuery::executeToDatabaseImpl` calls `database->stopReplication()` for every database with `hasReplicationThread` (`DatabaseReplicated`, `DatabaseMaterializedPostgreSQL`) before it goes through the tables...
MySQLDump format rejects dumps starting with CREATE DATABASE
...there are no INSERT queries and suggests an explicit structure, which also fails. - Workaround is setting `input_format_mysql_dump_table_name`, but that defeats normal dump loading. Root cause: In `MySQLDumpRowInputFormat::skipToInsertOrCreateQuery`, the `continue` inside the...
`Filesystem` database rejects all tables when `user_files_path` is a symlink
...the same path. - Actual: no spelling of the path succeeds, so the `Filesystem` engine is unusable whenever the data directory is relocated via a symlink. Root cause: `checkTableFilePath` in `DatabaseFilesystem.cpp:134-140` compares the table path against the raw, uncanonicalized...
`DROP NAMED COLLECTION` succeeds while a database uses the collection, and the server then fails to start
### Describe what's wrong Since https://github.com/ClickHouse/ClickHouse/issues/77366, `DROP NAMED COLLECTION` refuses to drop a collection that a table uses (`NAMED_COLLECTION_IS_USED`): a table registers itself as a dependent of its collection...
A database `SETTINGS unknown_name = DEFAULT` is accepted and stored
### Describe what's wrong `CREATE DATABASE ... SETTINGS` rejects an unknown setting written as `name = value` (`UNKNOWN_SETTING`), but accepts the same name written as `name = DEFAULT`, and stores it in the database's definition, where it stays after a restart. A typo in a reset...
SYSTEM DROP DATABASE REPLICA ... FROM ZKPATH formatter drops WITH TABLES
### Describe what's wrong - EXPLAIN SYNTAX, formatQuery and clickhouse-format silently strip the WITH TABLES clause. - Trigger: SYSTEM DROP DATABASE REPLICA with FROM ZKPATH and WITH TABLES. - Expected output keeps WITH TABLES; actual output omits it. - Running the reformatted...
Companies and products named
About this problem
Evidence
6 posts from 2 people in 1 place, about 2 a week over 23 days. Mostly on ClickHouse/ClickHouse. Tools named alongside: GitHub, PostgreSQL, MySQL, Docker.
Frustration Frustration 1 of 3· Seen on GitHub issues
How it was grouped
Posts about ClickHouse with no known issue, sharing the word "database". First post Oct 4, 2026, latest Oct 26, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
Other ClickHouse problems
ClickHouse users keep filing bugs
Top post: "Tighten seccomp policy for optional kernel interfaces", one of 35 posts from 13 people on GitHub issues.
Trouble with ClickHouse table
Top post: "`SYSTEM RESTORE REPLICA` on a second replica over-bumps the table `metadata` znode version; every later", one of 7 posts from 5 people on GitHub issues.
ClickHouse upgrades break working setups
23 posts from 14 people on GitHub issues.
ClickHouse costs outgrow the value it gives
9 posts from 3 people on GitHub issues.
Experiments on ClickHouse are hard to reproduce and track
7 posts from 1 person on GitHub issues. Unverified.
ClickHouse error messages are cryptic
5 posts from 3 people on GitHub issues.
Trouble with ClickHouse read
Top post: "ORC: a corrupt PostScript `metadata_length` makes ORC predicate pushdown read `stripe_stats` out of bounds,", one of 4 posts from 4 people on GitHub issues.
Trouble with ClickHouse join
Top post: "Explicit grace_hash now spills at max_bytes_ratio_before_external_join = 0.5 although the build side fits in", one of 4 posts from 3 people on GitHub issues.
Trouble with ClickHouse name
Top post: "SIGSEGV reading a `7z` archive entry without a name", one of 3 posts from 2 people on GitHub issues.
ClickHouse rate limits and usage caps block work
3 posts from 3 people on GitHub issues.
Trouble with ClickHouse return
Top post: "Docs: h3GetResolution incorrectly says invalid indexes return a random value", one of 3 posts from 3 people on GitHub issues.
Trouble with ClickHouse merge
Top post: "GROUP BY over a near-unique key with ORDER BY count() DESC LIMIT n: bound group counts before counting them", one of 3 posts from 2 people on GitHub issues.
History