Skip to content

collection.load() #33471

May 30, 2024 · 1 comments · 8 replies
Discussion options

You must be logged in to vote

load()的意思是:通知milvus server,把这个collection的数据加载到服务端的内存里,只要你不用collection.release()去通知释放,那些数据就一直保持在服务端内存里。只有数据在内存里才能被查询。所以只要你调用了一次collection.load(),只要你不重启milvus服务端,那随便你客户端调多少次查询都行,调用了一次collection.load()之后就不需要再次调用load(),实际上就算你调用多次collection.load(),也只有第一次干活。

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@chaochen1998
Comment options

@yhmo
Comment options

Answer selected by chaochen1998
@chaochen1998
Comment options

@yhmo
Comment options

@chaochen1998
Comment options

@cutelitchi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants