add another index to the filecache to reduce the number of queries without a matching index

This commit is contained in:
Frank Karlitschek 2014-05-31 16:55:50 +02:00
parent cff9440a37
commit a339855b4c
1 changed files with 15 additions and 0 deletions

View File

@ -400,6 +400,21 @@
</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>