indices for stats

svn path=/trunk/boinc/; revision=850
This commit is contained in:
Eric Heien 2003-01-31 00:04:51 +00:00
parent 87f6008da6
commit c6000bbc99
1 changed files with 6 additions and 2 deletions

View File

@ -13,10 +13,13 @@ alter table user
add unique(email_addr), add unique(email_addr),
add unique(authenticator), add unique(authenticator),
add index ind_tid (teamid), add index ind_tid (teamid),
add index user_tot (total_credit),
add index user_avg (expavg_credit); add index user_avg (expavg_credit);
alter table team alter table team
add unique(name); add unique(name),
add index team_avg (expavg_credit),
add index team_tot (total_credit);
alter table workunit alter table workunit
add unique(name), add unique(name),
@ -32,4 +35,5 @@ alter table result
add index res_filedel (file_delete_state); add index res_filedel (file_delete_state);
alter table host alter table host
add index host_avg (expavg_credit); add index host_avg (expavg_credit),
add index host_tot (total_credit);