ydb-platform / ydb

YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions
https://ydb.tech
Apache License 2.0
4.02k stars 582 forks source link

Collecting DataShard statistics by columns #11725

Open andrewstalin opened 3 days ago

andrewstalin commented 3 days ago

Description

This improvement makes it possible to query columns statistics for DataShards. Statistics are calculated on tablets and provided on demand without additional calculation costs. The aim is to provide statistics for the cost-based optimizer.

Steps