Query To Find List Of Addresses Is Taking 2 Hours To Return
(Doc ID 2305107.1)
Last updated on JULY 14, 2020
Applies to:
Oracle Communications Unified Inventory Management - Version 7.3.4.0.0 and laterInformation in this document applies to any platform.
Symptoms
On : 7.3.4.0.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+.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |