|
-
Regarding PLAN_TABLE OUTPUT
Guys,
I ran the utlxpls.sql on the PLAN_TABLE and I got output with costs and partition scans etc. Can someone please explain me what is "Cost" column that is displayed and how it is calculated.
Also, after the results are shown, at the end, there is a message:
"Note: cpu costing is off". What does this mean and how to set it on?
Hoping for some help here.
Thanks,
Vipassana
Last edited by Vipassana; 08-06-2003 at 02:06 AM.
-
funky...
"I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."
"Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"
-
Hi, thanks for the link. It does not however explain why I am getting the message "Note: cpu costing is off" when I run utlxpls. Can someone help please.
-
Originally posted by Vipassana
Hi, thanks for the link. It does not however explain why I am getting the message "Note: cpu costing is off" when I run utlxpls. Can someone help please.
It was just for you to know what Optimizer means & how does it calculate Costs. STW, you will get ur ans
funky...
"I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."
"Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"
-
Originally posted by abhaysk
It was just for you to know what Optimizer means & how does it calculate Costs. STW, you will get ur ans
What does STW mean
-
Originally posted by Vipassana
What does STW mean
http://www.catb.org/~esr/faqs/smart-questions.html
Search for "STFW" word...
funky...
"I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."
"Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"
-
I've STFW'ed. No luck pal. In fact, that's what I did first. If can STFW better than me, please help me to find the answer.
-
abhaysk already pointed you to the correct link, read that chapter and chapter 9
-
It means that you have not collected system level statistics or did not enable statistics in your init.ora.
First of all, edit your init.ora file and add an entry:
timed_statistics = true (do not forget to restart instance if you are using version earlier than 9i)
Second, collect statistics on your table using ANALYZE TABLE ... COMPUTE/ESTIMATE STATISTICS or by using DBMS_STATS package (GATHER_TABLE_STATS/GATHER_INDEX_STATS) etc.
explain the query plan again, and watch the results.
Cheers.
It is better to ask and appear ignorant, than to remain silent and remain ignorant.
Oracle OCP DBA 9i,
C++, Java developer
-
Originally posted by rotem_fo
It means that you have not collected system level statistics or did not enable statistics in your init.ora.
First of all, edit your init.ora file and add an entry:
timed_statistics = true (do not forget to restart instance if you are using version earlier than 9i)
Second, collect statistics on your table using ANALYZE TABLE ... COMPUTE/ESTIMATE STATISTICS or by using DBMS_STATS package (GATHER_TABLE_STATS/GATHER_INDEX_STATS) etc.
explain the query plan again, and watch the results.
Cheers.
I did all this before; its still showing the same error. TIMED_STATISTICS=TRUE and table is analyzed for compute statistics. Still the same result
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|