Vinay Krishna
12/01/2025, 2:16 PM>> SHOW ANALYZE JOB;
[
{
"Id": "11001",
"Catalog": "default_catalog",
"Database": "ALL",
"Table": "ALL",
"Columns": "ALL",
"Type": "FULL",
"Schedule": "SCHEDULE",
"Properties": "{default_job_flag=true}",
"Status": "FINISH",
"LastWorkTime": "2025-12-01 14:00:25",
"Reason": ""
}
]
Also when I check the ANALYZE job for my db using - `SHOW ANALYZE JOB where database = 'my_db';` it returns nothing. I am confused why the default ANALYZE job isn't visible for my_db but it says "Database": "ALL",.
Please guide if I should really have a separate ANALYZE job or the default one will take care of all the DBs, Tables, Columns etc?Vinay Krishna
12/01/2025, 2:19 PMRobert Raharjo
12/01/2025, 8:31 PMenable_collect_full_statistic = false
More info here: https://docs.starrocks.io/docs/sql-reference/sql-statements/cbo_stats/CREATE_ANALYZE/Ashish Gupta
12/02/2025, 3:10 PMRobert Raharjo
12/02/2025, 10:21 PMenable_collect_full_statistic to false, and drop your old cbo collection, and create a new one e.g.create analyze full ... . How did you create your analyze jobAshish Gupta
12/05/2025, 5:02 AMCREATE ANALYZE FULL ALL
I also dropped the default_job_flag job manually. But I keep seeing a default job being created with SAMPLE type.Robert Raharjo
12/05/2025, 6:17 PMenable_collect_full_statistic back to true, since your cbo is collecting statistic from all database regardless.