devpocket.dev

Embedding Storage कैलकुलेटर

Vector database storage, index overhead, replicas, RAM जरूरत और monthly cost का अनुमान लगाएँ।

लोकल चलता है
टूल लोड हो रहा है…

इस्तेमाल कैसे करें

Vector count और dimensions डालें, फिर float32, float16, int8 या binary storage चुनें। Flat, HNSW या IVF चुनकर index-specific option सेट करें। Replicas, हर vector के metadata bytes और infrastructure overhead factor जोड़ें। Unit switch केवल display units बदलता है; storage pricing हमेशा decimal GB इस्तेमाल करती है।

HNSW एक approximation है: base graph के लिए vectors × M × 2 × 4 bytes, फिर upper layers के लिए 10%। IVF में 8-byte list references और full-vector centroids शामिल हैं। Database engines यहाँ ठीक-ठीक न दिखने वाले IDs, alignment, compression, cache, WAL या page overhead जोड़ सकते हैं, इसलिए operational headroom रखें।

आम सवाल

एक embedding कितना storage लेती है?

Dimensions को bytes per dimension से गुणा करें: float32 4 bytes, float16 2, int8 1 और binary हर dimension पर एक bit लेकर full byte तक round up करता है। Indexes और metadata अलग से जुड़ते हैं।

क्या HNSW memory estimate सटीक है?

नहीं। यह base layer पर 2 × M चार-byte neighbor IDs estimate करता है और upper layers के लिए 10% जोड़ता है। Implementations headers, alignment, deletion tracking, ID widths और caching में अलग होते हैं।

क्या vector database disk size और RAM usage बराबर हैं?

जरूरी नहीं। कुछ engines HNSW graphs और hot vectors RAM में रखते हैं, जबकि बाकी data disk से memory-map या cache होता है। Compression और workload भी resident memory बदलते हैं।

मिलते-जुलते टूल