]> source.dussan.org Git - nextcloud-server.git/commitdiff
Improve: Index for file_map
authorwindaishi <manuel.strider@web.de>
Fri, 17 Oct 2014 13:03:27 +0000 (15:03 +0200)
committerLukas Reschke <lukas@owncloud.com>
Thu, 12 Feb 2015 18:12:08 +0000 (19:12 +0100)
Added two indices for file_map, that improve syncing and uploading and deleting files

db_structure.xml

index eb6540047d6d535eb0be3c49e8b28c15a5c68f82..8d7cb93a652eab7d998bba12a4602f1e878bb91a 100644 (file)
                                </field>
                        </index>
 
+                       <index>
+                               <name>file_map_logic_path</name>
+                               <unique>false</unique>
+                               <field>
+                                       <name>logic_path</name>
+                                       <sorting>ascending</sorting>
+                               </field>
+                       </index>
+
+                       <index>
+                               <name>file_map_physic_path</name>
+                               <unique>false</unique>
+                               <field>
+                                       <name>physic_path</name>
+                                       <sorting>ascending</sorting>
+                               </field>
+                       </index>
+
                </declaration>
 
        </table>