9. Error! Use the Home tab to apply ?? 1 to the text that you want to appear here.
6
2.3.2 Memory ???
- Influxdb ? ??? ???? ??? ?? ? ?? 1.4GB? ????, Influxdb ? ??
?? ??? ?? ??? ??? ??.
- InfiniFlux ? ?? 1.5GB? ??????, ??? ?? ??? ??? ????? ??.
2.4 ?? ???
? Influxdb ??? ?? GROUP BY? tag key? ? ???? ?? ??? ??? ? ??
?? ??.
? Test? srcip???? tag key ???? ?? ??? ? group by? ??.
? group by? ?? select? ?? ??? ???? ?? ?? ????.
? Influxdb???? ??? ?? ??? ?? ??? ??? ??? ns ?? ??
? ?? ??? ?? ???
select count(*) from test_cli..test_influxdb
? ?? ?? ??
select count(*) from test_cli..test_influxdb
where (srcip='31.224.72.52' and dstip='86.45.186.17');
0
1000000
2000000
65
165
265
365
465
565
665
765
865
965
1065
1165
1265
1365
1465
1565
1665
1765
1865
1965
2065
2165
2265
2365
2465
2565
2665
2765
2865
Memory ???
Influxdb
InfinFlux
10. Error! Use the Home tab to apply ?? 1 to the text that you want to appear here.
7
? ?? ?? ??
select count(dstip), min(dstport),max(dstport), mean("eventsize")
from test_cli..test_influxdb
where (dstport <= 1000 and dstport >= 100) and evencod=200
group by srcip
? Group by average ??
select mean(eventsize) from test_cli..test_influxdb group by evencod
? Group by count ??
select count(*) from test_cli..test_influxdb group by evencod
? Group by ?? ??
select sum(eventsize) from test_cli..test_influxdb group by evencod
? Group by STDDEV ?? ??
Select stddev(eventsize) from test_cli..test_influxdb group by evencod
? ?? ??
InfiniFlux Influxdb ???(??)
?? ??? 0.000 ? 34.957 ? 1??
?? ?? ?? 0.214 ? 4.245 ? 17,640
Group by AVERAGE
for full-scan
11.076 ?
8.36 ?
(?? ??,
Full scan? ????
??)
401
12848
200
9599.9949
Group by count 7.738 ? 40.673 ?
401
19998781
200
80001219
Group by SUM 11.838 ? 6.49 ? 401
11. Error! Use the Home tab to apply ?? 1 to the text that you want to appear here.
8
For full-scan (?? ??,
Full scan? ????
??)
256944328701
200
768010626424
Group by STDDEV 14.869 ? 303.034 ?
401
2.44939
200
12544.2
?? ?? ?? 30.852 ? 52.126 ? 75ROWS