Add some more indexes to tables to improve db queries

This commit is contained in:
Bart Visscher 2013-11-11 17:57:17 +01:00
parent 841c622085
commit c5cd0b2d26
1 changed files with 30 additions and 0 deletions

View File

@ -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>