modify ash table's plan_hash type to uint

This commit is contained in:
rolandqi 2024-04-30 05:07:33 +00:00 committed by ob-robot
parent f2627c972a
commit 1f689286ac
6 changed files with 14 additions and 14 deletions

View File

@ -1372,9 +1372,9 @@ int ObInnerTableSchema::all_virtual_ash_schema(ObTableSchema &table_schema)
0, //rowkey_id
0, //index_id
0, //part_key_pos
ObIntType, //column_type
ObUInt64Type, //column_type
CS_TYPE_INVALID, //column_collation_type
sizeof(int64_t), //column_length
sizeof(uint64_t), //column_length
-1, //column_precision
-1, //column_scale
true, //is_nullable
@ -2401,9 +2401,9 @@ int ObInnerTableSchema::all_virtual_ash_all_virtual_ash_i1_schema(ObTableSchema
0, //rowkey_id
0, //index_id
0, //part_key_pos
ObIntType, //column_type
ObUInt64Type, //column_type
CS_TYPE_INVALID, //column_collation_type
sizeof(int64_t), //column_length
sizeof(uint64_t), //column_length
-1, //column_precision
-1, //column_scale
true,//is_nullable

View File

@ -7331,9 +7331,9 @@ int ObInnerTableSchema::all_virtual_wr_active_session_history_schema(ObTableSche
0, //rowkey_id
0, //index_id
0, //part_key_pos
ObIntType, //column_type
ObUInt64Type, //column_type
CS_TYPE_INVALID, //column_collation_type
sizeof(int64_t), //column_length
sizeof(uint64_t), //column_length
-1, //column_precision
-1, //column_scale
true, //is_nullable

View File

@ -1365,9 +1365,9 @@ int ObInnerTableSchema::wr_active_session_history_schema(ObTableSchema &table_sc
0, //rowkey_id
0, //index_id
0, //part_key_pos
ObIntType, //column_type
ObUInt64Type, //column_type
CS_TYPE_INVALID, //column_collation_type
sizeof(int64_t), //column_length
sizeof(uint64_t), //column_length
-1, //column_precision
-1, //column_scale
true, //is_nullable

View File

@ -5940,7 +5940,7 @@ def_table_schema(
('group_id', 'int', 'true'),
('tx_id', 'int', 'true'),
('blocking_session_id', 'int', 'true'),
('plan_hash', 'int', 'true'),
('plan_hash', 'uint', 'true'),
('thread_id', 'int', 'true'),
('stmt_type', 'int', 'true'),
],
@ -12462,7 +12462,7 @@ def_table_schema(
('GROUP_ID', 'int', 'true'),
('TX_ID', 'int', 'true'),
('BLOCKING_SESSION_ID', 'int', 'true'),
('PLAN_HASH', 'int', 'true'),
('PLAN_HASH', 'uint', 'true'),
('THREAD_ID', 'int', 'true'),
('STMT_TYPE', 'int', 'true'),
],

View File

@ -3120,7 +3120,7 @@ IN_FILTER_ROWS tinyint(4) NO 0
GROUP_ID bigint(20) YES NULL
TX_ID bigint(20) YES NULL
BLOCKING_SESSION_ID bigint(20) YES NULL
PLAN_HASH bigint(20) YES NULL
PLAN_HASH bigint(20) unsigned YES NULL
THREAD_ID bigint(20) YES NULL
STMT_TYPE bigint(20) YES NULL
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_ash;
@ -3908,7 +3908,7 @@ event_id bigint(20) YES NULL
group_id bigint(20) YES NULL
tx_id bigint(20) YES NULL
blocking_session_id bigint(20) YES NULL
plan_hash bigint(20) YES NULL
plan_hash bigint(20) unsigned YES NULL
thread_id bigint(20) YES NULL
stmt_type bigint(20) YES NULL
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_wr_active_session_history;

View File

@ -6809,7 +6809,7 @@ IN_FILTER_ROWS tinyint(4) NO 0
GROUP_ID bigint(20) YES NULL
TX_ID bigint(20) YES NULL
BLOCKING_SESSION_ID bigint(20) YES NULL
PLAN_HASH bigint(20) YES NULL
PLAN_HASH bigint(20) unsigned YES NULL
THREAD_ID bigint(20) YES NULL
STMT_TYPE bigint(20) YES NULL
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_ash;
@ -8179,7 +8179,7 @@ event_id bigint(20) YES NULL
group_id bigint(20) YES NULL
tx_id bigint(20) YES NULL
blocking_session_id bigint(20) YES NULL
plan_hash bigint(20) YES NULL
plan_hash bigint(20) unsigned YES NULL
thread_id bigint(20) YES NULL
stmt_type bigint(20) YES NULL
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_wr_active_session_history;