PD元数据

  • PD 根据数据的尺寸将全量数据分割成一系列的 Region,每一个 Region 承载全量数据中一段较小范围的数据。PD 为每一个 Region 维护了下面的元信息

{

“id”: 10001,

“start_key”: “xxx”,

“end_key”: “yyy”,

“epoch”: {

“conf_ver”: 50,

“version”: 268

},

“peers”: [

{

 "id": 7820688,

“store_id”: 7583502






},



{





“id”: 9147810,

“store_id”: 7586672






},



{





“id”: 9186477,

“store_id”: 7584594






}



],



“leader”: {



“id”: 7820688,



“store_id”: 7583502



},



“written_bytes”: 15639,



“read_bytes”: 236,



“approximate_size”: 515,



“approximate_keys”: 4747086



}