Haibin Xie
Haibin Xie
As data changes, the statistics will be out of date. Currently, we only update the table's count dynamically, but this is not enough. We may also need to update the...
We can support more analyze or drop stats statement. For example, `analyze table tableName index` will analyze all indices for a table, and `analyze` will analyze all the tables in...
Please answer these questions before submitting your issue. Thanks! 1. What did you do? If possible, provide a recipe for reproducing the error. ```sql create table t(a int, b int,...
When we query a value that the stats never saw, we will estimate as if they do not exist. However, we can use better estimation methods: - For equality queries,...
Please answer these questions before submitting your issue. Thanks! 1. What did you do? ``` MySQL [test]> create table idxJoinOuter (a int unsigned); Query OK, 0 rows affected (0.12 sec)...
## Feature Request **Is your feature request related to a problem? Please describe:** Suppose there is a table: `create table t(a int, b int, c int, index idx1(b, a), index...
## Bug Report Please answer these questions before submitting your issue. Thanks! 1. What did you do? If possible, provide a recipe for reproducing the error. ```sql create table t...
## Feature Request **Is your feature request related to a problem? Please describe:** ```sql MySQL [test]> explain select sum(a) over(partition by a order by b) from t; +--------------------------+----------+------+------------------------------------------------------------+ | id...
## Feature Request **Is your feature request related to a problem? Please describe:** Currently, window executor always use `newFirstChunk` to fetch child result, it's not efficient for big tables. **Describe...