# Archery
**Repository Path**: gitxinre/Archery
## Basic Information
- **Project Name**: Archery
- **Description**: Archery 定位于 SQL 审核查询平台,旨在提升 DBA 的工作效率,支持多种数据库的 SQL 上线和查询,同时支持丰富的 MySQL 运维功能
- **Primary Language**: Python
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: https://archerydms.com
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 658
- **Created**: 2022-08-02
- **Last Updated**: 2022-08-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#
Archery
[](https://github.com/hhyo/Archery/actions/workflows/django.yml)
[](https://github.com/hhyo/archery/releases/)
[](https://codecov.io/gh/hhyo/archery)
[](https://img.shields.io/pypi/pyversions/django/)
[](https://docs.djangoproject.com/zh-hans/4.0/)
[](https://github.com/hhyo/Archery/actions/workflows/docker-image.yml)
[](https://hub.docker.com/r/hhyo/archery/)
[](http://github.com/hhyo/archery/blob/master/LICENSE)
[](https://github.com/psf/black)
[文档](https://archerydms.com/) | [FAQ](https://github.com/hhyo/archery/wiki/FAQ) | [Releases](https://github.com/hhyo/archery/releases/)

介绍
============
Archery是[archer](https://github.com/jly8866/archer)的分支项目,定位于SQL审核查询平台,旨在提升DBA的工作效率,支持多数据库的SQL上线和查询,同时支持丰富的MySQL运维功能,所有功能都兼容手机端操作
功能清单
====
| | 查询 | 审核 | 执行 | 备份 | 数据字典 | 慢日志 | 会话管理 | 账号管理 | 参数管理 | 数据归档 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| MySQL | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ |
| MsSQL | √ | × | √ | × | √ | × | × | × | × | × |
| Redis | √ | × | √ | × | × | × | × | × | × | × |
| PgSQL | √ | × | √ | × | × | × | × | × | × | × |
| Oracle | √ | √ | √ | √ | √ | × | × | × | × | × |
| MongoDB | √ | √ | √ | × | × | × | × | × | × | × |
| Phoenix | √ | × | √ | × | × | × | × | × | × | × |
| ODPS | √ | × | × | × | × | × | × | × | × | × |
| ClickHouse | √ | √ | √ | × | × | × | × | × | × | × |
快速开始
===============
### 系统体验
[在线体验](https://demo.archerydms.com)
| 账号 | 密码 |
| --- | --- |
| archer | archer |
### Docker
#### 准备运行配置
具体可参考:https://github.com/hhyo/Archery/tree/master/src/docker-compose
#### 启动
下载 [Releases](https://github.com/hhyo/archery/releases/)文件,解压后进入docker-compose文件夹
```bash
#启动
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