Query To Find List Of Addresses Is Taking 2 Hours To Return
(Doc ID 2305107.1)
Last updated on SEPTEMBER 13, 2017
Applies to:Oracle Communications Unified Inventory Management - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
On : 22.214.171.124.0 version, Other Issues
Query for finding the list of geographical addresses based on specification and name is taking more than 2 hours to return the result. We have analyzed and suspect that the "order by" in the query is the cause. On removal of 'order by' clause we found substantial improvement in performance. PFB the query with and without order by.
select * from geographicplace where ((UPPER(NAME) LIKE '%' AND (SPECIFICATION = 6300025 )) AND (ENTITYCLASS IN ('GeographicAddressDAO' )));
select * from geographicplace where ((UPPER(NAME) LIKE '%' AND (SPECIFICATION = 6300025 )) AND (ENTITYCLASS IN ('GeographicAddressDAO' ))) ORDER BY ID ASC;
Please suggest way to suppress the 'order by' clause in the geographical addresses search.
FYI, total number of geographical addresses we have in the table is 34 million.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document