]> andersk Git - moira.git/blame - db/dbopt
added the new imembers index
[moira.git] / db / dbopt
CommitLineData
644e96a1 1modify users to cbtree unique on users_id;\g
2create index i_usr_login on users (login);\g
3modify i_usr_login to btree;\g
4create index i_usr_name on users (first, last);\g
5modify i_usr_name to cbtree on first, last;\g
6create index i_usr_last on users (last, first);\g
7modify i_usr_last to cbtree on last, first;\g
8create index i_usr_uid on users (uid);\g
9modify i_usr_uid to btree;\g
10create index i_usr_pop on users (pop_id);\g
d2d814a4 11modify i_usr_pop to btree;\g
12create index i_usr_clearid on users (clearid);\g
13modify i_usr_clearid to btree;\g
644e96a1 14;\g
15modify krbmap to btree unique on users_id;\g
16create index i_krb_str on krbmap (string_id);\g
17modify i_krb_str to btree;\g
18;\g
19modify machine to cbtree unique on mach_id;\g
20create index i_mac_name on machine (name);\g
21modify i_mac_name to btree;\g
29f84283 22create index i_mac_addr on machine (address);\g
23modify i_mac_addr to btree;\g
24create index i_mac_loc on machine (location);\g
25modify i_mac_loc to btree;\g
d2d814a4 26create index i_mac_snet on machine (snet_id);\g
27modify i_mac_snet to btree;\g
644e96a1 28;\g
230c2fd2 29modify hostalias to cbtree unique on name;\g
30create index i_hal_id on hostalias (mach_id);\g
1ea5a498 31modify i_hal_id to btree;\g
230c2fd2 32;\g
33modify subnet to btree unique on snet_id;\g
34create index i_snt_name on subnet (name);\g
92f92c3a 35create index i_snt_saddr on subnet(saddr);\g
230c2fd2 36;\g
644e96a1 37modify cluster to cbtree unique on clu_id;\g
38create index i_clu_name on cluster (name);\g
39modify i_clu_name to btree;\g
40;\g
41modify mcmap to cbtree on clu_id;\g
42create index i_mcm_mach on mcmap (mach_id);\g
43modify i_mcm_mach to cbtree;\g
44;\g
45modify svc to cbtree on clu_id;\g
46;\g
47modify servers to btree on name;\g
48;\g
49modify serverhosts to btree on service;\g
50create index i_sho_mach on serverhosts (mach_id);\g
51modify i_sho_mach to cbtree;\g
52;\g
53modify list to cbtree unique on list_id;\g
54create index i_lis_name on list (name);\g
55modify i_lis_name to cbtree;\g
56create index i_lis_mail on list (maillist);\g
57create index i_lis_group on list (grouplist);\g
58create index i_lis_gid on list (gid);\g
d2d814a4 59create index i_lis_acl on list (acl_id);\g
644e96a1 60modify i_lis_gid to btree;\g
61;\g
62modify imembers to cbtree on member_id, member_type;\g
63create index i_imem_list on imembers (list_id);\g
64modify i_imem_list to hash;\g
cc5d2e37 65create index i_imem_all on imembers (list_id, member_type, member_id, direct);\g
644e96a1 66;\g
67modify strings to cbtree unique on string_id;\g
68create index i_str_name on strings (string);\g
69modify i_str_name to hash;\g
70;\g
71modify nfsphys to cbtree unique on nfsphys_id;\g
72create index i_nfs_mach on nfsphys (mach_id);\g
73modify i_nfs_mach to btree;\g
74;\g
75modify filesys to cbtree unique on filsys_id;\g
76create index i_fil_name on filesys (label);\g
77modify i_fil_name to cbtree;\g
78create index i_fil_mach on filesys (mach_id);\g
79modify i_fil_mach to btree;\g
80create index i_fil_phys on filesys (phys_id);\g
81modify i_fil_phys to cbtree;\g
82create index i_fil_grp on filesys (owners);\g
83modify i_fil_grp to btree;\g
84create index i_fil_user on filesys (owner);\g
85modify i_fil_user to btree;\g
86;\g
87modify fsgroup to cbtree on group_id;\g
88create index i_fsg_filsys on fsgroup (filsys_id);\g
89modify i_fsg_filsys to btree;\g
90;\g
91modify quota to cbtree on entity_id;\g
92create index i_qot_fil on quota (filsys_id);\g
93modify i_qot_fil to cbtree;\g
94create index i_qot_phys on quota (phys_id);\g
95modify i_qot_phys to cbtree;\g
96;\g
97modify zephyr to cbtree unique on class;\g
98;\g
99modify hostaccess to cbtree unique on mach_id;\g
100;\g
101modify printcap to cbtree on name;\g
102create index i_pcp_mach on printcap (mach_id);\g
103modify i_pcp_mach to btree;\g
104;\g
105modify palladium to cbtree on name;\g
106;\g
107modify capacls to cbtree on tag;\g
This page took 0.067315 seconds and 5 git commands to generate.