luchunliang commented on code in PR #9340:
URL: https://github.com/apache/inlong/pull/9340#discussion_r1406999848


##########
inlong-manager/manager-web/sql/changes-1.10.0.sql:
##########
@@ -36,4 +36,15 @@ VALUES ('audit_sort_mysql_binlog_input', 'MYSQL_BINLOG', 0, 
'29'),
        ('audit_sort_tube_input', 'TUBEMQ', 0, '33'),
        ('audit_sort_tube_output', 'TUBEMQ', 1, '34');
 
+ALTER TABLE `operation_log`
+    ADD COLUMN  `inlong_group_id`  varchar(256) DEFAULT NULL COMMENT 'Inlong 
group id';
+
+ALTER TABLE `operation_log`
+    ADD COLUMN  `inlong_stream_id` varchar(256) DEFAULT NULL COMMENT 'Inlong 
stream id',
+
+ALTER TABLE `operation_log`
+    ADD COLUMN `operation_target` varchar(256) DEFAULT NULL COMMENT 'Operation 
target',
+
+CREATE INDEX operation_log_group_stream_index ON operation_log 
(`inlong_group_id`, `inlong_stream_id`);
+

Review Comment:
   request_time field is high-frequency query conditions, but it is not in any 
key index.



-- 
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: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to