Commit b6aa22a8 authored by Mike Hibler's avatar Mike Hibler
Browse files

Add another index to partitions.

parent 12cb0191
......@@ -1866,7 +1866,8 @@ CREATE TABLE partitions (
osid varchar(35) default NULL,
imageid varchar(45) default NULL,
imagepid varchar(12) NOT NULL default '',
PRIMARY KEY (node_id,partition)
PRIMARY KEY (node_id,partition),
KEY osid (osid)
......@@ -3299,3 +3299,7 @@ last_net_act,last_cpu_act,last_ext_act);
4.51: Another index to improve lookup in linkdelays.
alter table linkdelays add index id (pid,eid);
4.52: Mr. Index strikes again. Take a nodecontrol_form query from 21 to 1 sec.
alter table partitions add index (osid);
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