soar icon indicating copy to clipboard operation
soar copied to clipboard

SQL Optimizer And Rewriter

Results 75 soar issues
Sort by recently updated
recently updated
newest added

### What problem does this PR solve? 文档里虽然说可以打印日志至控制台与文件, 但实际上soar无法打印至控制台, 本pr修复了该问题 ### What is changed and how it works? 修改了logger初始化函数, 当参数log-output的值为空时, 将logger设置为AdapterConsole ### Check List Tests - Unit test - Integration...

创建表字段数据类型为:point 语句检查和Sql评估报错 `echo "CREATE TABLE t1 (geom point NULL COMMENT '经纬度空间')" | ./soar.darwin-amd64 -only-syntax-check`

请问windows环境下无法编译,怎么解决呢? ![image](https://user-images.githubusercontent.com/33646405/164952772-fb6df0e2-a05f-455e-b31d-3b024f64ecee.png)

新增配置项用于控制是否允许测试数据库版本小于线上数据库 Log: 新增配置项用于控制是否允许测试数据库版本小于线上数据库 ### What problem does this PR solve? ### What is changed and how it works? ### Check List Tests - Unit test - Integration test - Manual...

看到soar实现启发式规则建议和基于索引优化算法给出的索引优化建议,确实很强大,更多的是期望支持基于成本的优化建议; 再延伸下还有支持基于Workload全局慢SQL优化。

Please answer these questions before submitting your issue. Thanks! 1. What did you do? > make release 2. What did you expect to see? > 正常编译 3. What did you...

can't reproduction

[Scalability](https://github.com/XiaoMi/soar/blob/master/doc/explain.md#scalability) ![image](https://user-images.githubusercontent.com/24428128/148002497-63d39478-42fb-48ad-9138-397e26c89671.png) 根据文档, Scalability是对access_type的映射表 ![image](https://user-images.githubusercontent.com/24428128/148002515-7a01ad06-9984-41fb-b91c-11ffa02185da.png) 上图access_type是const吧, 为啥Scalability是O(n)不是O(1). 还有个问题☠️ 是不好的意思吗? filtered 100%为什么也显示☠️ ?

```bash 16:32:59 in ~/GithubProject took 25s ➜ uname -a 'c. [email protected] ,xNMM. ---------------------- .OMMMMo OS: macOS 12.1 21C52 x86_64 OMMM0, Host: MacBookPro11,4 .;loddo:' loolloddol;. Kernel: 21.2.0 cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime: 3 days,...

Please answer these questions before submitting your issue. Thanks! 1. What did you do? If possible, provide a recipe for reproducing the error. SELECT a.table_name, a.engine, a.row_format AS format, a.table_rows,...

soar即使在文档并不完美的情况下,获得7.4k的star,说明其表现不错。为你们开源点赞 ### 有如下建议希望官方支持: * 请不要将一个优秀的开源库的交流推荐到封闭的社交群里。社交群能做到@即达,但实时响应并不能保证,在GitHub进行讨论问题是比较好的方式,能做到广而告之。 * 请麻烦完善文档及文档展示,即使只支持中文。再好的开源库,文档是第一步,对于使用者来说,甚至这就是最后一步。 ### 感谢聆听