Built from scratch in Rust. Unify relational SQL, NoSQL Documents, sub-millisecond HNSW Vector Search, Raft Consensus Clustering,Universal Migrations, and native Model Context Protocol (MCP) in a single, lightweight binary.
Run sudo ./install.sh on Linux to detect distro, build Rust binaries, and register systemd.
Runs natively in background. Inspect status via systemctl status pingdartdb on port 4650.
Launch the native MySQL-style CLI with pingdart or authenticate via POST /login.
Query the exact same data using traditional SQL tables or modern NoSQL JSON Document APIs with vectors.
Select any workflow below to view production shell commands, SQL statements, and REST payloads.
Search and filter every operational command: Installation, CLI, SQL DDL/DML, Document NoSQL, Vectors, Clustering, and Migrations.
Compiles binaries, creates dedicated pingdart user, FHS paths, and registers systemd service.
git clone https://github.com/pingdart/ClusterDB.git pingdartdb && cd pingdartdb && chmod +x install.sh && sudo ./install.shInspect daemon uptime, PID, memory consumption, and recent log messages.
sudo systemctl status pingdartdbCleanly manage the PingDartDB service lifecycle.
sudo systemctl start pingdartdb
sudo systemctl stop pingdartdb
sudo systemctl restart pingdartdbStream live stdout/stderr logs from the background database engine.
sudo journalctl -u pingdartdb -fTakes an ACID snapshot, compiles & verifies health; rolls back automatically on failure.
cd pingdartdb && git pull origin main && sudo ./upgrade.shRemoves systemd services and binaries while preserving data safely by default.
sudo ./uninstall.shDecrypts and displays root credentials in-memory using the 4-8 digit Security PIN.
pingdart-vault viewAuthenticates with current PIN and re-encrypts the vault with new credentials.
pingdart-vault rotateCentral Node.js API registering cluster node OS, IPs, and hardware identity (zero passwords/PINs).
curl -X POST https://api.chat.pingdart.com/api/database/install-registration \
-H "Content-Type: application/json" \
-d '{"installation_id": "UUID", "email": "admin@pingdart.com", "os_distro": "ubuntu"}'Opens interactive REPL session with auto-cached session token and ASCII tabular formatting.
pingdartDisplays engine version, leader node ID, active nodes, and storage directory.
pingdart statusSpecify target remote or local PingDartDB instance endpoint.
pingdart -h 127.0.0.1 -P 4650Runs query directly in headless scripts or CI/CD pipelines.
pingdart -e "SHOW DATABASES;"Support for both MySQL 'user'@'host' syntax and explicit IP / subnet whitelist patterns.
CREATE USER 'backend'@'192.168.1.%' PASSWORD 'Pass456!';
CREATE USER developer PASSWORD 'Secret123!' IP '192.168.1.50';Grant ALL, READ, or WRITE privileges on a designated database catalog.
GRANT ALL ON ecommerce_prod TO 'backend'@'192.168.1.%';
GRANT READ ON production_db TO reporting_user;Atomically update credential password and network access mask.
ALTER USER developer PASSWORD 'NewPass2026!' IP '10.0.0.%';Deletes credentials and invalidates active session tokens immediately.
DROP USER 'developer'@'localhost';Namespace multi-tenancy catalogs with instant zero-cost database switching.
CREATE DATABASE analytics;
USE analytics;
SHOW DATABASES;Define strongly-typed tables. Supports INT, BIGINT, FLOAT, VARCHAR, TEXT, BOOLEAN, TIMESTAMP, VECTOR.
CREATE TABLE users (
id INT PRIMARY KEY,
name VARCHAR(100),
email VARCHAR(150),
balance FLOAT,
created_at TIMESTAMP
);List active tables and inspect column datatypes, primary keys, and constraints.
SHOW TABLES;
DESCRIBE users;Accelerate point lookups and range scans with B-Tree indexes.
CREATE INDEX idx_users_email ON users (email);Computes HyperLogLog NDV cardinality and typed histograms for the Cost-Based Optimizer.
ANALYZE TABLE users;Insert single or multiple rows into relational tables.
INSERT INTO users (id, name, email, balance) VALUES (1, 'Alice', 'alice@corp.com', 2500.00);Standard SELECT projection with WHERE filters, ORDER BY, and LIMIT/OFFSET.
SELECT id, name, balance FROM users WHERE balance >= 1000.00 ORDER BY balance DESC LIMIT 10 OFFSET 0;Mutate records matching predicate conditions.
UPDATE users SET balance = 3000.00 WHERE id = 1;
DELETE FROM users WHERE balance < 0;Live query execution profiler displaying recursive PlanNode timings in microseconds.
EXPLAIN ANALYZE SELECT * FROM users WHERE email = 'alice@corp.com';Returns UUID session token used for subsequent REST calls.
curl -X POST http://localhost:4650/login -H "Content-Type: application/json" -d '{"username": "admin", "password": "admin123"}'Document NoSQL querying without needing SQL string concatenation.
curl -X POST http://localhost:4650/document/query -H "Content-Type: application/json" -d '{"token": "TOKEN", "collection": "users", "where": [{"field": "city", "operator": "==", "value": "Hyderabad"}], "limit": 20}'Register local or remote AI embedding models directly into the database catalog.
CREATE EMBEDDING MODEL fast_embed TYPE='local' DIMENSION=384 VERSION='1.0';PingDart automatically derives and indexes vectors on every insert or update.
CREATE TABLE docs (
id INT PRIMARY KEY,
content TEXT,
embedding VECTOR(384) GENERATED FROM content USING fast_embed
);Sub-millisecond high-dimensional HNSW cosine vector proximity search.
SELECT content, SEMANTIC_MATCH(content, 'database engine') AS score FROM docs WHERE SEMANTIC_MATCH(content, 'database engine') > 0.40 ORDER BY score DESC;Starts cluster leader node on port 4650 with local persistent storage.
cargo run --release --bin pingdart-core -- --port 4650 --node-id node-1 --data-dir ./data_node1Follower joins existing cluster, participates in Raft consensus and hash sharding.
cargo run --release --bin pingdart-core -- --port 4651 --node-id node-2 --join 127.0.0.1:4650 --data-dir ./data_node2Canonical Protocol Buffers export with Zstandard compression and optional AES-256-GCM encryption.
EXPORT DATABASE ecommerce_prod TO 'backups/ecommerce_prod.pb';
EXPORT DATABASE ecommerce_prod TO 'backups/enc.pb' ENCRYPTED KEY 'SecretKey!';Verifies SHA-256 integrity checksum before restoring tables, indexes, and schemas.
IMPORT DATABASE FROM 'backups/ecommerce_prod.pb';Streams legacy SQL dumps directly into PingDart with automatic schema drift handling.
MIGRATE FROM 'mysql' FILE 'dump.sql' TO TABLE 'mysql_data' SCHEMA_POLICY ADD_MISSING_COLUMNS;
MIGRATE FROM 'postgres' FILE 'pg_dump.sql' TO TABLE 'pg_data' SCHEMA_POLICY STRICT;Unpacks MongoDB extended JSON or CSV with inline AI vector generation.
MIGRATE FROM 'mongodb' FILE 'customers.json' TO TABLE 'mongo_clients' SCHEMA_POLICY ADD_MISSING_COLUMNS;
MIGRATE FROM 'csv' FILE 'data.csv' TO TABLE 'articles' EMBED content AS embedding DIM 384;Eliminate sprawling infrastructure stacks. PingDart DB replaces separate databases for SQL, vector embeddings, caching, graphs, and full-text search.
High-dimensional proximity graph supporting Cosine, Euclidean, and Dot Product ANN search across 384 to 3072 dimensions in sub-millisecond P50.
Define columns using 'VECTOR GENERATED FROM text USING model'. Never manage float vectors or external embedding services manually.
Hierarchical memory (Working, Episodic, Semantic, LongTerm) with Ebbinghaus exponential decay ranking and automatic memory consolidation.
Combines dense HNSW vector similarity with BM25 inverted keyword search using normalized α-weighted rank fusion.
Multi-labeled nodes, typed directional relationships (WORKS_AT, KNOWS), and breadth-first search (BFS) shortest-path traversals.
Built-in JSON-RPC 2.0 stdio MCP server for direct zero-code integration with Claude Desktop, Cursor, Antigravity, and LangChain agents.
One engine for relational schemas, strict DDL types, and JSON document collections. No need to manage separate Postgres and MongoDB clusters.
Multi-node consensus with automatic leader election, 16-virtual-node consistent hash ring, and distributed scatter-gather vector queries.
SIMD-optimized contiguous memory chunk arrays supporting grouped aggregations (COUNT, SUM, AVG, GROUP BY) at 118,700+ rows/sec.
Postgres-grade optimizer using HyperLogLog (HLL) NDV cardinality, typed equi-depth histograms, and calibrated cost weights.
Live query execution profiling with recursive PlanNode trees, stage microsecond breakdown, and native OTLP export to Jaeger/Datadog.
Injected dynamically into SELECT pipelines using CURRENT_TENANT() and CURRENT_USER() policies for leak-proof multi-tenancy.
Authenticated encryption at rest using unique 96-bit nonces, PBKDF2/SHA-256 key derivation, and Poly1305 tamper detection.
20 atomic permissions, preloaded roles (SuperAdmin, DataScientist, AppDeveloper), and high-entropy API keys with instant revocation.
Stream live data from PostgreSQL, MySQL, MongoDB, CSV, and JSON with automated schema drift handling and crash checkpoints.
Canonical Protocol Buffers schema, dictionary Zstandard compression (3x-5x smaller), and CDC commit log Point-In-Time Recovery.
Async ObjectStore tier supporting AWS S3, Cloudflare R2, MinIO, and Local Filesystem for snapshot offloading and cold archiving.
Custom Resource Definition (CRD), HA StatefulSet manifests, pod anti-affinity, and automated Prometheus /metrics endpoint.
Replace a complex, expensive patchwork of 4+ disconnected databases with one consolidated, high-throughput Rust engine.
| Capability | PingDart DB | PostgreSQL | MongoDB | Pinecone / Vectors |
|---|---|---|---|---|
| Unified SQL & JSON Documents | Native | Partial (JSONB) | ||
| Sub-ms HNSW Vector Search | Native | Slow Ext | Limited | |
| Auto-Generated Text Embeddings | Native | |||
| Cross-Table Semantic JOINs | Native | |||
| Cognitive AI Memory (Ebbinghaus) | Native | |||
| Native Model Context Protocol (MCP) | Native | |||
| Raft Consensus Clustering & Sharding | Native | Complex Setup | Replica Sets | Proprietary |
| Universal Migration (Postgres/MySQL/Mongo) | Native | |||
| Single Self-Contained Binary | Native | SaaS Only |
Engineered for engineers, AI researchers, enterprise architects, and self-hosters.
Store conversational episodes, knowledge vectors, and entities. Plug PingDart directly into Claude Desktop, Cursor, or Antigravity via the native MCP server.
Migrate existing Postgres, MySQL, or Mongo setups in one command. Deploy resilient 3-node Raft clusters with automated failover and K8s Operator.
Cryptographic Row-Level Security, strict tenant QPS/storage quotas, AES-256-GCM envelope encryption at rest, and Point-In-Time Recovery.
PingDart DB is open-source and free to use. Spin up a single node in 10 seconds or cluster multiple servers across regions with Raft.