GitHub - hhyo/Archery: SQL审核查询平台
source link: https://github.com/hhyo/Archery?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Archery是archer的分支项目,定位于SQL审核查询平台,旨在提升DBA的工作效率,支持多数据库的SQL上线和查询,同时支持丰富的MySQL运维功能,所有功能都兼容手机端操作
查询 | 审核 | 执行 | 备份 | 数据字典 | 慢日志 | 会话管理 | 账号管理 | 参数管理 | 数据归档 | |
---|---|---|---|---|---|---|---|---|---|---|
MySQL | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ |
MsSQL | √ | × | √ | × | × | × | × | × | × | × |
Redis | √ | × | √ | × | × | × | × | × | × | × |
PgSQL | √ | × | √ | × | × | × | × | × | × | × |
Oracle | √ | × | √ | × | × | × | × | × | × | |
MongoDB | √ | √ | √ | × | × | × | × | × | × | × |
账号 | 密码 |
---|---|
archer | archer |
Docker
准备运行配置
具体可参考:https://github.com/hhyo/Archery/tree/master/src/docker-compose
下载 Releases文件,解压后进入docker-compose文件夹
#启动 docker-compose -f docker-compose.yml up -d #表结构初始化 docker exec -ti archery /bin/bash cd /opt/archery source /opt/venv4archery/bin/activate python3 manage.py makemigrations sql python3 manage.py migrate #数据初始化 python3 manage.py dbshell<sql/fixtures/auth_group.sql python3 manage.py dbshell<src/init_sql/mysql_slow_query_review.sql #创建管理用户 python3 manage.py createsuperuser #重启服务 docker restart archery #日志查看和问题排查 docker logs archery -f --tail=10 logs/archery.log
python manage.py test -v 3
可查阅主页的开发计划以及依赖清单,在对应issues中回复认领,或者直接提交PR,感谢你对Archery的贡献
贡献包括但不限于以下方式:
- Wiki文档(开放编辑)
- Bug修复
- 新功能提交
- 测试用例完善
Issues是本项目唯一的沟通渠道,如果在使用过程中遇到问题,请先查阅文档,如果仍无法解决,请查看相关日志,保存截图信息,给我们提交Issue,请按照模板提供相关信息,否则会被直接关闭,感谢理解
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK