examining cardinalities
Dear Experts,
Please kindly help us in fixing the execution plan for below query.
call count cpu elapsed disk query current rows ------- ------ -------- ---------- ---------- ---------- ---------- ---------- Parse 1 0.00 0.00 0 0 0 0 Execute 3095 0.30 0.31 0 0 0 0 Fetch 3095 690.45 700.17 1633 403464129 0 0 ------- ------ -------- ---------- ---------- ---------- ---------- ---------- total 6191 690.75 700.49 1633 403464129 0 0 Misses in library cache during parse: 1 Misses in library cache during execute: 1 Optimizer mode: ALL_ROWS Parsing user id: 173 (recursive depth: 1) Number of plan statistics captured: 1
SQL> select count(*) from GL.GL_CODE_COMBINATIONS; COUNT(*) ---------- 124530 SQL> select count(*) from GL.GL_JE_LINES; COUNT(*) ---------- 4982010 SQL> select count(*) from GL.GL_JE_HEADERS; COUNT(*) ---------- 363811 SQL> select count(*) from GL.GL_JE_BATCHES; COUNT(*) ---------- 310300 INDEX_NAME BLEVEL LEAF_BLOCKS CLUSTERING_FACTOR ------------------------------ ---------- ----------- ----------------- GL_JE_LINES_N1 2 21190 2939850 GL_JE_LINES_N3 0 0 0 INDEX_NAME
0