v.25.6New Feature
Support disk setting
Supportdisksetting forAtomicandOrdinarydatabase engines, specifying the disk to store table metadata files. #80546 (Tuan Pham Anh). This allows attaching databases from external sources.
Why it matters
This feature allows users to specify which disk to store database metadata files, facilitating better storage management and enabling the attachment of databases from external sources.How to use it
Users can configure thedisk setting in the database engine definition when creating or altering a database, for example:CREATE DATABASE db_name ENGINE = Atomic SETTINGS disk = 'disk_name'This setting directs ClickHouse to store the table metadata files on the specified disk.