GS_SLICEGROUP
GS_SLICEGROUP records information about slice groups created in the current database.
Name |
Type |
Description |
---|---|---|
oid |
oid |
Row identifier (hidden attribute, which must be specified). |
slicename |
name |
Name of a slice group or slice, which is distinguished by type. |
type |
"char" |
Object type.
|
strategy |
"char" |
Distribution policy.
|
bucketgroup |
smallint |
Bucket group to which the bucket allocated to a slice group belongs (value range: [1,4]). |
bucketcnt |
integer |
Total number of buckets allocated to a slice group. |
sgroupoid |
oid |
Slice group OID. |
sindex |
integer |
Reserved column. A slice index is recorded when a single slice is distributed to multiple DNs. |
nodeid |
integer |
Index of a DN to which a slice is distributed. |
redis_nodeid |
smallint |
Reserved column. This column is used as the default value on a DN. On a CN, this column specifies the index of a DN to which the current slice's bucket is to be migrated during scaling. |
bucket |
smallint |
Bucket to which a slice is distributed. |
slicecnt |
integer |
Total number of slices in the current slice group. If the object is a slice, the default value -1 is used. |
contained |
boolean |
Specifies whether the DN manages the bucket to which a slice is distributed.
The default value is f on a CN. |
specified |
boolean |
Specifies whether a DN is specified for a slice.
|
sliceorder |
integer |
Position of a slice in a slice group. |
boundaries |
text[] |
Value range of a slice. |
bucketversion |
integer |
Records the version number of the information that changes during subsequent range bucket scale-out. |
bucketcsn |
xid |
Maximum CSN of each bucket on the source node before redistribution, which is used to determine the visibility of the new node. |
bucketxid |
xid |
next_xid set for bringing a new node online during scaling, which is used to check whether the value is within the threshold range. |
distributetype |
oidvector |
OID of the range distribution key type specified by a slice group. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.