-
Type:
Enhancement
-
Status:
Closed
-
Priority:
High
-
Resolution:
Done
-
-
-
Module:
Platform
- Performance
-
-
Item State:
Production Complete
-
Issue Importance:
Must Have
We came across this SP "OES_SP_ResetExpireSessionsLogins" while checking for ASP State session issues. This SP is called inside "DeleteExpiredSessions" SP of ASPState db that clears out the expired sessions at interval of 1 minute.
The logic inside this SP checks for active user flags across all production companies which might take considerable time in execution. We need to visit this StoredProc and analyse the activity & time taken every time it executes.
- relates to
-
ST-175
Query Optimization for performance
-
-
New Request
{"report":{"apdex":1,"isInitial":true,"journeyId":"f5105008-dbd3-4e90-be92-0b429c051a3e","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":623.2000007629395,"redirectCount":0,"resourceLoadedEnd":375.6000003814697,"resourceLoadedStart":83.5,"resourceTiming":[{"duration":100.70000076293945,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":83.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":83.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":184.20000076293945,"responseStart":0,"secureConnectionStart":0},{"duration":100.60000038146973,"initiatorType":"link","name":"https://jira.workterra.net/s/dd6a0911920485696ac20493290df627-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":83.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":83.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":184.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":100.59999942779541,"initiatorType":"link","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":83.90000057220459,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":83.90000057220459,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":184.5,"responseStart":0,"secureConnectionStart":0},{"duration":100.5,"initiatorType":"link","name":"https://jira.workterra.net/s/bd548f27bbf8f278bd83b60dd3284ed8-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":84.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":84.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":184.60000038146973,"responseStart":0,"secureConnectionStart":0},{"duration":100.40000057220459,"initiatorType":"link","name":"https://jira.workterra.net/s/70725731a158a7140f19ddbd4201ba27-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":84.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":84.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":184.70000076293945,"responseStart":0,"secureConnectionStart":0},{"duration":109.20000076293945,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":84.5,"connectEnd":84.5,"connectStart":84.5,"domainLookupEnd":84.5,"domainLookupStart":84.5,"fetchStart":84.5,"redirectEnd":0,"redirectStart":0,"requestStart":84.5,"responseEnd":193.70000076293945,"responseStart":193.60000038146973,"secureConnectionStart":84.5},{"duration":128.89999961853027,"initiatorType":"script","name":"https://jira.workterra.net/s/6ce676f2a5bcc9651cef6e7956f05def-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":84.70000076293945,"connectEnd":84.70000076293945,"connectStart":84.70000076293945,"domainLookupEnd":84.70000076293945,"domainLookupStart":84.70000076293945,"fetchStart":84.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":84.70000076293945,"responseEnd":213.60000038146973,"responseStart":213.60000038146973,"secureConnectionStart":84.70000076293945},{"duration":132.30000019073486,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/4.1.5/_/download/resources/com.atlassian.plugins.atlassian-chaperone:hotspot-tour/hotspot-tour.js?batch=false&locale=en-US","startTime":84.90000057220459,"connectEnd":84.90000057220459,"connectStart":84.90000057220459,"domainLookupEnd":84.90000057220459,"domainLookupStart":84.90000057220459,"fetchStart":84.90000057220459,"redirectEnd":0,"redirectStart":0,"requestStart":84.90000057220459,"responseEnd":217.20000076293945,"responseStart":217.20000076293945,"secureConnectionStart":84.90000057220459},{"duration":132.60000038146973,"initiatorType":"script","name":"https://jira.workterra.net/s/6aa3fcf1fac5fd551eee0b69077524e6-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":85,"connectEnd":85,"connectStart":85,"domainLookupEnd":85,"domainLookupStart":85,"fetchStart":85,"redirectEnd":0,"redirectStart":0,"requestStart":85,"responseEnd":217.60000038146973,"responseStart":217.5,"secureConnectionStart":85},{"duration":132.79999923706055,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":85.20000076293945,"connectEnd":85.20000076293945,"connectStart":85.20000076293945,"domainLookupEnd":85.20000076293945,"domainLookupStart":85.20000076293945,"fetchStart":85.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":85.20000076293945,"responseEnd":218,"responseStart":218,"secureConnectionStart":85.20000076293945},{"duration":133,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":85.40000057220459,"connectEnd":85.40000057220459,"connectStart":85.40000057220459,"domainLookupEnd":85.40000057220459,"domainLookupStart":85.40000057220459,"fetchStart":85.40000057220459,"redirectEnd":0,"redirectStart":0,"requestStart":85.40000057220459,"responseEnd":218.4000005722046,"responseStart":218.4000005722046,"secureConnectionStart":85.40000057220459},{"duration":133.30000019073486,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":85.5,"connectEnd":85.5,"connectStart":85.5,"domainLookupEnd":85.5,"domainLookupStart":85.5,"fetchStart":85.5,"redirectEnd":0,"redirectStart":0,"requestStart":85.5,"responseEnd":218.80000019073486,"responseStart":218.80000019073486,"secureConnectionStart":85.5},{"duration":133.69999980926514,"initiatorType":"link","name":"https://jira.workterra.net/s/05c862146699bb029ceb0a489075e63b-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/bcd66e9a133a1b9f5fd14b56841e1c5b/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":85.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":85.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":219.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":133.4000005722046,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/a664c2c06e52d83566c477b9899c262e/shortcuts.js?context=issuenavigation&context=issueaction","startTime":85.80000019073486,"connectEnd":85.80000019073486,"connectStart":85.80000019073486,"domainLookupEnd":85.80000019073486,"domainLookupStart":85.80000019073486,"fetchStart":85.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":85.80000019073486,"responseEnd":219.20000076293945,"responseStart":219.20000076293945,"secureConnectionStart":85.80000019073486},{"duration":133.80000019073486,"initiatorType":"link","name":"https://jira.workterra.net/s/9095228fa10daa2d3e3d7d5760c95e91-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":86.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":86.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":219.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":133.5999994277954,"initiatorType":"script","name":"https://jira.workterra.net/s/c19a1b46e985d7fb85efaf27c8febfdd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":86.20000076293945,"connectEnd":86.20000076293945,"connectStart":86.20000076293945,"domainLookupEnd":86.20000076293945,"domainLookupStart":86.20000076293945,"fetchStart":86.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":86.20000076293945,"responseEnd":219.80000019073486,"responseStart":219.80000019073486,"secureConnectionStart":86.20000076293945},{"duration":143.10000038146973,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":87.10000038146973,"connectEnd":87.10000038146973,"connectStart":87.10000038146973,"domainLookupEnd":87.10000038146973,"domainLookupStart":87.10000038146973,"fetchStart":87.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":87.10000038146973,"responseEnd":230.20000076293945,"responseStart":230.20000076293945,"secureConnectionStart":87.10000038146973},{"duration":288.5,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":87.10000038146973,"connectEnd":87.10000038146973,"connectStart":87.10000038146973,"domainLookupEnd":87.10000038146973,"domainLookupStart":87.10000038146973,"fetchStart":87.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":87.10000038146973,"responseEnd":375.6000003814697,"responseStart":375.6000003814697,"secureConnectionStart":87.10000038146973},{"duration":185.5,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":401,"connectEnd":401,"connectStart":401,"domainLookupEnd":401,"domainLookupStart":401,"fetchStart":401,"redirectEnd":0,"redirectStart":0,"requestStart":401,"responseEnd":586.5,"responseStart":586.5,"secureConnectionStart":401}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":9,"responseStart":77,"responseEnd":80,"domLoading":81,"domInteractive":684,"domContentLoadedEventStart":684,"domContentLoadedEventEnd":742,"domComplete":857,"loadEventStart":857,"loadEventEnd":859,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"8a316491437a21","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":31,"dbReadsTimeInMs":3,"dbConnsTimeInMs":4,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
Changes done: We have removed call of this Stored Proc from ASP State - Delete session. This code block was required to avoid Multiple Login error message when user has logged out and still session remain active in any scenario. Now that we do not have blocking for Multiple login as per client's request this call can be removed.
Please verify basic scenarios for Login / Logout, Multiple Login & SSO (if possible) for all user roles.
Login & Logout scenarios for all user roles [SA, Admin, Partner/Broker, Employees]
System access from Mobile Device, Web browser
SSO login
Multiple login from same domain
Multiple login from different domain
Multiple login from Mobile Device & Web application