TiOps is a lightweight, self-hosted multi-cluster operation and maintenance platform for TiDB, providing cluster overview, session management, SQL binding, health inspections, alerts, and daily reports through a single web interface.

Stars

5

7-day growth

No data

Forks

0

Open issues

0

License

No data

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It is built entirely with Python's built-in HTTP server and only depends on PyMySQL, requiring no extra web framework or management database, and includes AES-256-CBC encryption for sensitive data.

Who it is for

  • Database administrators (DBAs)
  • TiDB operations teams
  • Engineers managing multiple TiDB clusters
  • IT ops in small to medium enterprises

Use cases

  • Centralized management of multiple TiDB clusters
  • Scheduled health inspections and automatic alerts
  • Session management and batch kill of slow queries
  • Creating and deleting SQL plan bindings to stabilize query plans

Strengths

  • Lightweight with minimal dependencies (only PyMySQL)
  • Cross-cluster concurrent inspection using thread pools
  • Sensitive information encrypted with OpenSSL AES-256-CBC
  • Configurable AI SQL optimizer entry point for various models

Considerations

  • No persistent storage: alerts are cleared upon process restart and require the next inspection cycle
  • Requires a dedicated low-privilege database account and trusted network deployment
  • Heavily relies on Prometheus and TiDB component Status APIs, which may not be enabled in all environments

README quick start

安装前检查

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482