Details
-
Type:
Bug
-
Status:
Closed
(View Workflow)
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FN
-
Labels:
-
Customer:OMAN-Tel
Description
checkRequestNewActivationFeasibility has Performance Issue : 2s versus 5s
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://server.api.nep.mobinets.com/">
<soapenv:Header/>
<soapenv:Body>
<ser:checkRequestNewActivationFeasibility>
<!-Optional:->
<requestId>526484</requestId>
</ser:checkRequestNewActivationFeasibility>
</soapenv:Body>
</soapenv:Envelope>
add index on Request table by request_no + use query dsl eq method instead equalsIgnoreCase.
add index in service_trail_hop by OSP_CONNECTION, SERVICE_TRAIL_ID + remove lower(status.NAME) when fetching ospconnections .
these changes would decrease response time from 5 to 2 s