Database Tuning (MOSC)

MOSC Banner

Cursor with full table select running slow

edited Oct 25, 2012 10:00PM in Database Tuning (MOSC) 4 commentsAnswered
Hi,

I have a cursor which is looping a full table, I have traced the session and identified that the elapsed time is keep on increasing with the increase in number of fetches. The table is of 150MB with 1million rows.

below is from the trace ouput for each hour. Please suggest on why the fetch is taking time

call     count       cpu    elapsed       disk      query    current        rows

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Parse        0      0.00       0.00          0          0          0           0

Execute      0      0.00       0.00          0          0          0           0

Fetch    36409      4.39       8.63       1064      56159          0       36409

------- ------  -------- ---------- ---------- ---------- ----------  ----------

total    36409      4.39       8.63       1064      56159          0       36409

call     count       cpu    elapsed       disk      query    current        rows

------- ------  -------- ---------- ---------- ---------- ----------  ----------

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