Skip to content

Download full collection via collection.query #39309

Closed Answered by yhmo
canek13 asked this question in Q&A and General discussion
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by canek13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants