From 2a44754632f1f3609433916d1bb7b222ec483faa Mon Sep 17 00:00:00 2001 From: doufenghu Date: Fri, 4 Jan 2019 11:57:31 +0600 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=80=9A=E8=81=94=E5=85=B3?= =?UTF-8?q?=E7=B3=BBASN=E7=BB=9F=E8=AE=A1=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/20181229/traffic_statistic.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/20181229/traffic_statistic.sql diff --git a/db/20181229/traffic_statistic.sql b/db/20181229/traffic_statistic.sql new file mode 100644 index 0000000..4e106e3 --- /dev/null +++ b/db/20181229/traffic_statistic.sql @@ -0,0 +1,9 @@ +CREATE TABLE `traffic_asn_statistic` ( + `stat_id` bigint(20) NOT NULL AUTO_INCREMENT, + `asn_type` int(11) NOT NULL COMMENT '1-src_asn 2-dst_asn', + `asn` varchar(64) NOT NULL, + `packets` bigint(20) NOT NULL, + `bytes` bigint(20) NOT NULL, + `stat_time` datetime NOT NULL , + PRIMARY KEY (`stat_id`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; \ No newline at end of file