Commit d6af9632 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Drop a bunch of fields from experiment_stats that were moved to

experiment_resources in revision 1.143.
parent b6f2ca49
......@@ -217,20 +217,6 @@ CREATE TABLE experiment_stats (
swap_exitcode tinyint(3) unsigned default '0',
idle_swaps smallint(5) unsigned default '0',
swapin_duration int(10) unsigned default '0',
vnodes smallint(5) unsigned default '0',
pnodes smallint(5) unsigned default '0',
wanodes smallint(5) unsigned default '0',
simnodes smallint(5) unsigned default '0',
jailnodes smallint(5) unsigned default '0',
delaynodes smallint(5) unsigned default '0',
linkdelays smallint(5) unsigned default '0',
walinks smallint(5) unsigned default '0',
links smallint(5) unsigned default '0',
lans smallint(5) unsigned default '0',
shapedlinks smallint(5) unsigned default '0',
shapedlans smallint(5) unsigned default '0',
minlinks tinyint(3) unsigned default '0',
maxlinks tinyint(3) unsigned default '0',
batch tinyint(3) unsigned default '0',
PRIMARY KEY (eid,pid,exptidx),
KEY exptidx (exptidx),
......
......@@ -726,3 +726,21 @@ last_net_act,last_cpu_act,last_ext_act);
alter table node_types add jail_osid varchar(35) default NULL
after delay_osid
1.159: Remove old slots from experiment_stats table that were moved to
experiment_resources table in revision 1.143.
alter table experiment_stats drop vnodes;
alter table experiment_stats drop pnodes;
alter table experiment_stats drop wanodes;
alter table experiment_stats drop simnodes;
alter table experiment_stats drop jailnodes;
alter table experiment_stats drop delaynodes;
alter table experiment_stats drop linkdelays;
alter table experiment_stats drop walinks;
alter table experiment_stats drop links;
alter table experiment_stats drop lans;
alter table experiment_stats drop shapedlinks;
alter table experiment_stats drop shapedlans;
alter table experiment_stats drop minlinks;
alter table experiment_stats drop maxlinks;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment