comparison Sphinx/source/plugins/mysql.rst @ 270:f29d75bc5c25

more info about database locking
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 24 Aug 2019 10:53:13 +0200
parents 1af668e84f4d
children 011b01ccf52d
comparison
equal deleted inserted replaced
269:182f4fdeeb47 270:f29d75bc5c25
164 <https://dev.mysql.com/doc/refman/8.0/en/miscellaneous-functions.html#function_get-lock>`__) 164 <https://dev.mysql.com/doc/refman/8.0/en/miscellaneous-functions.html#function_get-lock>`__)
165 to prevent other instances of Orthanc from using the same database. If 165 to prevent other instances of Orthanc from using the same database. If
166 you want several instances of Orthanc to share the same database, set 166 you want several instances of Orthanc to share the same database, set
167 the ``Lock`` option to ``false`` in the configuration file. 167 the ``Lock`` option to ``false`` in the configuration file.
168 168
169 Obviously, one must be very cautious when sharing the same database 169 In the absence of locking, the same limitation apply to the
170 between instances of Orthanc. In particular, all these instances 170 MySQL/MariaDB plugins than to the PostgreSQL plugins (i.e. at most one
171 should share the same configuration. 171 instance of Orthanc writing to the database). For more information,
172 please check out the :ref:`documentation for PostgreSQL
173 <postgresql-lock>`.