HeliosDB Tutorials
HeliosDB Tutorials
Learn by doing - Hands-on tutorials for every skill level
Tutorial Levels
Basic (6 tutorials) - 10-15 minutes each
Perfect for getting started with HeliosDB fundamentals.
-
Basic CRUD Operations β START HERE
- Create, read, update, delete
- Transactions and rollbacks
- Basic data types
-
SHOW Commands & Introspection π
- 100+ SHOW commands for database exploration
- Storage internals, caches, protocols
- FLUSH commands for cache management
-
- Joins (inner, outer, cross)
- Aggregations and GROUP BY
- Common Table Expressions (CTEs)
-
- Connect via PostgreSQL, Oracle, MySQL
- Same data, different protocols
- Protocol-specific features
-
- Semantic search with embeddings
- HNSW index creation
- Real-world product recommendations
-
- Sharded tables
- Partitioning strategies
- Query routing
Intermediate (12 tutorials) - 15-20 minutes each
Deep dive into HeliosDBβs enterprise features.
-
EXPLAIN Plans & Query Analysis π
- 7 output formats (Text, JSON, YAML, XML, HTML, GraphViz, Mermaid)
- Feature detection, βWhy Notβ analysis
- Optimizer decisions with reasoning
-
Redis Protocol π
- 104+ commands: Strings, Hashes, Lists, Sets, Sorted Sets
- Streams, Geo, HLL, Bitmaps, Lua scripting
- BullMQ-compatible queues, Pub/Sub, ACL
-
CDC Events & Storage Tiering π
- Change Data Capture on INSERT/UPDATE/DELETE
- Hot/warm/cold storage tiering
- CDC connectors and Redis Streams bridge
-
- 14 protocol adapters simultaneously
- Protocol auto-detection
- REST admin API (16 endpoints)
-
MongoDB Protocol & AI Commands π
- Wire-compatible mongosh access (CRUD, aggregation, transactions)
- AI commands: vectorSearch, nlQuery, schemaAnalyze, indexRecommend
- GridFS, change streams, cross-protocol queries
- PL/SQL procedures and functions
- DBMS packages (OUTPUT, UTL_FILE)
- Triggers and sequences
-
- MySQL stored procedures
- AUTO_INCREMENT and LAST_INSERT_ID
- MySQL-specific functions
-
- ACID guarantees
- Isolation levels (Serializable, Snapshot)
- Deadlock handling
-
- B-tree, Hash, HNSW, GiST indexes
- Query plan analysis
- Autonomous index advisor
-
Backup & Point-in-Time Recovery
- Continuous archiving
- PITR (Point-in-Time Recovery)
- Disaster recovery
-
- Multi-master CRDT replication
- Failover and split-brain resolution
- Read replicas
-
Monitoring with Prometheus & Grafana
- Metrics export
- Dashboard setup
- Alerting rules
-
Security: TDE & Row-Level Security
- Transparent Data Encryption (TDE)
- Row-Level Security (RLS)
- Audit logging
Advanced (9 tutorials) - 20-30 minutes each
Cutting-edge features for advanced users.
-
Security, Compliance & Multi-Tenancy π
- RBAC, RLS, compliance (GDPR/HIPAA/SOC2)
- Multi-tenancy, encryption key rotation
- Audit logging, threat detection
-
AI/ML, Vector Search & RAG π
- HNSW/IVF vector indexes, embeddings
- RAG pipelines, NL2SQL
- Cluster, federation, WASM, lineage
-
- Privacy-preserving ML
- Multi-party training
- GDPR/HIPAA compliance
-
- AI-driven optimization
- Self-healing queries
- Performance baselines
-
- Auto-generated GraphQL schema
- Subscriptions (real-time)
- Mutations and queries
-
- Real-time data pipelines
- Change Data Capture (CDC)
- Stream processing
-
- 4-tier edge caching
- Edge compute functions
- Global distribution
-
Homomorphic Encryption Queries
- Compute on encrypted data
- CKKS scheme
- Healthcare/finance use cases
-
- Complex query optimization
- 100x speedup on joins
- Annealing algorithms
How to Use These Tutorials
Prerequisites
- Docker installed (Get Docker)
- Basic SQL knowledge (helpful but not required)
- 5 minutes to complete Quickstart
Tutorial Format
Each tutorial follows this structure:
- Time Estimate - How long it takes
- What Youβll Learn - Key takeaways
- Prerequisites - What you need
- Setup - Environment preparation
- Step-by-Step Guide - Hands-on walkthrough
- Troubleshooting - Common issues
- Next Steps - Where to go next
- Complete Code - Full working example
Running Examples
All tutorial code is tested and runnable:
# Clone repositorygit clone https://github.com/heliosdb/heliosdbcd heliosdb
# Start HeliosDBdocker-compose up -d
# Run tutorial examplescd examples/tutorialscargo run --example 01_basic_crudLearning Paths
Path 1: Application Developer
Goal: Build apps with HeliosDB
- Basic CRUD Operations
- Advanced Queries
- Vector Similarity Search
- Indexing & Optimization
- GraphQL API Server
Time: ~2 hours
Path 2: Database Administrator
Goal: Deploy and manage HeliosDB in production
- Multi-Protocol Magic
- MVCC Transactions
- Backup & Point-in-Time Recovery
- High Availability Replication
- Monitoring with Prometheus
- Security: TDE & RLS
- Autonomous Tuning
Time: ~3 hours
Path 3: Oracle Migrator
Goal: Migrate from Oracle to HeliosDB
- Multi-Protocol Magic
- Oracle PL/SQL Compatibility
- MVCC Transactions
- Migration Guide: Oracle β HeliosDB
Time: ~1.5 hours
Path 4: ML/AI Developer
Goal: Build AI-powered applications
Time: ~1.5 hours
Path 5: Data Engineer
Goal: Build real-time data pipelines
Time: ~1.5 hours
Tutorial Status
| Tutorial | Status | Priority | ETA |
|---|---|---|---|
| 01-basic-crud | Complete | P0 | - |
| 02-advanced-queries | Complete | P0 | - |
| 03-multi-protocol | Complete | P0 | - |
| 04-vector-search | Complete | P0 | - |
| 05-distributed-queries | Complete | P0 | - |
| 06-oracle-plsql | β In Progress | P0 | Week 2 |
| 07-mysql-compatibility | π Planned | P1 | Week 2 |
| 08-transactions-mvcc | π Planned | P1 | Week 2 |
| 09-indexing-optimization | π Planned | P1 | Week 3 |
| 10-backup-restore | π Planned | P1 | Week 3 |
| 11-replication-ha | π Planned | P1 | Week 3 |
| 12-monitoring-metrics | π Planned | P1 | Week 3 |
| 13-security-tde | π Planned | P1 | Week 4 |
| 14-federated-learning | π Planned | P2 | Week 4 |
| 15-autonomous-tuning | π Planned | P2 | Week 4 |
| 16-graphql-api | π Planned | P2 | Week 5 |
| 17-streaming-flink | π Planned | P2 | Week 5 |
| 18-edge-deployment | π Planned | P2 | Week 5 |
| 19-homomorphic-encryption | π Planned | P2 | Week 6 |
| 20-quantum-optimization | π Planned | P2 | Week 6 |
Get Help
- Stuck on a tutorial? Check Troubleshooting Guide
- Have questions? See FAQ
- Need support? Join Discord or GitHub Discussions
Contributing Tutorials
Want to write a tutorial? Weβd love your help!
- Check open tutorial issues
- Follow the Tutorial Template
- Submit a PR with your tutorial
Tutorial Quality Standards:
- All code must be tested and runnable
- Clear step-by-step instructions
- Troubleshooting section
- Time estimate accurate (Β±20%)
- Screenshots/diagrams where helpful
Happy Learning!
Start with the Quickstart Guide or dive into Tutorial 01: Basic CRUD.