aboutsummaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-11-11 17:57:17 +0100
committerBart Visscher <bartv@thisnet.nl>2013-11-11 17:57:17 +0100
commitc5cd0b2d262cd502823b0bcd20c04b1d2cf7c277 (patch)
tree65c9cc065a38a72ad942fdd61f4171daacdb39e6 /db_structure.xml
parent841c62208551425361f311969260e95eded9101a (diff)
downloadnextcloud-server-c5cd0b2d262cd502823b0bcd20c04b1d2cf7c277.tar.gz
nextcloud-server-c5cd0b2d262cd502823b0bcd20c04b1d2cf7c277.zip
Add some more indexes to tables to improve db queries
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index a41892e39e7..377363b7eea 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -853,6 +853,24 @@
</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>
<name>token</name>
@@ -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>