From a2f08541387806c9299a43b38fbfeaa5da5904a9 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 07 十二月 2021 17:43:55 +0800 Subject: [PATCH] 优化通道录入性能,优化启动后读取配置写入数据库的过程 --- sql/mysql.sql | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/sql/mysql.sql b/sql/mysql.sql index dba42c1..64fed12 100644 --- a/sql/mysql.sql +++ b/sql/mysql.sql @@ -23,6 +23,7 @@ updateTime varchar(50) not null, port int not null, expires int not null, + subscribeCycleForCatalog int not null, hostAddress varchar(50) not null, charset varchar(50) not null ); @@ -66,6 +67,7 @@ id int auto_increment primary key, deviceId varchar(50) not null, + channelId varchar(50) not null, alarmPriority varchar(50) not null, alarmMethod varchar(50), alarmTime varchar(50) not null, @@ -92,6 +94,7 @@ create table device_mobile_position ( deviceId varchar(50) not null, + channelId varchar(50) not null, deviceName varchar(255) null, time varchar(50) not null, longitude double not null, @@ -170,6 +173,7 @@ ptz int null, rtcp int null, status bit null, + shareAllLiveStream int null, primary key (id, serverGBId) ); @@ -205,6 +209,7 @@ enable_hls bit null, enable_mp4 bit null, enable bit not null, + enable_remove_none_reader bit not null, createTime varchar(50) not null, primary key (app, stream) ); -- Gitblit v1.8.0