Query To Find List Of Addresses Is Taking 2 Hours To Return
(Doc ID 2305107.1)
Last updated on JULY 03, 2019
Applies to:Oracle Communications Unified Inventory Management - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
On : 184.108.40.206.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 in the table is 34000000+.
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