v.23.10New Feature
Improved CHECK TABLE Performance and Usability in ClickHouse
QueryCHECK TABLEhas better performance and usability (sends progress updates, cancellable). Support checking particular part withCHECK TABLE ... PART 'part_name'. #53404 (vdimir).
Why it matters
The feature addresses the need for more efficient and user-friendly table integrity checks. It improves performance, allows progress monitoring, supports cancellation, and enables users to verify individual parts of tables, which increases flexibility and control during table validation.How to use it
Run theCHECK TABLE query as usual. To check a specific part of a table, use the syntax:CHECK TABLE <table_name> PART '<part_name>'The command now also provides progress updates and can be cancelled if needed.