mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
issue: https://github.com/milvus-io/milvus/issues/42032 - Use bytes to estimate load resource in the whole estimation procedure - Add num_rows and dim info for vector index to better estimate - Disable eviction for tiered index's meta --------- Signed-off-by: chasingegg <chao.gao@zilliz.com>
36 lines
823 B
Protocol Buffer
36 lines
823 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package milvus.proto.cgo;
|
|
option go_package="github.com/milvus-io/milvus/pkg/v2/proto/cgopb";
|
|
|
|
import "schema.proto";
|
|
|
|
message LoadIndexInfo {
|
|
int64 collectionID = 1;
|
|
int64 partitionID = 2;
|
|
int64 segmentID = 3;
|
|
schema.FieldSchema field = 5;
|
|
bool enable_mmap = 6;
|
|
string mmap_dir_path = 7; //Deprecated
|
|
int64 indexID = 8;
|
|
int64 index_buildID = 9;
|
|
int64 index_version = 10;
|
|
map<string, string> index_params = 11;
|
|
repeated string index_files = 12;
|
|
string uri = 13;
|
|
int64 index_store_version = 14;
|
|
int32 index_engine_version = 15;
|
|
int64 index_file_size = 16;
|
|
int64 num_rows = 17;
|
|
}
|
|
|
|
message IndexStats {
|
|
int64 mem_size = 1;
|
|
repeated SerializedIndexFileInfo serialized_index_infos = 3;
|
|
}
|
|
|
|
message SerializedIndexFileInfo {
|
|
string file_name = 1;
|
|
int64 file_size = 2;
|
|
}
|