Q&A Why does DiskANN Index consume much memory? #36528
Unanswered
yongbin813
asked this question in
Q&A and General discussion
Replies: 1 comment 9 replies
-
Is there any long-length VARCHAR type field in the collection? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In 2.2.9 Standalone version , I have a collection ,use DiskANN index build 10 Million rows 512 Dimensions , according to https://milvus.io/tools/sizing will use 4.8 G Memory , but in reality, it was used 16G+ Memory , I was confused
This is my milvus.yaml:
queryNode:
cacheSize: 2 # GB, default 32 GB,
cacheSize
is the memory used for caching data for faster query. ThecacheSize
must be less than system memory size.port: 21123
loadMemoryUsageFactor: 3 # The multiply factor of calculating the memory usage while loading segments
enableDisk: true
segment:
maxSize: 2048 # Maximum size of a segment in MB
diskSegmentMaxSize: 2048
DiskIndex:
MaxDegree: 28
SearchListSize: 16
PQCodeBudgetGBRatio: 0.058
BuildNumThreadsRatio: 1.0
SearchCacheBudgetGBRatio: 0.01
LoadNumThreadRatio: 8.0
BeamWidthRatio: 4.0
Beta Was this translation helpful? Give feedback.
All reactions