Merge pull request #647 from nextcloud/add-documentation-for-new-occ-command

add documentation for the new occ command to add new database indices
This commit is contained in:
Morris Jobke 2018-01-16 14:27:08 +01:00 committed by GitHub
commit afe3c370f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ occ command Directory
* :ref:`config_commands_label`
* :ref:`dav_label`
* :ref:`database_conversion_label`
* :ref:`database_add_indices_label`
* :ref:`encryption_label`
* :ref:`federation_sync_label`
* :ref:`file_operations_label`
@ -487,6 +488,17 @@ This is example converts SQLite to MySQL/MariaDB::
For a more detailed explanation see
:doc:`../configuration_database/db_conversion`
.. _database_add_indices_label:
Add missing indices
-------------------
It might happen that we add from time to time new indices to already existing database tables,
for example to improve performance. In order to check your database for missing indices run
following command:
sudo -u www-data php occ db:add-missing-indices
.. _encryption_label:
Encryption