[CP] support virtual table and core table gather stats and use stats

This commit is contained in:
wangt1xiuyi
2023-03-03 03:40:59 +00:00
committed by ob-robot
parent d91c405414
commit 170ebd9ba9
18 changed files with 492 additions and 137 deletions

View File

@ -3,3 +3,6 @@ create user if not exists 'admin' IDENTIFIED BY 'admin';
grant all on *.* to 'admin' WITH GRANT OPTION;
create database obproxy;
ANALYZE TABLE OCEANBASE.__ALL_VIRTUAL_CORE_ALL_TABLE COMPUTE STATISTICS;
ANALYZE TABLE OCEANBASE.__ALL_VIRTUAL_CORE_COLUMN_TABLE COMPUTE STATISTICS;