百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

starrocks-admin

> 编程语言
开源

一款专业的企业级 StarRocks 数据库集群管理工具

181 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一款专业的企业级 StarRocks 数据库集群管理工具

StarRocks Admin

Introduction

StarRocks Admin is a professional, enterprise-grade StarRocks database cluster management tool that provides an intuitive web interface for managing and monitoring multiple StarRocks clusters. Compared to StarRocks' native management interface, this platform offers richer functionality and a better user experience.

Core Features

  • One-Click Deployment - Supports traditional deployment, Docker, and Kubernetes
  • Real-time Monitoring - View real-time cluster status and performance metrics
  • Cluster Management - Unified management of multiple StarRocks clusters
  • Modern UI - Modern interface based on Angular + Nebular
  • Security Authentication - JWT authentication and permission management
  • Performance Analysis - Query performance analysis and optimization suggestions

Quick Start

Method 1: One-Click Deployment (Recommended)

bash
# 1. Clone the project
git clone https://github.com/jlon/starrocks-admin.git
cd starrocks-admin

# 2. Build and package
make build

# 3. Start the service
cd build/dist
./bin/starrocks-admin.sh start

# 4. Access the application
open http://localhost:8080

Method 2: Docker Deployment (Recommended)

bash
# Option 1: Use pre-built image from Docker Hub
docker pull ghcr.io/jlon/starrocks-admin:latest
docker run -d -p 8080:8080 --name starrocks-admin \
  -v $(pwd)/data:/app/data \
  -v $(pwd)/logs:/app/logs \
  ghcr.io/jlon/starrocks-admin:latest

# Option 2: Build from source
git clone https://github.com/jlon/starrocks-admin.git
cd starrocks-admin
make docker-build  # Build Docker image
make docker-up     # Start Docker container

# Access the application
open http://localhost:8080

More Deployment Options

For detailed deployment guides including Kubernetes YAML and Helm Chart deployment, see: Deployment Guide

Interface Preview

StarRocks Admin provides an intuitive and beautiful web management interface covering all aspects of cluster management.

Cluster Management

Unified management of multiple StarRocks clusters with support for adding, editing, and deleting cluster configurations.

Cluster Overview

Real-time display of overall cluster status, performance metrics, and resource usage for a comprehensive view of cluster health.

Detailed cluster metrics and performance indicators.

Resource usage and capacity planning insights.

Node Management - FE Nodes

View and manage Frontend (FE) nodes, monitoring their running status and resource usage.

Node Management - BE Nodes

View and manage Backend (BE) nodes with detailed performance metrics.

Query Management - Real-time Queries

Real-time view of executing queries with support for query termination and performance analysis.

Monitor actively running queries and their execution status.

Query Management - Audit Logs

Comprehensive audit logs for all executed queries with detailed metadata.

Query Management - Query Profiles

Detailed query execution profiles for performance analysis and optimization.

In-depth query performance metrics and execution plans.

Materialized Views

View and manage all materialized views in the cluster, with support for enabling, disabling, and editing.

Detailed materialized view configuration and refresh status.

Feature Cards

Quick access to system functions with support for custom SQL execution and common operations.

Session Management

Manage database connection sessions, view active sessions and historical connection information.

Variable Management

Configure and manage system variables with support for viewing and modifying runtime parameters.

System Management - User Management

Manage system users, roles, and permissions with fine-grained access control.

System Management - Organization Management

Multi-tenant organization management for enterprise deployments.

System Management - Role Management

Define and manage user roles with customizable permission sets.

Configuration

StarRocks User Permissions (Important)

Before adding a cluster, you need to create a dedicated monitoring user with appropriate read-only permissions in StarRocks.

bash
# Execute the permission setup script
cd scripts
mysql -h  -P 9030 -u root -p  -P 9030 -u starrocks_monitor -p  -P 9030 -u root -p  -P 9030 -u starrocks_monitor -p < verify_permissions.sql

详细的权限配置指南请参考 scripts/permissions/README_PERMISSIONS.md

安全提示: 生产环境禁止使用 root 账号,务必创建专用的监控账号并遵循最小权限原则。

主配置文件 (conf/config.toml)

…
  • 环境变量覆盖示例:
bash
APP_METRICS_INTERVAL_SECS=1m \
APP_METRICS_RETENTION_DAYS=14d \
APP_METRICS_ENABLED=true \

版本发布说明

查看 CHANGELOG.md 了解详细的版本发布说明和历史记录。

贡献

我们欢迎所有形式的贡献!请遵循以下步骤:

  1. Fork 项目
  2. 创建特性分支 (git checkout -b feature/AmazingFeature)
  3. 提交更改 (git commit -m 'Add some AmazingFeature')
  4. 推送分支 (git push origin feature/AmazingFeature)
  5. 创建 Pull Request

许可证

本项目采用 Apache License 2.0 许可证 - 查看 LICENSE 文件了解详情。

致谢

  • ngx-admin - 优秀的 Angular 管理模板
  • Nebular - 漂亮的 UI 组件库
  • Axum - 强大的 Rust Web 框架
  • StarRocks - 高性能分析数据库

联系方式与支持

如有任何问题或疑问,欢迎通过邮件联系我:

邮箱:[email protected]

捐赠支持

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言