mysql - Slow Confluence during SQL Script Run -
we have issue regarding our atlassian confluence system.
basically have server shares our primary load of sql scripts data transformation production portion of month, our confluence , jira collaboration system.
notably - have noticed huge slow-downs when running large scripts , trying access confluence pages regardless of operation on confluence (render page, edit page, create page)...they bogged down , end waiting quite few seconds happen.
we started logging transaction levels. follows:
turned on general , slow query logs while script running.
noticed excessive activity confluence during time: number of sql statements issues rom 12:33:01pm 13:27:16pm:
- confluence 144,691
- jira 6,940
for confluence that's 43.85 statement per second. confluence statements, top were:
commit 38,286
set autocommit=1 28,519
rollback 27,809 set autocommit=0 27,809
set session transaction isolation level read committed 27,809
set session transaction isolation level repeatable read 27,809
select @@session.tx_isolation 712
main concerns in bold
so question is... confluence doing issuing many transaction level reads in short of time frame...?
even internal processing looking @ db should not looking @ db many times, whether it's security check or render data...
so again, confluence doing? if knows...is way operates? interested know if other peoples confluence logs show relative measurements...
why slowing down ? resource - sharing issue?
thanks in advance!
confluence can have it's database isolation level configured @ session level, or can rely on mysql's global configuration.
my guess confluence instance setting isolation level once per session. try configuring isolation level globally. instructions on how can found in confluence knowledge base
basically, need add
transaction-isolation=read-committed
to my.cnf file
more speaking, might review confluence installation guide mysql , make sure database configured way recommend (see https://confluence.atlassian.com/display/doc/database+setup+for+mysql#databasesetupformysql-step3.configuremysqlserver).
Comments
Post a Comment