Homec4science

WebAccess: use DB slave for even more queries

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

Description

WebAccess: use DB slave for even more queries

  • Adds the run_on_slave=True argument to frequently used SQL SELECT queries on tables 'accACTION', 'accARGUMENT', 'accMAILCOOKIE, 'accROLE' and 'accROLE_accACTION_accARGUMENT'. This commit also affects functions executed in webaccessadmin_lib.py.

Details

Event Timeline

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