Examples

Practical code examples demonstrating DBX features.

🚀 Getting Started

Start here if you’re new to DBX:

🔒 Security & Data Protection

Protect your data with encryption and compression:

  • Encryption - AES-256-GCM-SIV and ChaCha20-Poly1305 encryption
  • Compression - ZSTD compression for space savings

⚡ Performance Optimization

Maximize performance with these features:

  • Indexing - Bloom Filter indexes for fast lookups

🔄 Reliability

Ensure data durability:

📚 Example Categories

By Complexity

Level Examples
Beginner Quick Start, SQL Quick Start
Intermediate Indexing, Encryption
Advanced Compression, WAL Recovery

By Feature

Feature Examples
Storage Quick Start, Compression
Query SQL Quick Start, Indexing
Reliability WAL Recovery
Security Encryption

🎯 Quick Navigation

I want to…

💻 Running Examples

All examples are located in core/dbx-core/examples/ and can be run with:

# List all examples
cargo run --example

# Run a specific example
cargo run --example encryption
cargo run --example transactions
cargo run --example gpu_acceleration

📖 Documentation Structure

Each example includes:

  • Overview: What the feature does
  • Quick Start: Minimal code to get started
  • Step-by-Step Guide: Detailed walkthrough
  • Complete Example: Full working code
  • Performance Tips: Optimization recommendations
  • Next Steps: Related examples and features

Need help? Open an issue.


Copyright © 2026 ByteLogicCore. MIT OR Apache-2.0 License.

This site uses Just the Docs, a documentation theme for Jekyll.