Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
4e28ebc9
Commit
4e28ebc9
authored
Apr 13, 2006
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'state' as an index for the experiments table to take care of some
heavyweight queries in idlemail
parent
282ca901
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
sql/database-create.sql
sql/database-create.sql
+2
-1
sql/database-migrate.txt
sql/database-migrate.txt
+6
-0
No files found.
sql/database-create.sql
View file @
4e28ebc9
...
...
@@ -782,7 +782,8 @@ CREATE TABLE experiments (
instance_idx
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
eid
,
pid
),
KEY
idx
(
idx
),
KEY
batchmode
(
batchmode
)
KEY
batchmode
(
batchmode
),
KEY
state
(
state
)
)
TYPE
=
MyISAM
;
--
...
...
sql/database-migrate.txt
View file @
4e28ebc9
...
...
@@ -3290,3 +3290,9 @@ last_net_act,last_cpu_act,last_ext_act);
alter table node_types add column pxe_boot_path text \
after modelnetedge_osid;
4.50: Make 'state' an index in the experiment table to knock down a couple
of frequent heavyweight queries.
alter table experiments add index (state);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment