soar学习与使用
1.背景
项目需求里包含了SQL分析及优化建议提供,搜罗到soar恰好满足需求。
2.安装部署
2.1 mac安装
## 安装docker desktop
## 拉取镜像
docker pull becivells/soar-web
## 在docker desktop启动镜像
## localhost:5077 访问
2.2 linux服务器安装
# 下载二进制安装包
wget https://github.com/XiaoMi/soar/releases/download/0.9.0/soar.linux-amd64 -O soar
chmod a+x soar
echo "select title from sakila.film" | ./soar -log-output=soar.log
3. 引用
https://github.com/XiaoMi/soar/blob/master/doc/install.md
https://github.com/XiaoMi/soar/blob/master/doc/structure.md
[https://zhuanlan.zhihu.com/p/448977687](Linux下Go的安装、配置 、升级和卸载)

浙公网安备 33010602011771号