This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
galaxy-deployment-tsg-olap-…/mariadb/galaxy-qgw-service/V24.07__init_sys_storage_event.sql
2024-11-08 16:49:43 +08:00

22 lines
913 B
SQL

/*
Sys Storage Event
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for dataset
-- ----------------------------
CREATE TABLE IF NOT EXISTS `sys_storage_event` (
`id` int(64) NOT NULL AUTO_INCREMENT,
`log_type` varchar(512) NOT NULL COMMENT 'Enums: Traffic Logs or Metrics or Files',
`data_center` varchar(512) NOT NULL,
`used_size` bigint NOT NULL,
`total_allocated_size` bigint NOT NULL,
`bytes` bigint NOT NULL,
`since_time` bigint NOT NULL,
`generated_time` bigint NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
SET FOREIGN_KEY_CHECKS = 1;