HeliosDB Wave 1 Beta - 10-Minute Quickstart
HeliosDB Wave 1 Beta - 10-Minute Quickstart
Get up and running with all 4 innovations in 10 minutes
Step 1: Install (2 minutes)
# Docker (easiest)docker run -d --name heliosdb-beta \ -p 5432:5432 -p 8080:8080 \ heliosdb/heliosdb:v7.0-beta-wave1
# Verifycurl http://localhost:8080/healthStep 2: Connect (1 minute)
# Install Python clientpip install heliosdb
# Connectpython3>>> import heliosdb>>> conn = heliosdb.connect("postgresql://localhost:5432/heliosdb")>>> cursor = conn.cursor()Step 3: Try Conversational BI (2 minutes)
# Enable NL2SQLcursor.execute("SET heliosdb.nl2sql = ON")
# Ask in natural languagecursor.execute(""" Show me the top 5 customers by total spending""")
print(cursor.fetchall())# Output: [(customer_1, 15420.50), (customer_2, 12350.00), ...]
# Multi-turn conversationcursor.execute(""" Now filter to only customers from California""")
print(cursor.fetchall())** 88%+ accuracy on complex queries**
Step 4: Try Multimodal Vector Search (2 minutes)
# Search images using textcursor.execute(""" SELECT product_id, name, similarity FROM products WHERE vector_search( image_embedding, text_embedding('red sports car'), modality='cross-modal' ) ORDER BY similarity DESC LIMIT 5""")
print(cursor.fetchall())# Output: [(123, "Ferrari 488", 0.92), (456, "Porsche 911", 0.89), ...]** <180ms embedding latency**
Step 5: Try Hybrid Execution (2 minutes)
# Automatic local vs cloud routingcursor.execute("SET heliosdb.hybrid_mode = 'auto'")
# Small query - runs locallycursor.execute("SELECT * FROM cache WHERE id < 100")# Latency: ~5ms (local)
# Large query - runs in cloud with filter pushdowncursor.execute(""" SELECT region, COUNT(*) FROM sales_history WHERE date > '2024-01-01' GROUP BY region""")# Latency: 150ms (cloud, but 60% faster with pushdown)** 50-70% latency reduction**
Step 6: Try Cost Optimization (1 minute)
# Enable cost trackingcursor.execute("SET heliosdb.cost_tracking = ON")
# Run querycursor.execute("SELECT * FROM large_table LIMIT 1000")
# Check costcost = cursor.execute("SELECT last_query_cost()").fetchone()[0]print(f"Query cost: ${cost:.4f}")# Output: Query cost: $0.0023
# Set budget alertcursor.execute("SET heliosdb.budget_limit = 50.00") # $50 daily** 20-30% cost savings with auto-optimization**
What You Just Did
- Ran natural language queries with 88%+ accuracy
- Searched across image/text/audio modalities
- Experienced hybrid local+cloud execution
- Tracked query costs in real-time
All in under 10 minutes!
π Next Steps
- Read full guide: BETA_DEPLOYMENT_GUIDE.md
- Run benchmarks: TPC-H Guide
- Try stress tests: Stress Test Guide
- Join beta Slack: #heliosdb-beta
Pro Tips
For NL2SQL
- Use schema hints for better accuracy:
SET heliosdb.schema_hints = ON - Try different LLM providers: OpenAI, Anthropic, Cohere
- Review execution plans:
EXPLAIN <your NL query>
For Vector Search
- Rebuild indexes regularly for best performance
- Use appropriate similarity metrics (cosine, euclidean, dot)
- Batch embed operations for 5x speedup
For Hybrid Execution
- Monitor query routing:
SELECT * FROM heliosdb.query_routing_stats - Adjust thresholds:
SET heliosdb.local_threshold_rows = 10000 - Track savings:
SELECT * FROM heliosdb.hybrid_savings
For Cost Optimization
- Review recommendations:
SELECT * FROM heliosdb.cost_recommendations - Enable auto-apply:
SET heliosdb.auto_apply_optimizations = ON - Set up alerts: Configure in
config/beta.toml
β Common Questions
Q: What happens if NL2SQL makes an error? A: HeliosDB uses execution-based refinement - it tries again with fixes. After 3 attempts, it returns the best query + confidence score.
Q: Can I use my own embedding models?
A: Yes! Configure custom models in config/beta.toml under [multimodal_vector]
Q: How does hybrid routing decide local vs cloud?
A: Based on data size, query complexity, and cost. You can view decisions with EXPLAIN HYBRID.
Q: Are costs estimated or actual? A: Actual costs for cloud operations, estimated for local (based on CPU/memory usage).
π Troubleshooting
Canβt connect: Check Docker is running and ports are exposed
NL2SQL errors: Verify API key in config: heliosdb-cli config check
Slow queries: Enable query optimization: SET heliosdb.auto_optimize = ON
High costs: Review query patterns: SELECT * FROM heliosdb.expensive_queries
Support: beta-support@heliosdb.com Version: Wave 1 Beta (v7.0.0-beta.1) Last Updated: November 10, 2025