Skip to content

Commit

Permalink
Update 9.show-parts.md
Browse files Browse the repository at this point in the history
  • Loading branch information
randomJoe211 authored Aug 12, 2021
1 parent 418289d commit 483bbbb
Showing 1 changed file with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,36 @@ SHOW PARTS [<part_id>];

```ngql
nebula> SHOW PARTS;
+--------------+---------------------+---------------------+-------+
| Partition ID | Leader | Peers | Losts |
+--------------+---------------------+---------------------+-------+
| 1 | "192.168.2.1:44500" | "192.168.2.1:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 2 | "192.168.2.2:44500" | "192.168.2.2:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 3 | "192.168.2.3:44500" | "192.168.2.3:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 4 | "192.168.2.1:44500" | "192.168.2.1:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 5 | "192.168.2.2:44500" | "192.168.2.2:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 6 | "192.168.2.3:44500" | "192.168.2.3:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 7 | "192.168.2.1:44500" | "192.168.2.1:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 8 | "192.168.2.2:44500" | "192.168.2.2:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 9 | "192.168.2.3:44500" | "192.168.2.3:44500" | "" |
+--------------+---------------------+---------------------+-------+
| 10 | "192.168.2.1:44500" | "192.168.2.1:44500" | "" |
+--------------+---------------------+---------------------+-------+
+--------------+--------------------+--------------------+-------+
| Partition ID | Leader | Peers | Losts |
+--------------+--------------------+--------------------+-------+
| 1 | "192.168.2.1:9779" | "192.168.2.1:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 2 | "192.168.2.2:9779" | "192.168.2.2:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 3 | "192.168.2.3:9779" | "192.168.2.3:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 4 | "192.168.2.1:9779" | "192.168.2.1:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 5 | "192.168.2.2:9779" | "192.168.2.2:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 6 | "192.168.2.3:9779" | "192.168.2.3:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 7 | "192.168.2.1:9779" | "192.168.2.1:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 8 | "192.168.2.2:9779" | "192.168.2.2:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 9 | "192.168.2.3:9779" | "192.168.2.3:9779" | "" |
+--------------+--------------------+--------------------+-------+
| 10 | "192.168.2.1:9779" | "192.168.2.1:9779" | "" |
+--------------+--------------------+--------------------+-------+
nebula> SHOW PARTS 1;
+--------------+---------------------+---------------------+-------+
| Partition ID | Leader | Peers | Losts |
+--------------+---------------------+---------------------+-------+
| 1 | "192.168.2.1:44500" | "192.168.2.1:44500" | "" |
+--------------+---------------------+---------------------+-------+
+--------------+--------------------+--------------------+-------+
| Partition ID | Leader | Peers | Losts |
+--------------+--------------------+--------------------+-------+
| 1 | "192.168.2.1:9779" | "192.168.2.1:9779" | "" |
+--------------+--------------------+--------------------+-------+
```

返回结果的说明如下:
Expand Down

0 comments on commit 483bbbb

Please sign in to comment.