SQL Performance (MOSC)

MOSC Banner

Query tuning by using queues or cursors

edited Jan 16, 2014 4:00AM in SQL Performance (MOSC) 4 commentsAnswered
Dear DBAs,
I have a query running around 4000 times an hour and it fetches 1 record from around 2 million records based on the search (status) criteria. This record/transaction is processed and then the status is changed. It should not appear in the next run of the query. I am planning to fetch 100 records(transaction) at once based on the search (status) criteria and these transactions are processed and status updated. This will avoid 99 executions of the original query. What is the best approach to achieve this? please suggest.

Environment: Oracle 11gr2 RAC database (11.2.0.3)

Best regards,
Azam

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