]> source.dussan.org Git - nextcloud-server.git/commitdiff
add another index to the filecache to reduce the number of queries without a matching...
authorFrank Karlitschek <frank@owncloud.org>
Sat, 31 May 2014 14:55:50 +0000 (16:55 +0200)
committerFrank Karlitschek <frank@owncloud.org>
Sat, 31 May 2014 14:55:50 +0000 (16:55 +0200)
db_structure.xml

index 21ac47a781b6908e37573efe024de2d333b070ea..95db8d1f9fb79c09def823eee2d79ecbeaff8426 100644 (file)
                                </field>
                        </index>
 
+                       <index>
+                               <name>fs_storage_size</name>
+                               <field>
+                                       <name>storage</name>
+                                       <sorting>ascending</sorting>
+                               </field>
+                               <field>
+                                       <name>size</name>
+                                       <sorting>ascending</sorting>
+                               </field>
+                               <field>
+                                       <name>fileid</name>
+                               </field>
+                       </index>
+
                </declaration>
 
        </table>