Homec4science

WebAccess: use DB slave for selected queries

Authored by Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch> on Jul 3 2012, 18:36.

Description

WebAccess: use DB slave for selected queries

  • Adds the run_on_slave=True argument to frequently used SQL SELECT queries on tables 'accACTION', 'accARGUMENT', 'accMAILCOOKIE, 'accROLE' and 'accROLE_accACTION_accARGUMENT'.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jul 3 2012, 22:30
Parents
R3600:c95063779a2c: WebSession: optimise session commits
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:6a86796849e7: WebAccess: use DB slave for selected queries (authored by Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>).Jul 3 2012, 22:30