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 575 forks source link

Проверить, что статистика доходит до CBO в dqrun (dq pipeline) #7359

Open aakulaga-ydb opened 3 months ago

yumkam commented 3 months ago

Intermediate results: Logs dqrun с tpc ds 10 q4: https://gist.github.com/yumkam/69dc2b27727127836df2002b104f9dcd with https://github.com/yumkam/ydb/commits/spilling-experiment-51 It looks like CBO called several times, one with statistic present (All statistics for join in place), other without statistics (Didn't find statistics for scope c) Not sure if this is correct.