-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinit.sql
More file actions
25 lines (23 loc) · 746 Bytes
/
init.sql
File metadata and controls
25 lines (23 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
create database protobench;
use protobench;
CREATE TABLE `experiment` (
`id` int(11) NOT NULL auto_increment,
`started` datetime DEFAULT NULL,
`ended` datetime DEFAULT NULL,
`protocol` varchar(45) DEFAULT NULL,
`ncli` int(11) DEFAULT 0,
`nsrv` int(11) DEFAULT 0,
`replication` int(11) DEFAULT 0,
`bandwidth` float DEFAULT 0,
`mse` float default 0,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
CREATE TABLE `measurement` (
`id` int(11) NOT NULL auto_increment,
`experiment_id` int(11) DEFAULT NULL,
`run_id` int(11) DEFAULT NULL,
`client_host` varchar(45) DEFAULT NULL,
`bandwidth` float DEFAULT 0,
PRIMARY KEY (`id`),
KEY `experiment_id` (`experiment_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;