reddb-cli 0.1.2-next.54 → 0.1.2-next.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -252,6 +252,20 @@ Same storage format across all three. Start embedded, scale to server, expose to
|
|
|
252
252
|
|
|
253
253
|
---
|
|
254
254
|
|
|
255
|
+
## Performance
|
|
256
|
+
|
|
257
|
+
RedDB uses multiple optimization techniques for fast queries at scale:
|
|
258
|
+
|
|
259
|
+
- **Hash Join** -- O(n+m) joins instead of O(n*m), auto-selected for large datasets
|
|
260
|
+
- **Parallel Segment Scanning** -- sealed segments scanned in parallel via rayon
|
|
261
|
+
- **Lazy Graph Materialization** -- only loads reachable nodes instead of full graph
|
|
262
|
+
- **Pre-filtered Vector Search** -- metadata filters applied before HNSW indexing
|
|
263
|
+
- **Index-Assisted Scans** -- bloom filter + hash index hints for WHERE clauses
|
|
264
|
+
- **Column Projection Pushdown** -- only materializes SELECT columns
|
|
265
|
+
- **Query Plan Caching** -- LRU cache with 1h TTL for repeated queries
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
255
269
|
## Quick Start
|
|
256
270
|
|
|
257
271
|
```bash
|