- Usage:
CLUSTER MYSHARDID
- Complexity:
- O(1)
- Since:
- 7.2.0
Returns the node’s shard id.
The CLUSTER MYSHARDID command returns the unique, auto-generated identifier that is associated with the shard to which the connected cluster node belongs.
History
| Version | Change |
|---|