
datus-ai/datus-db-adapters
Database management이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Datus database adapters
개요
Independent database adapter packages for Datus Agent. This repository contains database adapter implementations for Datus Agent, using a plugin architecture where each database is an independent package that can be installed on demand. Adapters with a datus.skills entry point bundle a db- -sql skill. Its SKILL.md contains query and existing-data semantics; linked references/ files provide task-specific DDL, writes, loading and procedural guidance on demand. Use an Agent with skill_location and skill-bundle reference reading support for the complete guidance. The legacy SQL-notes hook returns only the short entrypoint body; custom hosts can resolve its reference links relative to the skill directory under get_skills_dir(). Coordinate Agent support before deploying these adapter updates to hosts that need the operational references. SQLAlchemy base connector providing shared functionality for SQLAlchemy-based adapters.
README
원문 README의 일부입니다. 원문 보기.
Datus Database Adapters
Independent database adapter packages for Datus Agent.
Overview
This repository contains database adapter implementations for Datus Agent, using a plugin architecture where each database is an independent package that can be installed on demand.
Database SQL guidance
Adapters with a datus.skills entry point bundle a db--sql skill. Its
SKILL.md contains query and existing-data semantics; linked references/ files
provide task-specific DDL, writes, loading and procedural guidance on demand.
Use an Agent with skill_location and skill-bundle reference reading support for
the complete guidance. The legacy SQL-notes hook returns only the short entrypoint
body; custom hosts can resolve its reference links relative to the skill directory
under get_skills_dir(). Coordinate Agent support before deploying these adapter
updates to hosts that need the operational references.
Architecture
datus-agent (Core package - SQLite/DuckDB only)
↓
Plugin Adapters (Independent packages, install as needed)
├── datus-sqlalchemy (SQLAlchemy base layer)
│ ├── datus-mysql
│ ├── datus-starrocks
│ ├── datus-postgresql
│ ├── datus-hologres
│ ├── datus-doris
│ ├── datus-tidb
│ ├── datus-oracle
│ ├── datus-gaussdb
│ └── datus-dws
│
└── Native SDK Adapters
├── datus-athena
├── datus-snowflake
├── datus-clickzetta
├── datus-maxcompute
├── datus-hana (official Python hdbcli; limited local SQL analysis)
Implemented Adapters
1. datus-sqlalchemy
SQLAlchemy base connector providing shared functionality for SQLAlchemy-based adapters.
Installation:
pip install datus-sqlalchemy
Features:
- SQLAlchemy engine and connection management
- Unified error handling
- Multiple result format support
- Connection pool management
- Metadata retrieval
2. datus-mysql
MySQL database adapter.
Installation:
pip install datus-mysql
Features:
- Full MySQL support
- INFORMATION_SCHEMA metadata queries
- SHOW CREATE statement support
- Complete CRUD operations
3. datus-starrocks
StarRocks database adapter (MySQL protocol compatible).
Installation:
pip install datus-starrocks
Features:
- Inherits all MySQL functionality
- Multi-Catalog support
- Materialized view support
- StarRocks-specific optimizations
4. datus-doris
Apache Doris database adapter (MySQL protocol compatible).
Installation:
pip install datus-doris
Features:
- Inherits MySQL query and connection functionality
- Multi-Catalog support with the built-in
internalcatalog - Asynchronous materialized view metadata and DDL support
- Doris-specific migration and table-layout guidance
5. datus-snowflake
Snowflake database adapter (native SDK).
Installation:
pip install datus-snowflake
Features:
- Native Snowflake SDK
- Multi-database and schema support
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add datus-ai/datus-db-adapters