##// END OF EJS Templates
caches: use .refresh() instead of .invalidate()...
caches: use .refresh() instead of .invalidate() - .invalidate() does a delete of cached valued under a key, which means in previous logic we delete, get_or_create, and compute. - .refresh() is simply replacing exising key with newly computed values, this creates less locks, and it's faster.

File last commit:

r1292:771d79b4 default
r2939:913f92bf default
Show More
tuning-increase-db-performance.rst
7 lines | 298 B | text/x-rst | RstLexer
/ docs / admin / tuning-increase-db-performance.rst

Increase Database Performance

For tuning PostgreSQL we recommend reading: http://www.revsys.com/writings/postgresql-performance.html

For tuning MySQL we recommend reading: http://www.tecmint.com/mysql-mariadb-performance-tuning-and-optimization/