Merge pull request #5814 from owncloud/add-indexes
Add some more indexes to tables to improve db queries
This commit is contained in:
commit
54364f172e
1 changed files with 30 additions and 0 deletions
|
@ -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 a new issue