mirror of https://github.com/milvus-io/milvus.git
add segmengt statistics message in datanode and Update documentation
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>pull/4973/head^2
parent
0164e78bb5
commit
4af3914836
|
@ -4,7 +4,7 @@
|
|||
|
||||
#### 8.1 Overview
|
||||
|
||||
<img src="./figs/query_service.jpeg" width=700>
|
||||
<img src="./figs/query_service.png" width=700>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ type DataNode interface {
|
|||
WatchDmChannels(req WatchDmChannelRequest) error
|
||||
//WatchDdChannel(channelName string) error
|
||||
//SetTimeTickChannel(channelName string) error
|
||||
//SetStatsChannel(channelName string) error
|
||||
//SetStatisticsChannel(channelName string) error
|
||||
|
||||
FlushSegments(req FlushSegRequest) error
|
||||
}
|
||||
|
@ -218,3 +218,18 @@ type FlushSegRequest struct {
|
|||
}
|
||||
```
|
||||
|
||||
* *SegmentStatistics*
|
||||
|
||||
```go
|
||||
type SegmentStatisticsUpdates struct {
|
||||
SegmentID UniqueID
|
||||
MemorySize int64
|
||||
NumRows int64
|
||||
}
|
||||
|
||||
type SegmentStatistics struct{
|
||||
MsgBase
|
||||
SegStats []*SegmentStatisticsUpdates
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 1.5 MiB |
Binary file not shown.
After Width: | Height: | Size: 156 KiB |
Loading…
Reference in New Issue