Your infrastructure is talking. Start listening.
Listen. Store. Monitor.
A time-series database project built with Rust. Ingest via InfluxDB Line Protocol or OpenTelemetry, store in columnar Parquet with Apache Iceberg support, and query with SQL powered by Apache DataFusion. Multi-protocol ingestion, streaming queries, and Grafana-native dashboards.
Under development. Evaluate with disposable local data. See validation scope and current limitations.
# Write data using InfluxDB Line Protocol
curl -X POST http://localhost:7000/write/mydb \
-d 'cpu,host=server01,region=us-west usage=75.5,temp=45'
# Query with SQL
curl 'http://localhost:7000/query/mydb' \
-d 'SELECT host, AVG(usage) FROM cpu GROUP BY host'
Faster Ingestion
Storage Reduction
Query Latency
Standard Queries
Major new features expanding MynaDB into a full observability platform.
Native OTLP ingestion via gRPC and HTTP. Receive metrics, logs, and traces from any OpenTelemetry-instrumented application.
Learn more →REST Catalog API enables multi-engine analytics. Query MynaDB data from Spark, Trino, DuckDB, and Flink.
Learn more →Built-in Grafana-compatible endpoints and a comprehensive monitoring dashboard with system metrics.
Learn more →TimescaleDB-style materialized views with automatic refresh. Transparent query rewriting for instant results.
Learn more →Built-in forecast_linear, forecast_arima, geo_distance, and geo_within UDFs for advanced analytics.
Learn more →Real-time query subscriptions via WebSocket and Server-Sent Events for live dashboards and alerting.
Learn more →Distributed clustering with compute-storage separation. Add nodes on demand, achieve 11-nines durability.
┌─────────────┐
│Load Balancer│
└──────┬──────┘
┌──────────────────────┼──────────────────────┐
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Node 1 │ │ Node 2 │ │ Node 3 │
│ (Compute) │ │ (Compute) │ │ (Compute) │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
└──────────────────────┼──────────────────────┘
▼
┌─────────────────────────────────────────────────────────────┐
│ SHARED OBJECT STORAGE (S3/MinIO/OSS) │
└─────────────────────────────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────────────┐
│ COORDINATION (etcd): Locks • Leader • Pub/Sub │
└─────────────────────────────────────────────────────────────┘
Add or remove compute nodes without data migration. Stateless design.
S3 object storage provides 99.999999999% durability.
Stateless nodes mean instant recovery. No election delays.
Perfect for Kubernetes with auto-scaling and self-healing.
Your infrastructure is talking. MynaDB listens. Built for modern monitoring and analytics with a focus on performance and developer experience.
Written in Rust with zero-copy deserialization and efficient memory management for maximum throughput.
Apache Parquet format provides excellent compression ratios and fast analytical query performance.
SQL queries powered by Apache DataFusion. Use familiar syntax for complex analytical queries.
Drop-in replacement for InfluxDB write API. Migrate your existing applications seamlessly.
Multi-level compaction strategy optimizes storage and query performance automatically.
High-performance gRPC streaming for efficient data transfer to analytics tools and dashboards.
Automatic schema detection and evolution. No need to define schemas upfront.
Automatic date-based partitioning for efficient time-range queries and data retention.
Automatic data expiration and cleanup based on configurable retention policies.
Master-slave replication with automatic failover for fault tolerance and read scaling.
Connect with any MySQL client. Use familiar tools like mysql-cli, DBeaver, or Grafana.
Native support for S3, MinIO, and Aliyun OSS for cloud-native deployments.
Metadata cache, query result cache, and Parquet file cache for blazing-fast queries.
Promote slave to master seamlessly. Manual or automatic failover with no data loss.
Real-time Write-Ahead Log streaming ensures data durability across nodes.
InfluxDB-compatible time bucketing with fill options for gap handling.
200+ tests including property-based, fuzz testing, and performance benchmarks.
Native OTLP ingestion for metrics, logs, and traces via gRPC (port 4317) and HTTP endpoints.
REST Catalog API for multi-engine analytics with Spark, Trino, DuckDB, and Flink.
InfluxDB-compatible datasource endpoints and built-in monitoring dashboard.
TimescaleDB-style materialized views with automatic refresh and transparent query rewriting.
Real-time subscriptions via WebSocket and SSE for live dashboards and alerting.
Role-based access control with users, roles, permissions, TLS, and audit logging.
Built-in forecast_linear, forecast_ema, forecast_arima for predictive analytics.
geo_distance, geo_hash, geo_within, and geo_bounding_box for location-aware queries.
Web-based SQL editor with Monaco, storage browser, and cluster management.
Native /metrics endpoint for monitoring ingestion, query performance, and system health.
A modern, layered architecture designed for high-throughput ingestion and fast analytical queries.
+----------------+ +----------------+ +----------------+
| Line Protocol | | OTLP (gRPC/ | | Arrow Flight / |
| POST /write/:db| | HTTP) | | MySQL Protocol |
+-------+--------+ +-------+--------+ +-------+--------+
| | |
+--------------------+--------------------+
|
+-------v-------+ +------------------+
| DataCache | | QueryEngine |
| (In-Memory) |<---------| (DataFusion SQL) |
+-------+-------+ Memtable +--------+---------+
| |
+-------v---------------------------v--------+
| Parquet Files (Columnar) |
| + Metadata Manager (Catalog) |
+-----+---------------------------+----------+
| |
+--------v--------+ +--------v---------+
| Compactor | | Iceberg REST API |
| (LSM L0-L5) | | (Multi-Engine) |
+-----------------+ +------------------+
|
+------------------+------------------+
| |
+-------v--------+ Streaming +-------v--------+
| Object Storage | Queries | WebSocket/SSE |
| (S3/MinIO/OSS) | | (Real-time) |
+----------------+ +----------------+
InfluxDB Line Protocol, OpenTelemetry OTLP, and Arrow Flight for flexible data ingestion.
Query fresh writes instantly without waiting for flush. Automatic union of memory and Parquet data.
TimescaleDB-style materialized views with automatic refresh and transparent query rewriting.
Columnar Parquet files with date partitioning, LSM compaction, and Iceberg metadata.
Apache DataFusion with forecasting UDFs, geospatial functions, and predicate pushdown.
Real-time query subscriptions via WebSocket and SSE for live dashboards.
REST Catalog API for multi-engine analytics with Spark, Trino, DuckDB, and Flink.
Role-based access control, TLS/SSL mutual auth, and comprehensive audit logging.
Start listening in 60 seconds.
# 1. Build and run
cargo build --release
./target/release/mynadb
# 2. Write some data
curl -X POST http://localhost:7000/write/mydb -d '
cpu,host=server01,region=us-west usage=75.5,temp=45
cpu,host=server02,region=us-east usage=82.3,temp=50
memory,host=server01 used=16.5,total=32.0
'
# 3. Query immediately! (No flush needed - Memtable provides instant visibility)
curl 'http://localhost:7000/query/mydb' \
-d 'SELECT host, AVG(usage) as avg_cpu FROM cpu GROUP BY host'
# Result:
# [{"host":"server01","avg_cpu":75.5},{"host":"server02","avg_cpu":82.3}]
# 4. Time series aggregation with GROUP BY time()
curl 'http://localhost:7000/query/mydb' \
-d 'SELECT host, AVG(usage) FROM cpu GROUP BY time(5m), host'
From whispers to roars, every signal matters. MynaDB captures it all.
Track CPU, memory, disk, and network metrics from thousands of servers in real-time.
Store and analyze application performance data, request latencies, and error rates.
Collect sensor data from IoT devices with high-frequency ingestion and efficient storage.
Store tick data, price feeds, and trading metrics with sub-millisecond precision.
Track deployments, build times, and CI/CD metrics for operational insights.
Power dashboards and alerting systems with fast analytical queries.
ENGINEERING · ILLUSTRATED SERIES
Ten illustrated chapters in Chinese, from Rust, Arrow and Parquet to WAL, replication, Raft and partition-aware routing.
10 chapters · 62 architecture diagrams
Everything you need to get started and become an expert.
Get up and running with MynaDB in under 5 minutes.
Read more →Deep dive into the internal architecture and design decisions.
Read more →Step-by-step tutorials for common tasks and workflows.
Read more →Complete reference for all HTTP and Arrow Flight APIs.
Read more →Ready-to-use examples for common query patterns.
Read more →All configuration options explained with examples.
Read more →Master-slave replication, failover, and HA configuration.
Read more →Distributed clustering with shared-storage architecture and auto-scaling.
Read more →Multi-level caching for metadata, queries, and Parquet files.
Read more →Connect using MySQL clients, DBeaver, or Grafana.
Read more →S3, MinIO, and Aliyun OSS configuration for cloud storage.
Read more →200+ tests: unit, correctness, property-based, fuzz, and benchmarks.
Read more →Native OTLP ingestion for metrics, logs, and traces via gRPC and HTTP.
Read more →REST Catalog API for multi-engine analytics with Spark, Trino, and DuckDB.
Read more →InfluxDB-compatible datasource and built-in monitoring dashboard.
Read more →Materialized views with automatic refresh and query rewriting.
Read more →Real-time subscriptions via WebSocket and Server-Sent Events.
Read more →Authentication, role-based access control, TLS, and audit logging.
Read more →Built-in forecasting and geospatial UDFs for advanced analytics.
Read more →Web-based SQL editor, storage browser, and cluster management.
Read more →Prometheus metrics, query tracing, and system health endpoints.
Read more →