v.23.10New Feature

Add Support for SHOW MERGES Query

Add support for SHOW MERGES query. #55815 (megao).
Added support for the SHOW MERGES query to list ongoing and recent merges in ClickHouse.

Why it matters

The SHOW MERGES query allows users to monitor the merge operations happening within ClickHouse tables. This feature helps in understanding background activity related to data merging, improving observability and management of storage optimization processes.

How to use it

Users can execute the SHOW MERGES SQL command to retrieve information about current and recent merges. For example:

SHOW MERGES;

This will display details of merges such as table names, partitions, and merge progress.