Download full collection via collection.query #39309
-
I want to download full collection from milvus base via But if the collection is about 3.2M samples. It is much larger than 16384...
Drops me an error So how can i manage to download full collection ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The max value of limit is 16384 in milvus. And if the size of the result exceeds RPC transfer limit, you will get the error "query results exceed the limit size". So, a single call of query() cannot fetch all data of a large collection. The correct way is using the QueryIterator to fetch data batch by batch. |
Beta Was this translation helpful? Give feedback.
The max value of limit is 16384 in milvus. And if the size of the result exceeds RPC transfer limit, you will get the error "query results exceed the limit size". So, a single call of query() cannot fetch all data of a large collection.
The correct way is using the QueryIterator to fetch data batch by batch.
https://milvus.io/docs/get-and-scalar-query.md#Overview