Index size (row_nums) is bigger than the tables row

Hi everyone,
I'm encountering some strange problems with the CBO in Oracle 10.2.0.3 - it's telling me that I have more rows in the indexes than there are rows in the tables.
I've tried all combinations of dbms_stats and analyse and cannot understand how the CBO comes up with such numbers. I've even done a "delete statistics" and
Re-analysed the table and indexes but it doesn't help.
The command I used is variations of the following:
exec
DBMS_STATS.GATHER_TABLE_STATS(ownname=>'MBS',tabname=>'READINGTOU', -
estimate_percent=>dbms_stats.auto_sample_size,method_opt=>'FOR COLUMNS PROCESSSTATUS',degree=>2);
EVEN TRIED
exec sys.dbms_utility.analyze_schema('MBS','ESTIMATE', estimate_percent => 15);
I've even used estimate_percent of 50 and still getting lower numbers for the table.
Initially I was afraid that since the index is larger than the table, the index would never be used. So the question is, does it really matter that the indexes' num_rows is bigger than the tables' num_rows? What is the consequence of this? And how do I get the optimizer to correct the differences in the stats. The table is 30G in size and growing, so a COMPUTE is out of the question.
but have the same problem in dev..and i did the COMPUTE in dev...get the same thing... I have more rows in the indexes than there are rows in the tables
Edited by: user630084 on Mar 11, 2009 10:45 AM

Is your issue that you are having problems with the execution plans of queries referencing these objects? Or is your problem that you are observing more num_rows in the index than in the table when you query the data dictionary?
If it's the latter then there's really no concern (unless the estimates are insanely inconsistent). The statistics are estimates and as such, will not be 100% accurate, though they should do a reasonable job of representing the data in your system (when they don't, then you have an issue, but we've seen nothing to indicate that as of yet).

Similar Messages

  • Why is my index bigger than my table ?

    Hi
    I am using locally managed tablespaces, with system allocation on 9.2.0.8
    I have a table with some 32 columns and a 3 column index (unique key).
    The 3 columns indexed are not null and all number(12) datatype.
    The index is bigger than the table by a factor of almost 10.
    I am not using compression of any kind.
    Any ideas ?
    Cheers

    If the table has insert or delete activity on it then the index is being maintained and it is this maintenance that can lead to an index growing larger than the base table when the length of the indexed columns are small compared to the row length.
    If one of the 3 key columns is a sequence number or generally follows an ever increasing value pattern and the delete process does not delete all values within the leaf blocks then the index will have a tendency to grow large realtive to the table.
    Worse is if any of the three key values are allowed to be updated after insertion. That then becomes a delete and insert into the index.
    If the tablespace was originally a dictionary managed tablespace and was converted to locally managed auto-allocate via sys.dbms_space_admin.tablespace_migrate_to_local then the storage behavior is different from if the tablespace was created auto-allocate from day one.
    Calculate the expected size of the index. Rebuild or re-create it as free space ditakes and then compare the resulting size to the expected size.
    HTH -- Mark D Powell --

  • How to add a graphic watermark that is bigger than the photo?

    How to add a graphic watermark that is bigger than the photo?
         Basically I want to add a watermark that is a border, like "outside stroke" so that it doesn't clip the photo.
         Upper, left and right side are 10px and on the bottom is my signature that is 40px high. I know how to do this in Photoshop, but can't figgure it out in Lightroom.
         The inset function with negative numbers doesn't work, because it only export to the size of the exported image, instead it should resize the image with those 10px up, left and right and 40px on      the bottom.
    My bordes look like this either one of the two can be used, and if you scroll down you will se how the end result should look like.
    And below is what it should look like, so that Lightroom doesn't clip the photo.

    Are you sure the focus of your piano roll is on the right track? Are you zoomed in/out enough?

  • What happens when an iPod is synchronized with an iTunes library that is bigger than the available space on the iPod?

    What happens when an iPod is synchronized with an iTunes library that is bigger than the available space on the iPod? I did this some time ago. On screen was shown available space somewhat less than 120 GB, but maybe somewhere between 10 and 20 GB more in the library. I had to get the iPod updated anyway, so I did proceed. However, afterwards the total content of the library was only about 110 GB. Now I wonder what did actually happen. Was the first sign only corrected for double copies of the same files or lost files or where files deleted from iTunes? And if files where deleted from iTunes, were they also deleted from my computer?

    Same as you would if you bought a pc; copy everything from your old computer to your new one.  Then you can just sync everything from the new computer, as you did with the old one.

  • Why is menu size so much larger than the files?

    I am somewhat perplexed - I'm making a single-layer dvd and have a simple single screen theme (no animation) - it has one drop zone. The movie has 28 chapters so there are five of them, but so far I've added only one montage of photos to each menu page - it's a "mobile" quality in media browser and ave only 10 - 20 MB, then one song. On average these movie clips are 1:00 to 2:00 min long and the music is cut to that length. So, all told, it's probably less than 110 MB in files - but when I look at the project properties, the menus are 3301 MB!!!
    The movie itself is only 1.1 GB so what is going on?
    It's preventing me from doing the project and I've got no idea why it's making the menu size so much larger than the file sizes?
    Can you please help me figure out what to do?
    Alexa

    The 2 min clips were natively 2 min - I had each one separate and actually converted to media browser in "mobile" size (b/c the drop zone was 4 x 6 in size in the theme). They were tiny - in most cases I was shortening the audio (e.g. the song was 4 minutes and I was setting the loop to only 1:30 b/c that's how long the video clip was on the menu).
    BUT, to resolve the question (I always like to post the answer) - I ended up duplicating the project to try to reimport the video. It was a fresh iDVD project and I happened to click on the project tree of screens - and, lo and behold, the ENTIRE menu was duplicated for some reason (and the movie, actually). I went back to the original and it was the same! I have no idea how that would happen do you? It only had one main menu screen - and then an entire duplicate menu - which I wouldn't even know how to access if I didn't see it in the project menu tree?
    The only think of is that at one point I added a title menu link to the scene selection - it gave me a warning that my menu was more than 12 minutes, did I want to fix or ignore and fix later - which confused me b/c it was under 12 min, then but I clicked ignore. Does that create an alternate title menu and send people back to something else?
    Anyway, I deleted the entire extra scene selection menus (5 of them) and it was back to under 4 GB.
    So, I was able to burn, but still wondering about creating the "title menu" link on scene selections? It drives me crazy that it doesn't automatically do that so I like to add "main menu" links.
    Thanks for your help!
    Alexa

  • Saving as a PDF -How do you make the PDF not bigger than the original file?

    I am running Mac OS X Panther.
    I understand that Mac OS X creates a "Digital Master" PDF file, which is larger than a typical PDF file because the resolution of images in the file is not scaled down. The PDF file includes each font character used in the document.
    Problem is this.
    I actually want the PDF NOT to be bigger than the original document file.
    Can anyone please help?
    Thanks
    J Slater

    jslat,
    It's probably most important to know exactly what you intend to do with the saved pdf file? Are you going to need to print the pdf etc.?
    This Apple Knowledge Base article may help if you haven't already read it:
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1035.html
    littleshoulders [:-)
    edit: You have posted in the 10.3 Panther OS and earlier forum and you appear to be using 10.4 (Tiger) by your computer specs below your topic which may handle pdf's somewhat differently. In your post you mention Panther so I just wanted to clarify if need be.
    Message was edited by: littleshoulders

  • Image bigger than the screen

    i have a 4rd generation ipod touch and suddenly the image of desktop is bigger than the screen. i dont know how to solve this.

    Double tap the screen with 3 fingers.
    Stedman

  • How do i make the whole veiw of the computer smaller? it seems bigger than the whole screen

    how do i make the whole veiw of the computer smaller? it seems bigger than the whole screen

    often, this happens when you blunder into Accessibility/ Universal Access features, such as screen Zooming.
    System Preferences > Accessibility/ Universal Access > Seeing

  • What if i have a large question, bigger than the input box

    what if i have a large worded question on this forum, bigger than the input box?
    i know it scrolls, but i quite often have something more than a line of text as a question ,and would like to see all of what i have to say?

    The title/subject of a topic shouldn't be more than a few words that summarize the nature of your question.  Long topics, and other useless ones such as HELP ME!, don't do much to attact the correct amount of attention, and can actually drive away potential help.  What your topic question should do is give others an idea about whether they should open your topic rather than one of the hundreds of others, i.e. if it is something they now about or are interested in - use the message body to go into details.

  • App (game) is bigger than the display - but zoom is deactivated

    i have purchased an app (a game, ice age village) for mit ipad2 - but i cannot play it because the picture resolution is too big.....it means the picture ist bigger than the display. It seems like the display ist too small - the picture too big for the ipad.
    Reinstall again didn't work - i also tried to reset the ipad.
    Nothing works.
    I was also comparing all settings with my friends ipad2..... the app is running without problems on his ipad.
    I'm afraid, that there is an error on my ipad
    Does anyone know the solution for this problem?
    (i have tried everythin on the support-site form apple ipad - nothing works)
    thanx....

    I checked the monitor's settings. There are different zooming levels but nothing works properly. I think this is a specific radeon/linux problem because i tried the monitor with a Macbook Air via HDMI/mini DisplayPort adapter and the display is set correctly.

  • I've just got a iPhone 5, the problem I've got is I can't transfer my phone contacts of my old sim to the iphone 5. The old sim is a lot bigger than the iPhone one.

    I've just got an iPhone 5, the problem I've got is I can't transfer my old contacts of my old sim to my iPhone. The old sim is a lot bigger than the new one

    The iPhone 5 uses a Nano-Sim, your old phone uses a Micro-Sim.  But you already knew that.  If you purchased your iPhone 5 from a specific carrier, and the same carrier provided your old device, they may be able to transfer your contacts.  Otherwise, you can search for a method to sync your old phone contacts to another service (like Google contacts, or yahoo contacts, or the Personal Information Manager on your computer like Outlook or Windows contacts), then sync the data to your iphone.

  • CSS issue when changing the table row height to 16px

    Hello,
    After changing the table row height through css like this:
    .table-row-cell, .table-cell {
    -fx-cell-size: 16;
    the table rows are correctly displayed with a 16px height but the cell bottoms seem to be incorrectly set.
    For example the following css style (a red 3px bottom border):
    .table-cell {
    -fx-border-width: 0 0 3 0;
    -fx-border-color: red;
    doesn't work anymore with the new row height whereas it works with the 24px standard row height.
    While investigating with Scenic View, I noticed that changing the row height changes the TableRow layoutBounds height (from 24px to 16px so that's ok) but not the boundsInParent height which remains to 27px. I think it should become 19px (16 + 1.5 + 1.5). I don't know if it's a bug.
    Anyway, any help making the css red border working for a 16px row height would be greatly appreciated.
    Regards,
    Bruno.

    Q: Would this help to just use absolute div tags and give me 'ABSOLUTELY ABSOLUTE' positioning?
    No.  APDivs are not a good primary layout method.  Use default CSS positioning (which is no positioning at all).  Align page elements with margins, floats and padding.
    See example -- 2-Column CSS Layout with Grids
    (View Page Source in your browser to see the code)
    http://alt-web.com/TEMPLATES/2-col-fixed-with-grid.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Read the table row data and dispaly it in the ME21n transaction

    Hi All,
    i'm new to ABAP and OO ABAP .Please somebody help me out for my req. My req is , when i double click on the table row which is having PO details , then that data  should be displayed in the ME21n transaction. please some on tell me how to achive this using SALV class..
    thanks,
    Rajeev.

    Hi rajeev bikkani ,
    you can use the events 'Double_click' in alv. below given the code, try out.
    class lcl_list_event_handler definition.
    PUBLIC SECTION.
    methods on_double_click
          for event double_click of cl_gui_alv_grid
            importing e_row .
    endclass.
    class lcl_list_event_handler implementation.
    method on_double_click.
    call transaction 'ME21N'.
    ENDMETHOD.
    ENDCLASS.
    before executing the method SALV.
    write code    
      set handler obj2(reference for lcl_list_event_handler) ->on_double_click
                    for obj1(referenece for cl_gui_alv_grid).

  • Hide the Table Row Scroller

    Hello ,
    I am on EP7.0 NW04s and want to hide the Table Row Scroller ...the one which says "Row 1 of 4" for eg: ....is there any table property I can modify to achieve this..
    Any help would be highly appreciated.

    Hi Subahsh,
    For Hiding RowScroller, footerVisible setting will not work.
    If you want to hide the Row scroller then do following steps
    (1).IWDTable t = (IWDTable)view.getElemnt("Table");
    (2)t.setVisibleRows(2);
    (3)then delete the rows which you do not want to show..
    and before deleting copy it some where.
    Or the other way to handle the problem is :-
    TableNode----
    > ActualNode create both in the context
    Keep all contents in your actual Node.
    And when you want to update the number of rows...
    then invalidate TableNode( it will clear the table node).
    And the again copy Elements from ActualNode.
    And keep a count of the number of elements, set the visibility of row to that count..
    In this way the scroller will never come...
    See basic of this concept is that you have to keep the VisibleRow setting same as number of elements in your table.
    feel free to ask queries
    Regards,
    Praveen
    Message was edited by:
            Praveen Kumar Pandey

  • Indexes which bigger than their tables

    hi,
    is it possible to find indexed which are bigger sized than their tables using a single query?
    I do not want to use a cursor.

    user8954613 wrote:
    is it possible to find indexed which are bigger sized than their tables using a single query?
    I do not want to use a cursor.Then it is not possible.
    All SQL are parsed, stored and executed as cursors.
    If you do not want to use cursors, you cannot by implication use SQL.
    Now what you meant were likely you do not want to use PL/SQL to parse and execute the SQL cursor? In which case it is important to get the definitions and terminology right.
    Refer to Oracle® Database Concepts:
    >
    When an application issues a SQL statement, the application makes a parse call to the database to prepare the statement for execution. The parse call opens or creates a cursor, which is a handle for the session-specific private SQL area that holds a parsed SQL statement and other processing information.

Maybe you are looking for