update index of table ue_event
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
Target Server Version : 100338 (10.3.38-MariaDB)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 04/07/2024 10:16:09
|
||||
Date: 04/07/2024 10:43:31
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@@ -33,7 +33,7 @@ CREATE TABLE `ue_event_amf` (
|
||||
`tenant_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `id`(`id`) USING BTREE,
|
||||
INDEX `idx_type_timestamp`(`ne_type`, `timestamp`, `event_type`) USING BTREE
|
||||
INDEX `idx_type_timestamp`(`ne_type`, `timestamp`, `event_type`, `tenant_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
Target Server Version : 100338 (10.3.38-MariaDB)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 04/07/2024 10:16:09
|
||||
Date: 04/07/2024 10:41:59
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@@ -32,7 +32,7 @@ CREATE TABLE IF NOT EXISTS `ue_event_amf` (
|
||||
`tenant_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `id`(`id`) USING BTREE,
|
||||
INDEX `idx_type_timestamp`(`ne_type`, `timestamp`, `event_type`) USING BTREE
|
||||
INDEX `idx_type_timestamp`(`ne_type`, `timestamp`, `event_type`, `tenant_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
||||
Reference in New Issue
Block a user