Looking for a book or link to  understand indexes stats an explain plan

Please,
Where could I find a good book or link to leran more about indexes statistics:
My Concerns are:
How could I know indexes in the database that are most used,less used and used at all in order to get rid of the last one?
A book or link to fully undertstand how to analyze explain plan give some advices from that.
Thank a lot for your coperation

There is any link where I can find how to analyze explain plan output?Again, the manuals are usually a good place to start:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/ex_plan.htm#g42231

Similar Messages

  • We are currently looking for a way to link images to a design file within programs like InDesign and Illustrator using an HTML link instead of a local file.  We are hosting our images in SharePoint and need the design file to retain it's links, no matter

    We are currently looking for a way to link images to a design file within programs like InDesign and Illustrator using an HTML link instead of a local file.  We are hosting our images in SharePoint and need the design file to retain it's links, no matter who on our network opens the design file.

    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Understand the output of explain plan

    I am trying to understand the output of explain plan. I have 2 plans below and don't understand it completely.
    In below SQL I would expect optimizer to fetch "ROWNUM < 500" first and then do the outer join. But below explain plan doesn't list it as No. 1. So I don't really understand how to intepret the sequence from the explain plan:
    select TASK0_.TASK_ID from
    (  select TASK0_.TASK_ID from
      ( select task0_.task_id  from task task0_) TASK0_ where ROWNUM < 500 ) TASK0_ 
    left outer join f_message_task task0_1_ on task0_.task_id=task0_1_.task_id
    left outer join b_a_task task0_2_ on task0_.task_id=task0_2_.task_id
    left outer join i_task task0_3_ on task0_.task_id=task0_3_.task_id
    left outer join o_task task0_4_ on task0_.task_id=task0_4_.task_id
    left outer join r_transmission_task task0_5_ on task0_.task_id=task0_5_.task_id
    left outer join s_error_task task0_6_ on task0_.task_id=task0_6_.task_id
    PLAN_TABLE_OUTPUT     
    Plan hash value: 707970537     
    | Id  | Operation                    | Name                     | Rows  | Bytes | Cost (%CPU)| Time     |     
    |   0 | SELECT STATEMENT             |                          |   499 | 19461 |  1042   (6)| 00:00:13 |     
    |*  1 |  HASH JOIN OUTER             |                          |   499 | 19461 |  1042   (6)| 00:00:13 |     
    |*  2 |   HASH JOIN OUTER            |                          |   499 | 16966 |   757   (6)| 00:00:10 |     
    |   3 |    NESTED LOOPS OUTER        |                          |   499 | 14471 |   589   (4)| 00:00:08 |     
    |   4 |     NESTED LOOPS OUTER       |                          |   499 | 12475 |   588   (4)| 00:00:08 |     
    |   5 |      NESTED LOOPS OUTER      |                          |   499 | 10479 |   588   (4)| 00:00:08 |     
    |   6 |       NESTED LOOPS OUTER     |                          |   499 |  8982 |   588   (4)| 00:00:08 |     
    |   7 |        VIEW                  |                          |   499 |  2495 |   588   (4)| 00:00:08 |     
    |*  8 |         COUNT STOPKEY        |                          |       |       |            |          |     
    |   9 |          INDEX FAST FULL SCAN| PK_TASK                  |   697K|  3403K|   588   (4)| 00:00:08 |     
    |* 10 |        INDEX UNIQUE SCAN     | PK_r_TRANSMISSION |     1 |    13 |     0   (0)| 00:00:01 |     
    |* 11 |       INDEX UNIQUE SCAN      | PK_b_a_TASK          |     1 |     3 |     0   (0)| 00:00:01 |     
    |* 12 |      INDEX UNIQUE SCAN       | PK_s_ERROR_TASK     |     1 |     4 |     0   (0)| 00:00:01 |     
    |* 13 |     INDEX UNIQUE SCAN        | PK_i_TASK    |     1 |     4 |     0   (0)| 00:00:01 |     
    |  14 |    INDEX FAST FULL SCAN      | PK_o_TASK           |   347K|  1695K|   161   (6)| 00:00:02 |     
    |  15 |   INDEX FAST FULL SCAN       | PK_f_MESSAGE        |   392K|  1917K|   276   (4)| 00:00:04 |     
    Predicate Information (identified by operation id):     
       1 - access("TASK0_"."TASK_ID"="TASK0_1_"."TASK_ID"(+))     
       2 - access("TASK0_"."TASK_ID"="TASK0_4_"."TASK_ID"(+))     
       8 - filter(ROWNUM<500)     
      10 - access("TASK0_"."TASK_ID"="TASK0_5_"."TASK_ID"(+))     
      11 - access("TASK0_"."TASK_ID"="TASK0_2_"."TASK_ID"(+))     
      12 - access("TASK0_"."TASK_ID"="TASK0_6_"."TASK_ID"(+))     
      13 - access("TASK0_"."TASK_ID"="TASK0_3_"."TASK_ID"(+))     
    In below SQL I expect rownum to be applied at the end but it gets applied first:
    select *  from (  select TASK0_.TASK_ID from ( select task0_.task_id  from task task0_ 
    left outer join f_message_task task0_1_ on task0_.task_id=task0_1_.task_id
    left outer join b_a_task task0_2_ on task0_.task_id=task0_2_.task_id
    left outer join i_task task0_3_ on task0_.task_id=task0_3_.task_id
    left outer join o_task task0_4_ on task0_.task_id=task0_4_.task_id
    left outer join r_t_task task0_5_ on task0_.task_id=task0_5_.task_id
    left outer join s_error_task task0_6_ on task0_.task_id=task0_6_.task_id
    ) TASK0_ where ROWNUM < 500 ) TASK0_;
    PLAN_TABLE_OUTPUT     
    Plan hash value: 673345378     
    | Id  | Operation                    | Name                     | Rows  | Bytes | Cost (%CPU)| Time     |     
    |   0 | SELECT STATEMENT             |                          |   499 |  6487 |   507   (1)| 00:00:07 |     
    |   1 |  VIEW                        |                          |   499 |  6487 |   507   (1)| 00:00:07 |     
    |*  2 |   COUNT STOPKEY              |                          |       |       |            |          |     
    |   3 |    NESTED LOOPS OUTER        |                          |   501 | 19539 |   507   (1)| 00:00:07 |     
    |   4 |     NESTED LOOPS OUTER       |                          |   501 | 17034 |     5  (20)| 00:00:01 |     
    |   5 |      NESTED LOOPS OUTER      |                          |   501 | 15030 |     5  (20)| 00:00:01 |     
    |   6 |       NESTED LOOPS OUTER     |                          |   501 | 13026 |     5  (20)| 00:00:01 |     
    |   7 |        NESTED LOOPS OUTER    |                          |   501 | 11523 |     5  (20)| 00:00:01 |     
    |   8 |         NESTED LOOPS OUTER   |                          |   501 |  5010 |     5  (20)| 00:00:01 |     
    |   9 |          INDEX FAST FULL SCAN| PK_TASK                  |   499 |  2495 |     2   (0)| 00:00:01 |     
    |* 10 |          INDEX UNIQUE SCAN   | PK_o_TASK           |     1 |     5 |     1   (0)| 00:00:01 |     
    |* 11 |         INDEX UNIQUE SCAN    | PK_r_T |     1 |    13 |     0   (0)| 00:00:01 |     
    |* 12 |        INDEX UNIQUE SCAN     | PK_b_a_TASK          |     1 |     3 |     0   (0)| 00:00:01 |     
    |* 13 |       INDEX UNIQUE SCAN      | PK_s_ERROR_TASK     |     1 |     4 |     0   (0)| 00:00:01 |     
    |* 14 |      INDEX UNIQUE SCAN       | PK_i_TASK    |     1 |     4 |     0   (0)| 00:00:01 |     
    |* 15 |     INDEX UNIQUE SCAN        | PK_f_MESSAGE        |     1 |     5 |     1   (0)| 00:00:01 |     
    Predicate Information (identified by operation id):     
       2 - filter(ROWNUM<500)     
      10 - access("TASK0_"."TASK_ID"="TASK0_4_"."TASK_ID"(+))     
      11 - access("TASK0_"."TASK_ID"="TASK0_5_"."TASK_ID"(+))     
      12 - access("TASK0_"."TASK_ID"="TASK0_2_"."TASK_ID"(+))     
      13 - access("TASK0_"."TASK_ID"="TASK0_6_"."TASK_ID"(+))     
      14 - access("TASK0_"."TASK_ID"="TASK0_3_"."TASK_ID"(+))     
      15 - access("TASK0_"."TASK_ID"="TASK0_1_"."TASK_ID"(+))Edited by: user628400 on Feb 20, 2009 12:14 PM
    Edited by: user628400 on Feb 20, 2009 12:15 PM

    Please read the FAQ: http://forums.oracle.com/forums/help.jspa
    And learn how to post code and explain plans using the tags.                                                                                                                                                                                                                                                                           

  • Suggest a good book and I am looking for following books? please help

    Dear all,
    I am looking for some help that if anybody can tell me some good book in which I can get complete information about how to go for a project from beginning to end.
    Specially I am looking for complete details about user roles and responsibilities in oracle forms that how can we build log-in screens and attaching all those securities to menu.
    Thanks and Regards
    Maz
    Edited by: 853604 on Sep 9, 2011 12:06 AM

    Hi
    get complete information about how to go for a project from beginning to end.as a Start here is a link for Oracle Tutorials...
    http://www.holowczak.com/
    and the iSelfSchooling
    http://www.iselfschooling.com/Free_Oracle_Training/02_Developers/01_Forms/lesson01.html
    For complete project pls search in this site
    http://www.araboug.org/
    it has an attendance , and other complete projects good users gave it to beginners and other developpers as a gift for learning, all u have to do is making such effort to search and translate to English.
    Hope this helps...
    Regards,
    Amatu Allah.

  • Looking for Imac (mid2011) Product link

    Looking for Imac (mid2011) link. I bought/built my iMac through the apple store in Aug 2012. I wanted to go in and PDF the specs the way it showed when i built it and the picture displays of the hook ups and etc but i cannot find the page anymore as it only goes to the newest iMac. Did anyone save those pictures or have a link to a site where i can view them?

    Have you looked at the user guide for the mid-2011 iMac?
    http://manuals.info.apple.com/en_US/imac_mid2011_ug.pdf
    That shows all the ports and features quite clearly.
    Regards.

  • Im looking for photoshop cs5 extended link

    I am looking for a link to download photoshop cs5 extended.

    Download Adobe CS5.5 Trials: Direct Links (no Assistant or Manager) | ProDesignTools

  • CFFORM format flash - Looking for a book

    I am thinking about building a CF Flash based site. I have
    been testing and reading posts on the net. Seems that a production
    grade site will require ActionScript, lots of it.
    Should I be looking at ActionScript books or CF books?

    You can try to learn from here (and watch out for the famous
    32K problem):
    http://livedocs.adobe.com/flex/201/
    http://www.asfusion.com/examples/
    Just a little advice and maybe you already know that the
    accessing speed of the flash form is pretty slow. If your users do
    not have fast internet connection, maybe you should change your
    mind in using cf flash. If you have an external site, maybe you can
    try to build a module in cf flash, ftp the module to your external
    site and test the accessing speed. If the speed is ok with you, you
    can continue on what you're doing.
    I have been doing many cf flash based sites for my internal
    applications only. But for my external (internet) sites, I would
    still prefer using cf html form. Because my audiences do not really
    have fast internet connection.
    Cheers,
    Keiko

  • Looking for a book on APO - Demand Planning Configuration

    Could anyone please recommend a book I could purchase that specifically teaches APO Demand Planning Configuration?  Any book or manuals that you could point me to would be greatly appreciated.  Thanks!

    The book SAP SCM by Daniel C Wood is reasonable. Not all the detail, but touches on DP, SNP and PPDS and if you use this in conjunction with the online help for the latest release.
    SCM 7.0 help
    http://help.sap.com/saphelp_scm70/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    Also another tip - search in google advanced for any topic within Website
    http://help.sap.com/saphelp_scm70*
    (asterix)
    and then when you get the detail.
    eg
    http://help.sap.com/saphelp_scm70/helpdata/en/ed/310538c7cb583ae10000009b38f8cf/content.htm
    which ends with the word
    CONTENT
    change the word content to FRAMESET
    eg
    http://help.sap.com/saphelp_scm70/helpdata/en/ed/310538c7cb583ae10000009b38f8cf/frameset.htm
    and you get the sorrounding help for this specific topic.

  • Looking for good book on using DSLR for shooting video

    I recently purchased a new Canon t3i DSLR. I've been watching videos on YouTube and it seems like this camera is capable of taking great HD video. My test videos look nothing like these examples. I am looking for a good resource that will teach me what settings to use, especially manual settings for shooting videos. Of course it would be great to find something specific to my camera, but I'm sure that the techniques will apply to most DSLRs.
    Thanks

    This website is very useful
    http://nofilmschool.com/

  • Looking for my books

    case ID:4552998709  looking for my books

    You will have to be much more specific.
    We are all itunes users just like you.  A case number means nothing to anyone here.

  • Not Understanding the filter in Explain Plan - filter(NULL IS NOT NULL)

    Hi All,
    Request your help in understanding the below scenario. (I am not aware of teh application and table details. Just trying to help my friend)
    SQL> conn
    Enter user-name: [email protected]
    Enter password:
    Connected.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for Linux: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    --Checking the count in PO_LINES
    SQL> select count(*) from po_lines;
      COUNT(*)
             0
    --PO_LINES is a synonym
    SQL> select object_type,owner from dba_objects where object_name = 'PO_LINES';
    OBJECT_TYPE         OWNER
    SYNONYM             APPS
    --The synonym is pointing to PO.PO_LINES_ALL
    SQL> select * from user_synonyms where synonym_name = 'PO_LINES';
    SYNONYM_NAME                   TABLE_OWNER                    TABLE_NAME                     DB_LINK
    PO_LINES                       PO                             PO_LINES_ALL
    --But when counting PO.PO_LINES_ALL I am getting different result
    SQL> select count(*) c from po.po_lines_all;
             C
          8828
    --Explain plan of teh original query is
    SQL> explain plan for
      2  select
      3  * from po_lines;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    | Id  | Operation          | Name         | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT   |              |     1 |   252 |     0   (0)|
    |*  1 |  FILTER            |              |       |       |            |
    |   2 |   TABLE ACCESS FULL| PO_LINES_ALL |  8796 |  2164K|   106   (4)|
    Predicate Information (identified by operation id):
       1 - filter(NULL IS NOT NULL)
    --Now the object PO.PO_LINES_ALL is TABLE, not an mview.
    SQL> select object_type,owner from dba_objects where object_name = 'PO_LINES_ALL';
    OBJECT_TYPE         OWNER
    TABLE               POSeek your help in understanding what is happening here.
    Thanks in Advance,
    jeneesh

    Next time, prefix with APPS. when you show us the explain plan:
    SQL> explain plan for
      2  select
      3  * from apps.po_lines;  -- added the prefix of owner.Just like you prefixed with PO. when you showed us the query on PO_LINES_ALL. It ensures that you are using the synonym which you showed us.
    Btw. PO_LINES_ALL, could still be a VIEW given your overview of the situation.
    Anyway a filter "NULL IS NOT NULL" is indicative that the optimizer performed something called semantic query optimization (SQO).
    SQO is the process of deducing new predicates based upon a) existing predicates in your query (which there is none), b) added predicates to your query (eg. by a VPD policy function), and c) declared constraints on the tables invovled in your query.
    A typical example of when a "NOT is NOT NULL" predicate will show up is when for instance in the EMP table there is a declared constraint on EMPNO like this:
    check(EMPNO > 0)And your query would hold a predicate that is inconsistent with the constraint, for instance like this:
    select *
    from EMP
    where EMPNO <= 0Oracle will deduce that EMPNO cannot be both greater than zero (constraint) as well as smaller than or equal to zero (your query predicate), and will transform the query into:
    select *
    from EMP
    where EMPNO <= 0
      and NULL is NOT NULLThus preventing accessing the EMP table all together, and immediately returning this query with no data found.
    Edited by: Toon Koppelaars on Mar 15, 2010 7:17 AM

  • Looking for a book that would teach me Java from the ground

    Hi! I'm a high school student looking to learn a lot about Java Programming. I'm taking Computer Science III right now and I took Computer Science I last school year (My school don't offer Computer Science II). However, my Comp. Sci. I teacher was really bad and barely taught us, this resulted in a lot of people failing that class. So, I barely know anything about Java Programming and I'm slowly starting to understand it a bit by bit in Comp. Sci. III class. I thought it would be helpful if I purchased a book about Java and study on my own at home in addition to learning at school. Does anyone know a good book that teachers the basics of Java and beyond? Any help would be greatly appreciated. Thank you!!

    "Head First in Java" book I've heard is highly recommended. I wouldn't suggest certification books since in my opinion they are for developers who have taken several programming classes and are preparing to pad their resumes with certifications for jobs
    . You can go to the bookstore to see if its the book you want, then order it on-line a lot cheaper (www.amazon.com). After reading it, you have it on your bookshelf for reference (the index helps a lot to re-locate information). After you compile and run a few programs from the DOS command line, I would suggest downloading Eclipse Europa (search google for it). Its a free development environment many professional developers use. You'll have to install JDK first (its free, search google for it).
    If you want to eventually develop web applications, here are the books I would recommend (I dont expect you to read them until you're in college, but it gives you some idea):
    HTML
    JSP
    Servlets
    JDBC
    SQL
    Javascript

  • Looking for a book

    Does anyone know of a book that exists that shows you how to create jsp applications for the web? Like specific step-by-step instructions?
    I found JRun Web Application Construction Kit, but i'm wondering if there are any others that are preferably free.
    If you don't know of any free ones that I can download, maybe just suggestions on good material.
    I need to make a backend admin tool for a website. Where I can upload products, change layouts/look, text, news allt hat jazz. And a guide book would be very handy for this.
    thanks.

    Hey.
    Try "Java for the Web with Servlets, JSP, and EJB: A Developer's Guide to J2EE Solutions"
    Good Book.
    Here is amazon link
    http://www.amazon.com/exec/obidos/tg/detail/-/073571195X/qid=1066316738/sr=1-1/ref=sr_1_1/103-5371148-3844603?v=glance&s=books
    Regards,
    Vic

  • Looking for Aperture Book Recomendations for partial Noob

    Looking at Amazon there are 3 books on the app. Each one brings something to the table. I have experience with Photoshop Elements and Iphoto. I do not think I am interested in the tutorial lessons available through "Apple Pro Training Series: Aperture 3." Any suggestions are appreciated. I have been looking at the online help and the various videos available on Apple and YT and find those helpful.
    Thanks
    Apple Pro Training Series: Aperture 3 [Paperback]
    http://www.amazon.com/Apple-Pro-Training-Aperture-3/dp/0321647440/ref=cmcr_pr_producttop
    Apple Aperture 3: A Workflow Guide for Digital Photographers [Paperback]
    http://www.amazon.com/Apple-Aperture-Workflow-Digital-Photographers/dp/024052178 1/ref=cmcr_pr_producttop
    Aperture 3: Portable Genius [Paperback]
    http://www.amazon.com/Aperture-Portable-Genius-Josh-Anon/dp/047038672X/ref=cmcr_pr_producttop

    If you are not into the APTS tutorial type book, then I would probably recommend using the Portable Genius book combined with both the User Manual and Apple's online tutorials.
    The Portable Genius is a good desktop reference book with quick to the point outlines of what a specific feature does and how to use it on a basic level (with some tips thrown in). IMO, an inexpensive and efficient way to go.

  • Looking for 'My Support Cases' link

    Well, posting in this forum resulted in a technician showing up on a Sunday afternoon ... phone service restored. Thanks. However, in one of my postings Verizon says to check 'My Support Cases' link to communicate with them and then locks the post so I cannot respond to ask for more details about the link. I have looked all over the site and cannot find this 'My Support Cases' link. Has anyone else found it?
    Thanks ...

    I guess I must be dumb ... I only found the list of my postings and still find no "My Support Cases' link.   Another Verizon tech replied to one of my forum posting that I haven't checked or responded to some posting in that location ... then doesn't allow 'Reply' ib their posting.
    I still need to update the work order.  A Tech showed up on Sunday night and spent an hour trying to trace lines on the road ad restored service so we thought we were set.  But then during the week we started having issues again with noise, disconnect of calls in the middle of speaking with someone, not being able to make a call and then no dial tone ater that.  I tried to open another repair report on this site today but can't get past that automatic check the line action.  This is so frustrating.

Maybe you are looking for