SQL Language (MOSC)

MOSC Banner

SQL Performance & Dynamic parameters

Hello guys

I am working on a module that uses Oracle Public APIs for EBS R12. One of the interesting factors I have noticed while executing queries from the custom forms those refer seeded table was the performance gains immediately after the first execution.

For example, I am searching for AR tables for open invoices for customer XYZ. The first time when I query (We've 11 years old data) it take almost a 40 seconds to fetch the results (a consolidation of open invoices). However, when I execute the query for another customer 'ABC' the result is almost instant. I know bit about cache mechanism, however the knowledge is not adequate enough to satisfy my curiosity. I believe the performance gains are mainly due to the tables/views those referred in the query are already loaded in to the memory, thus querying the objects gain

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center