]> andersk Git - moira.git/blame - db/dbopt.sql
Initial revision
[moira.git] / db / dbopt.sql
CommitLineData
2d32cef3 1modify users to cbtree unique on users_id
2CREATE INDEX i_usr_login ON users (login)
3modify i_usr_login to btree
4
5CREATE INDEX i_usr_name ON users (first, last)
6modify i_usr_name to cbtree on first, last
7
8CREATE INDEX i_usr_last ON users (last, first)
9modify i_usr_last to cbtree on last, first
10
11CREATE INDEX i_usr_uid ON users (uid)
12modify i_usr_uid to btree
13CREATE INDEX i_usr_pop ON users (pop_id)
14modify i_usr_pop to btree
15
16modify krbmap to btree unique on users_id
17CREATE INDEX i_krb_str ON krbmap (string_id)
18modify i_krb_str to btree
19
20modify machine to cbtree unique on mach_id
21CREATE INDEX i_mac_name ON machine (name)
22modify i_mac_name to btree
23
24modify cluster to cbtree unique on clu_id
25CREATE INDEX i_clu_name ON cluster (name)
26modify i_clu_name to btree
27
28modify mcmap to cbtree on clu_id
29CREATE INDEX i_mcm_mach ON mcmap (mach_id)
30modify i_mcm_mach to cbtree
31
32modify svc to cbtree on clu_id
33
34modify servers to btree on name
35
36modify serverhosts to btree on service
37CREATE INDEX i_sho_mach ON serverhosts (mach_id)
38modify i_sho_mach to cbtree
39
40modify list to cbtree unique on list_id
41CREATE INDEX i_lis_name ON list(name)
42modify i_lis_name to btree
43CREATE INDEX i_lis_mail ON list (maillist)
44CREATE INDEX i_lis_group ON list (group)
45CREATE INDEX i_lis_gid ON list (gid)
46modify i_lis_gid to btree
47
48modify imembers to cbtree on member_id, member_type
49CREATE INDEX i_imem_list ON imembers (list_id)
50modify i_imem_list to hash
51
52modify strings to cbtree unique on string_id
53CREATE INDEX i_str_name ON strings (string)
54modify i_str_name to hash
55
56modify nfsphys to cbtree unique on nfsphys_id
57CREATE INDEX i_nfs_mach ON nfsphys (mach_id)
58modify i_nfs_mach to btree
59
60modify filesys to cbtree unique on filsys_id
61CREATE INDEX i_fil_name ON filesys (label)
62modify i_fil_name to cbtree
63CREATE INDEX i_fil_mach ON filesys (mach_id)
64modify i_fil_mach to btree
65CREATE INDEX i_fil_phys ON filesys (phys_id)
66modify i_fil_phys to cbtree
67CREATE INDEX i_fil_grp ON filesys (owners)
68modify i_fil_grp to btree
69CREATE INDEX i_fil_user ON filesys (owner)
70modify i_fil_user to btree
71
72modify fsgroup to cbtree on group_id
73CREATE INDEX i_fsg_filsys ON fsgroup (filsys_id)
74modify i_fsg_filsys to btree
75
76modify quota to cbtree on entity_id
77CREATE INDEX i_qot_fil ON quota (filsys_id)
78modify i_qot_fil to cbtree
79CREATE INDEX i_qot_phys ON quota (phys_id)
80modify i_qot_phys to cbtree
81
82modify zephyr to cbtree unique on class
83
84modify hostaccess to cbtree unique on mach_id
85
86modify printcap to cbtree on name
87CREATE INDEX i_pcp_mach ON printcap (mach_id)
88modify i_pcp_mach to btree
89
90modify palladium to cbtree on name
91
92modify capacls to cbtree on tag
This page took 1.388328 seconds and 5 git commands to generate.