Add some more indexes to tables to improve db queries
This commit is contained in:
parent
841c622085
commit
c5cd0b2d26
|
@ -852,6 +852,24 @@
|
|||
<length>1</length>
|
||||
</field>
|
||||
|
||||
<index>
|
||||
<name>item_share_type_index</name>
|
||||
<field>
|
||||
<name>item_type</name>
|
||||
<sorting>ascending</sorting>
|
||||
</field>
|
||||
<field>
|
||||
<name>share_type</name>
|
||||
<sorting>ascending</sorting>
|
||||
</field>
|
||||
</index>
|
||||
<index>
|
||||
<name>file_source_index</name>
|
||||
<field>
|
||||
<name>file_source</name>
|
||||
<sorting>ascending</sorting>
|
||||
</field>
|
||||
</index>
|
||||
<index>
|
||||
<name>token_index</name>
|
||||
<field>
|
||||
|
@ -1073,6 +1091,18 @@
|
|||
</field>
|
||||
</index>
|
||||
|
||||
<index>
|
||||
<name>vcategory_objectd_index</name>
|
||||
<field>
|
||||
<name>objid</name>
|
||||
<sorting>ascending</sorting>
|
||||
</field>
|
||||
<field>
|
||||
<name>type</name>
|
||||
<sorting>ascending</sorting>
|
||||
</field>
|
||||
</index>
|
||||
|
||||
</declaration>
|
||||
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue