INFORMATION_SCHEMA.TDSTORE_COLUMNAR_NODE_DATA_COUNT_INFO is used to count the amount of data in row storage and data in columnar storage in a table, and the ratio between them.Field Name | Type | Description |
node_name | VARCHAR | The node where the table being counted resides. |
db_name | VARCHAR | The database name where the table being counted resides. |
table_name | VARCHAR | The name of the table being counted. |
table_id | INT | The id of the table being counted. |
column_data_count | INT | The number of rows of columnar storage data in the table being counted. |
row_data_count | INT | The number of rows of row storage data in the table being counted. |
data_ratio | DOUBLE | The ratio of rows of columnar storage data to rows of row storage data in the table being counted (rows of columnar storage data / rows of row storage data). |
tdsql3_sys_local@localhost [information_schema]> select * from TDSTORE_COLUMNAR_NODE_DATA_COUNT_INFO\\G*************************** 1. row ***************************node_name: node-run-test_reboot-001db_name: test_basetable_name: test_tabletable_id: 10026column_data_count: 4row_data_count: 2702data_ratio: 0.00148038490007401921 row in set (0.00 sec)
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback