Elasticsearch 常用命令6

2022-06-29 22:44:38 浏览数 (1)

查询恢复信息

代码语言:javascript复制
[root@esvm03 ~]# curl 'localhost:9200/_cat/recovery?v'
index      shard time  type       stage source_host target_host   repository snapshot files files_percent bytes     bytes_percent 
users      0     405   relocation done  esvm01      esvm03        n/a        n/a      28    100.0%        1176005   100.0%        
users      0     52    replica    done  esvm01      esvm02        n/a        n/a      1     100.0%        1176005   100.0%        
users      1     358   relocation done  esvm01      esvm03 	  n/a        n/a      39    100.0%        1194365   100.0%        
users      1     64    replica    done  esvm01      esvm02        n/a        n/a      1     100.0%        1194365   100.0%        
users      2     671   replica    done  esvm01      esvm03 	  n/a        n/a      26    100.0%        1177678   100.0%        
users      2     6     gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
users      3     385   replica    done  esvm01      esvm03 	  n/a        n/a      14    100.0%        1168462   100.0%        
users      3     29    gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
users      4     5     gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
users      4     66    replica    done  esvm01      esvm02        n/a        n/a      1     100.0%        1187941   100.0%        
topics     0     514   replica    done  esvm01      esvm03   	  n/a        n/a      32    100.0%        1611760   100.0%        
topics     0     5     gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
topics     1     1096  relocation done  esvm01      esvm03 	  n/a        n/a      38    100.0%        1612483   100.0%        
topics     1     203   replica    done  esvm01      esvm02        n/a        n/a      17    100.0%        1459163   100.0%        
topics     2     725   relocation done  esvm01      esvm03 	  n/a        n/a      20    100.0%        1606817   100.0%        
topics     2     161   replica    done  esvm01      esvm02        n/a        n/a      14    100.0%        1466632   100.0%        
topics     3     4     gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
topics     3     94    replica    done  esvm01      esvm02        n/a        n/a      7     100.0%        1469455   100.0%        
topics     4     4     gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
topics     4     445   replica    done  esvm01      esvm02        n/a        n/a      7     100.0%        1480195   100.0%        
posts      0     25371 relocation done  esvm01      esvm03	  n/a        n/a      190   100.0%        422296109 100.0%        
posts      0     906   replica    done  esvm01      esvm02        n/a        n/a      56    100.0%        369011722 100.0%        
posts      1     32351 replica    done  esvm01      esvm03 	  n/a        n/a      202   100.0%        422354945 100.0%        
posts      1     853   gateway    done  esvm01      esvm01        n/a        n/a      60    100.0%        13380484  100.0%        
posts      2     24603 replica    done  esvm01      esvm03 	  n/a        n/a      178   100.0%        422154544 100.0%        
posts      2     723   gateway    done  esvm01      esvm01        n/a        n/a      48    100.0%        26706801  100.0%        
posts      3     905   gateway    done  esvm01      esvm01        n/a        n/a      52    100.0%        26862482  100.0%        
posts      3     1396  replica    done  esvm01      esvm02        n/a        n/a      57    100.0%        368898357 100.0%        
posts      4     236   gateway    done  esvm01      esvm01        n/a        n/a      64    100.0%        26563718  100.0%        
posts      4     1324  replica    done  esvm01      esvm02        n/a        n/a      51    100.0%        368808964 100.0%        
bet_orders 0     10210 replica    done  esvm01      esvm03 	  n/a        n/a      23    100.0%        4884128   100.0%        
bet_orders 0     14    gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
bet_orders 1     1446  relocation done  esvm01      esvm03 	  n/a        n/a      39    100.0%        4897417   100.0%        
bet_orders 1     80    replica    done  esvm01      esvm02        n/a        n/a      1     100.0%        4438870   100.0%        
bet_orders 2     3378  relocation done  esvm01      esvm03 	  n/a        n/a      36    100.0%        4874906   100.0%        
bet_orders 2     126   replica    done  esvm01      esvm02        n/a        n/a      1     100.0%        4441795   100.0%        
bet_orders 3     3     gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
bet_orders 3     206   replica    done  esvm01      esvm02        n/a        n/a      1     100.0%        4435120   100.0%        
bet_orders 4     6     gateway    done  esvm01      esvm01        n/a        n/a      0     0.0%          0         0.0%          
bet_orders 4     59    replica    done  esvm01      esvm02        n/a        n/a      1     100.0%        4430414   100.0%        
[root@esvm03 ~]# 

0 人点赞