-
Suggestion
-
Resolution: Unresolved
-
None
-
2
-
10
-
Problem
A large amount of execution and database reads from a pretty expensive SQL query, causing database performance issues:
select `AO_319474_MESSAGE`.`CLAIMANT`, `AO_319474_MESSAGE`.`CLAIMANT_TIME`, `AO_319474_MESSAGE`.`CLAIM_COUNT`, `AO_319474_MESSAGE`.`CONTENT_TYPE`, `AO_319474_MESSAGE`.`CREATED_TIME`, `AO_319474_MESSAGE`.`EXPIRY_TIME`, `AO_319474_MESSAGE`.`ID`, `AO_319474_MESSAGE`.`MSG_DATA`, `AO_319474_MESSAGE`.`MSG_ID`, `AO_319474_MESSAGE`.`MSG_LENGTH`, `AO_319474_MESSAGE`.`PRIORITY`, `AO_319474_MESSAGE`.`QUEUE_ID`, `AO_319474_MESSAGE`.`VERSION` from `AO_319474_MESSAGE` `AO_319474_MESSAGE` where `AO_319474_MESSAGE`.`QUEUE_ID` = 213135 and (`AO_319474_MESSAGE`.`CLAIMANT` is null or `AO_319474_MESSAGE`.`CLAIMANT` is not null and (`AO_319474_MESSAGE`.`CLAIMANT_TIME` is null or `AO_319474_MESSAGE`.`CLAIMANT_TIME` < 1613660280853)) order by `AO_319474_MESSAGE`.`PRIORITY` desc, `AO_319474_MESSAGE`.`CREATED_TIME` asc, `AO_319474_MESSAGE`.`ID` asc limit 1
Problem mentioned on JSDSERVER-5736.
Request
Give the possibility to decrease the query/message count from Jira to the database or remove these logs avoiding database high usage
- links to
[JSDSERVER-7122] High number of SdOffThreadEventJobRunner threads on thread dumps connecting to the database
Support reference count | Original: 9 | New: 10 |
UIS | Original: 1 | New: 2 |
Support reference count | New: 9 |
Labels | New: ril |
Remote Link | New: This issue links to "Internal ticket (Web Link)" [ 976923 ] |
UIS | Original: 0 | New: 1 |
UIS | Original: 1 | New: 0 |
UIS | Original: 3 | New: 1 |
UIS | Original: 1 | New: 3 |
UIS | Original: 0 | New: 1 |