Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
52c811ac
Commit
52c811ac
authored
Apr 07, 2006
by
Leigh B. Stoller
Browse files
Add index to log table (time stamp column).
parent
2e46840e
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
52c811ac
...
...
@@ -1225,7 +1225,8 @@ CREATE TABLE log (
relevant
tinyint
(
1
)
NOT
NULL
default
'0'
,
mesg
text
NOT
NULL
,
PRIMARY
KEY
(
seq
),
KEY
session
(
session
)
KEY
session
(
session
),
KEY
stamp
(
stamp
)
)
TYPE
=
MyISAM
;
--
...
...
sql/database-migrate.txt
View file @
52c811ac
...
...
@@ -3279,3 +3279,7 @@ last_net_act,last_cpu_act,last_ext_act);
alter table virt_node_motelog drop primary key;
alter table virt_node_motelog add primary key(pid,eid,vname,logfileid);
4.48: Add index to log table.
alter table log add key stamp (stamp);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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