...
| Bloc de code |
|---|
max_connections = 1500 table_cache = 512 query_cache_size = 128M set-variable = innodb_buffer_pool_size=128M set-variable = innodb_log_file_size=256M set-variable = innodb_additional_mem_pool_size=20M set-variable = innodb_log_buffer_size=4M innodb_flush_log_at_trx_commit=1 |
Deadlocks
TODO : faire cette partie plus en détails : Cf. le wiki de JASIG
Deadlock troubleshooting
One thing that will most likely come up in working with uPortal and MySQL (or any database for that matter) is the issue of deadlocks - when a record is needed to be accessed by two different queries at the same time.
En cas de deadlocks, une configuration particulière devra être apportée à la base de données.
Des informations sur les deadlocks peuvent être lues à la page suivante : http://dev.mysql.com/doc/refman/5.5/en/innodb-deadlock-detection.html
La résolution des deadlocks peut être effectuée en appliquant les méthodes de la page suivante : http://dev.mysql.com/doc/refman/5.5/en/innodb-deadlocks.html
The MySQL site has an EXCELLENT chapter on dealing with these. Overall, the on-line reference guide for MySQL is an EXCELLENT resource.
...
| Info | ||
|---|---|---|
| ||
https://wiki.jasig.org/display/UPM40/MySQL |