-
Notifications
You must be signed in to change notification settings - Fork 0
guides_configuration
For comprehensive configuration documentation, please see:
Complete Configuration Reference
This file contains:
- All available configuration parameters
- Detailed comments explaining each option
- Default values and recommendations
- Example configurations for different use cases
Konfigurations- und Tuning-Guide (DE)
This comprehensive guide covers:
- Configuration file formats and locations
- Storage tuning (RocksDB memory, write, read, compression)
- Server tuning (threads, connections, TLS, HTTP/2)
- Vector index tuning (HNSW parameters, GPU acceleration)
- Memory management and planning
- I/O optimization strategies
- Feature configuration
- Use-case-specific tuning examples
- Hardware-specific configurations
- Monitoring and troubleshooting
- Production deployment checklist
Create a config.yaml file:
storage:
rocksdb_path: "./data/rocksdb"
memtable_size_mb: 256
block_cache_size_mb: 1024
server:
host: "0.0.0.0"
port: 8765
worker_threads: 0 # auto-detect
vector_index:
object_name: "documents"
dimension: 768
metric: "COSINE"ThemisDB includes optimized configurations for common hardware:
# Raspberry Pi 5 (8GB RAM)
cp config/config.rpi5.json config/config.json
# Raspberry Pi 4 (4GB RAM)
cp config/config.rpi4.json config/config.json
# Raspberry Pi 3 (2GB RAM)
cp config/config.rpi3.json config/config.json
# QNAP NAS
cp config/config.qnap.json config/config.json# Default search paths:
# 1. ./config.yaml
# 2. ./config/config.yaml
# 3. /etc/vccdb/config.yaml
# Or specify custom path:
./themis_server --config /path/to/config.yamlControls database storage engine behavior:
- Memory allocation (memtable, block cache)
- Write performance (WAL, pipelining, concurrent writes)
- Compaction settings (background jobs, levels)
- Compression (lz4, zstd, none)
- BlobDB for large values
Controls HTTP/gRPC server behavior:
- Network settings (host, port)
- Thread configuration
- Connection limits
- TLS/SSL configuration
- HTTP/2, WebSocket settings
Controls vector search behavior:
- HNSW parameters (M, ef_construction, ef_search)
- GPU acceleration
- Persistence settings
Enable/disable optional features:
- Semantic cache
- LLM store
- CDC (Change Data Capture)
- Time-series support
- Data retention policies
OpenTelemetry tracing configuration:
- Enable/disable distributed tracing
- Service name
- OTLP endpoint
Write-Heavy:
- Increase
memtable_size_mb - Enable
enable_pipelined_write - Increase
max_background_jobs
Read-Heavy:
- Increase
block_cache_size_mb - Increase
bloom_bits_per_key - Enable
cache_index_and_filter_blocks
Balanced:
- Use default settings
- Adjust based on monitoring
Low Memory (2-4 GB):
memtable_size_mb: 64block_cache_size_mb: 256worker_threads: 4
Medium Memory (8-16 GB):
memtable_size_mb: 256block_cache_size_mb: 1024-
worker_threads: 0(auto)
High Memory (32+ GB):
memtable_size_mb: 512-1024block_cache_size_mb: 4096+enable_high_parallel_tuning: true
- German Tuning Guide - Comprehensive tuning guide
- Raspberry Pi Tuning - ARM-specific optimizations
- Performance Tuning - Search performance tuning
- Deployment Guide - Deployment best practices
- Administrator Guide - Administration tasks
- Quick Start Guide - Getting started
storage:
memtable_size_mb: 64
block_cache_size_mb: 256
max_background_jobs: 2
compression:
default: "lz4"
bottommost: "zstd"
server:
worker_threads: 4
max_connections: 50
vector_index:
hnsw_m: 12
max_elements: 50000
features:
semantic_cache: false
cdc: falsestorage:
memtable_size_mb: 1024
block_cache_size_mb: 8192
max_background_jobs: 16
enable_high_parallel_tuning: true
enable_pipelined_write: true
compression:
default: "lz4"
bottommost: "zstd"
server:
worker_threads: 0 # auto-detect
max_connections: 500
vector_index:
hnsw_m: 64
hnsw_ef_construction: 800
ef_search: 200
use_gpu: true
max_elements: 10000000
features:
semantic_cache: true
llm_store: true
cdc: truestorage:
memtable_size_mb: 256
block_cache_size_mb: 2048
server:
worker_threads: 0
max_connections: 100
vector_index:
dimension: 768
hnsw_m: 32
hnsw_ef_construction: 400
ef_search: 100
use_gpu: true
max_elements: 1000000
features:
semantic_cache: true
llm_store: trueFor configuration questions or performance issues:
- Check metrics:
curl http://localhost:8765/stats - Review logs:
tail -f themis_server.log - Consult the comprehensive guide: CONFIGURATION_TUNING_GUIDE.md
- Open an issue: https://github.com/makr-code/ThemisDB/issues
ThemisDB v1.3.4 | GitHub | Documentation | Discussions | License
Last synced: January 02, 2026 | Commit: 6add659
Version: 1.3.0 | Stand: Dezember 2025
- Übersicht
- Home
- Dokumentations-Index
- Quick Reference
- Sachstandsbericht 2025
- Features
- Roadmap
- Ecosystem Overview
- Strategische Übersicht
- Geo/Relational Storage
- RocksDB Storage
- MVCC Design
- Transaktionen
- Time-Series
- Memory Tuning
- Chain of Thought Storage
- Query Engine & AQL
- AQL Syntax
- Explain & Profile
- Rekursive Pfadabfragen
- Temporale Graphen
- Zeitbereichs-Abfragen
- Semantischer Cache
- Hybrid Queries (Phase 1.5)
- AQL Hybrid Queries
- Hybrid Queries README
- Hybrid Query Benchmarks
- Subquery Quick Reference
- Subquery Implementation
- Content Pipeline
- Architektur-Details
- Ingestion
- JSON Ingestion Spec
- Enterprise Ingestion Interface
- Geo-Processor Design
- Image-Processor Design
- Hybrid Search Design
- Fulltext API
- Hybrid Fusion API
- Stemming
- Performance Tuning
- Migration Guide
- Future Work
- Pagination Benchmarks
- Enterprise README
- Scalability Features
- HTTP Client Pool
- Build Guide
- Implementation Status
- Final Report
- Integration Analysis
- Enterprise Strategy
- Verschlüsselungsstrategie
- Verschlüsselungsdeployment
- Spaltenverschlüsselung
- Encryption Next Steps
- Multi-Party Encryption
- Key Rotation Strategy
- Security Encryption Gap Analysis
- Audit Logging
- Audit & Retention
- Compliance Audit
- Compliance
- Extended Compliance Features
- Governance-Strategie
- Compliance-Integration
- Governance Usage
- Security/Compliance Review
- Threat Model
- Security Hardening Guide
- Security Audit Checklist
- Security Audit Report
- Security Implementation
- Development README
- Code Quality Pipeline
- Developers Guide
- Cost Models
- Todo Liste
- Tool Todo
- Core Feature Todo
- Priorities
- Implementation Status
- Roadmap
- Future Work
- Next Steps Analysis
- AQL LET Implementation
- Development Audit
- Sprint Summary (2025-11-17)
- WAL Archiving
- Search Gap Analysis
- Source Documentation Plan
- Changefeed README
- Changefeed CMake Patch
- Changefeed OpenAPI
- Changefeed OpenAPI Auth
- Changefeed SSE Examples
- Changefeed Test Harness
- Changefeed Tests
- Dokumentations-Inventar
- Documentation Summary
- Documentation TODO
- Documentation Gap Analysis
- Documentation Consolidation
- Documentation Final Status
- Documentation Phase 3
- Documentation Cleanup Validation
- API
- Authentication
- Cache
- CDC
- Content
- Geo
- Governance
- Index
- LLM
- Query
- Security
- Server
- Storage
- Time Series
- Transaction
- Utils
Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/