morningman commented on code in PR #14542:
URL: https://github.com/apache/doris/pull/14542#discussion_r1031414235


##########
docs/zh-CN/docs/admin-manual/system-table/rowsets:
##########
@@ -0,0 +1,84 @@
+---
+{
+    "title": "rowsets",
+    "language": "zh-CN"
+}
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+## rowsets
+
+### Name
+
+rowsets
+
+### description
+
+`rowsets` 是doris内置的一张系统表,存放在`information_schema`数据库下。通过 `rowsets` 
系统表可以查看各个`BE` 当前rowsets情况。
+
+rowsets表结构为:
+```sql
+MySQL [(none)]> desc information_schema.rowsets;
++------------------------+------------+------+-------+---------+-------+
+| Field                  | Type       | Null | Key   | Default | Extra |
++------------------------+------------+------+-------+---------+-------+
+| BACKEND_ID             | BIGINT     | Yes  | false | NULL    |       |
+| ROWSET_ID              | VARCHAR(*) | Yes  | false | NULL    |       |
+| TABLET_ID              | BIGINT     | Yes  | false | NULL    |       |
+| ROWSET_NUM_ROWS        | BIGINT     | Yes  | false | NULL    |       |
+| TXN_ID                 | BIGINT     | Yes  | false | NULL    |       |
+| NUM_SEGMENTS           | BIGINT     | Yes  | false | NULL    |       |
+| START_VERSION          | BIGINT     | Yes  | false | NULL    |       |
+| END_VERSION            | BIGINT     | Yes  | false | NULL    |       |
+| INDEX_DISK_SIZE        | BIGINT     | Yes  | false | NULL    |       |
+| DATA_DISK_SIZE         | BIGINT     | Yes  | false | NULL    |       |
+| CREATION_TIME          | BIGINT     | Yes  | false | NULL    |       |
+| OLDEST_WRITE_TIMESTAMP | BIGINT     | Yes  | false | NULL    |       |
+| NEWEST_WRITE_TIMESTAMP | BIGINT     | Yes  | false | NULL    |       |
++------------------------+------------+------+-------+---------+-------+
+```
+backends 系统表展示出来的信息基本与 `show backends` 
语句展示出的信息一致。但是backends系统表的各个字段类型更加明确,且可以利用backends 系统表去做过滤、join等操作。

Review Comment:
   错误的描述



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to