[Pkg-owncloud-commits] [owncloud] 08/111: Add some more indexes to tables to improve db queries

David Prévot taffit at moszumanska.debian.org
Wed Nov 20 21:38:35 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit c5cd0b2d262cd502823b0bcd20c04b1d2cf7c277
Author: Bart Visscher <bartv at thisnet.nl>
Date:   Mon Nov 11 17:57:17 2013 +0100

    Add some more indexes to tables to improve db queries
---
 db_structure.xml |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/db_structure.xml b/db_structure.xml
index a41892e..377363b 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>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list