[Open-source] SQL audit query platform, aiming to improve DBA work efficiency, supporting multiple database

Open SourceProcess Management
2026-06-28 02:33 0 次浏览 • 0 次下载 0KB
[Open-source] SQL audit query platform, aiming to improve DBA work efficiency, supporting multiple database

1. Project Overview

Archery is positioned as a SQL audit query platform, aiming to improve the work efficiency of DBA, supporting multiple database SQL online and query, and supporting rich MySQL operation functions

2. Open Source License

Licensed under Apache-2.0

3. Screenshots

4. Feature Overview

Function List

Database

Query

Audit

Execute

Backup

Data dictionary

Slow Log

Session management

Account management

Parameter management

Data Archiving

MySQL

√

√

√

√

√

√

√

√

√

√

MsSQL

√

×

√

×

√

×

×

×

×

×

Redis

√

×

√

×

×

×

×

×

×

×

PgSQL

√

×

√

×

×

×

×

×

×

×

Oracle

√

√

√

√

√

×

×

×

×

×

MongoDB

√

√

√

×

×

×

×

×

×

×

Phoenix

√

×

√

×

×

×

×

×

×

×

ODPS

√

×

×

×

×

×

×

×

×

×

ClickHouse

√

√

√

×

×

×

×

×

×

×

5. Tech Stack

Docker

Prepare running configuration

Specifically, refer to: README.md document

Start

Download Releases file, decompress and enter docker-compose file directory

# Start
docker-compose -f docker-compose.yml up -d

# Table structure initialization
docker exec -ti archery /bin/bash
cd /opt/archery
source /opt/venv4archery/bin/activate
python3 manage.py makemigrations sql
python3 manage.py migrate

# Data initialization
python3 manage.py dbshell < sql/fixtures/auth_group.sql
python3 manage.py dbshell < src/init_sql/mysql_slow_query_review.sql

# Create administrator user
python3 manage.py createsuperuser

# Restart service
docker restart archery

# Log viewing and problem troubleshooting
docker logs archery -f --tail=10
logs/archery.log

Access

http://127.0.0.1:9123/

Manual installation

Deployment Instructions

Run Test

python manage.py test -v 3

Dependency List

Framework

  • Django
  • Bootstrap
  • jQuery

Front-end Component

  • Menu Bar metisMenu
  • Theme sb-admin-2
  • Editor ace
  • SQL Beautification sql-formatter
  • Table bootstrap-table
  • Table Editing bootstrap-editable
  • Drop-down Menu bootstrap-select
  • File Upload bootstrap-fileinput
  • Time Selection bootstrap-datetimepicker
  • Date Selection daterangepicker
  • Switch bootstrap-switch
  • Markdown Display marked

Server-side

  • Queue Task django-q
  • MySQL Connector mysqlclient-python
  • MsSQL Connector pyodbc
  • Redis Connector redis-py
  • PostgreSQL Connector psycopg2
  • Oracle Connector cx_Oracle
  • MongoDB Connector pymongo
  • Phoenix Connector phoenixdb
  • ODPS Connector pyodps
  • ClickHouse Connector clickhouse-driver
  • SQL Parsing/Split/Type Judgment sqlparse
  • MySQL Binlog Parsing/Rollback python-mysql-replication
  • LDAP django-auth-ldap
  • Serialization simplejson
  • Time Processing python-dateutil

Functional Dependency

  • Visualization pyecharts
  • MySQL Audit/Execution/Backup goInception|inception
  • MySQL Index Optimization SQLAdvisor
  • SQL Optimization/Compression SOAR
  • My2SQL my2sql
  • Table Structure Synchronization SchemaSync
  • Slow Log Parsing Display pt-query-digest|aquila_v2
  • Large Table DDL gh-ost|pt-online-schema-change
  • MyBatis XML Parsing mybatis-mapper2sql
  • RDS Management aliyun-openapi-python-sdk
  • Data Encryption django-mirage-field
#1
资源直链https://github.com/hhyo/Archery/archive/refs/heads/master.zip
去下载
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare