How Oracle calclutes the cost for table analysis with non-voltage costs CPU.

If the CPU costing are disabled and the column of blocks shown 1000 for a table in the user_tables and DB a DB_BLOCK_SIXE = 8KB and DB_FILE_MULTIBLOCK_READ_COUNT = 8.

What will be the cost of a complete analysis of the table? How it will be calculated.

user445775 wrote:
Thanks Randolf,

Infact I'm reading the same book and I was confused with the "adjusted" way MBRC is calculated?
is it remain static in the database if I don't change MBRC? If not what are the factors can change the MBRC "adjusted".

I recommend to download the code repository and run the script 'calc_mbrc.sql '. For each MBRC, it will show you the corresponding MBRC "amended". This looks like an adjustment factor "coded", static, built-in that simply depends on the defined MBRC, so for example if you use MBRC = 16, 10.40 is used as MBRC "adjusted", if you use a 64 MBRC a MBRC "adjusted" 25,84 will be used for the calculation (note how the largest EEG MBRCs and a more pessimistic "adjusted" value) etc.

Kind regards
Randolf

Oracle related blog stuff:
http://Oracle-Randolf.blogspot.com/

SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676 /.
http://sourceforge.NET/projects/SQLT-pp/

Tags: Database

Similar Questions

  • How to change the order for table?

    I use oracle 10g 10.2.0.3.0

    I have a select statement
    SELECT /*+ leading v.Guest_Info v.Guest_Domain_Relation Guest_Address*/
    *
      FROM (SELECT 
             Cdr.Guest_Domain_Relation_Id,
             Ci.Guest_Id        
              FROM Guest_Info         Ci,
                   Guest_Domain_Relation Cdr
             WHERE Ci.Guest_Id = Cdr.Guest_Id) v,
           Guest_Address Ca
     WHERE v.Guest_Id = Ca.Guest_Id;
    and explain the Plan shows
    1     Plan hash value: 3785964411
    2      
    3     ---------------------------------------------------------------------------------------------------------
    4     | Id  | Operation                     | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    5     ---------------------------------------------------------------------------------------------------------
    6     |   0 | SELECT STATEMENT              |                         |  1806 |   199K|     9  (23)| 00:00:01 |
    7     |*  1 |  HASH JOIN                    |                         |  1806 |   199K|     9  (23)| 00:00:01 |
    8     |   2 |   MERGE JOIN                  |                         |   482 | 48682 |     6  (17)| 00:00:01 |
    9     |   3 |    TABLE ACCESS BY INDEX ROWID| Guest_ADDRESS          |   919 | 87305 |     4   (0)| 00:00:01 |
    10     |   4 |     INDEX FULL SCAN           | XAK1Guest_ADDRESS      |   919 |       |     1   (0)| 00:00:01 |
    11     |*  5 |    SORT JOIN                  |                         |   482 |  2892 |     2  (50)| 00:00:01 |
    12     |   6 |     INDEX FULL SCAN           | XPKGuest_INFO          |   482 |  2892 |     1   (0)| 00:00:01 |
    13     |   7 |   VIEW                        | index$_join$_003        |  3493 | 41916 |     3   (0)| 00:00:01 |
    14     |*  8 |    HASH JOIN                  |                         |       |       |            |          |
    15     |   9 |     INDEX FAST FULL SCAN      | XAK1Guest_DOMAIN_Relation |  3493 | 41916 |     1   (0)| 00:00:01 |
    16     |  10 |     INDEX FAST FULL SCAN      | XPKGuest_DOMAIN_Relation  |  3493 | 41916 |     1   (0)| 00:00:01 |
    17     ---------------------------------------------------------------------------------------------------------
    18      
    19     Predicate Information (identified by operation id):
    20     ---------------------------------------------------
    21      
    Is there in any case, I have Guess_Domain_Relation table join firstly that the join to Guess_Address table of Guest_info?

    I tried a few ways to rewrite the query, but he's no luck

    Thank you

    Published by: Y.L on March 20, 2013 13:59

    Y.L wrote:
    And my another problem here... I don't know why my first clue didn't work...

    Probably the syntax. The main indicator uses parentheses, as

    /*+
    select /*+ leading(table1, table2) */ *
      from table1, table2
    */
    

    Remember that you must use the table alias name in tips for the identifier to be recognized

    You can also consider using the y indicator (if you must use a hint) for several tables - beware, it is MUCH easier to do worse performance with this suspicion using the order of the tables in the FROM clause in left to right

    /*+
    select /*+  ordered */ *
      from table1, table2, table3
    . . .
    */
    

    How I create index will affect how it works?

    How the index was created probably won't affect how it works. Indexes can be created using constraints and directly with the CREATE INDEX command. The creation of the index should not be as important as its defined characteristics: index type, columns, etc.

  • How Oracle called the hidden for the function-based index columns?


    I came across an interesting problem today.  Statistics object for a schema that have been created on the basis of data X have been imported into a 'identical' to the database schema Y.

    The problem is that, on the basis of data X a group of hidden columns associated with index based service (FBIs) were named SYS_NC00182$ to SYS_NC00191$ and on the basis of data Y the same hidden columns were named SYS_NC00183$ to SYS_NC00192$!  The consequence was that statistical column for an FBI data base X have been used for a totally different FBI on the database Y.

    Now, of course, if this was g 11 or 12 c I could just create virtual columns and those of the index.  In this way the names of the columns would be compatible on databases.  However, it is a 10g database, and I do not have this option.

    I am curious to understand how Oracle generates these hidden column names.  I'm also curious if, in 10g, there is a way to identify the name of a column hidden for an FBI that doesn't involve a statement explain plan running on a query that uses all the expressions of the FBI for the table.

    The names of $ SYS_NCnnnnn are based on the internal column id - what is loosely based on the order of creation of the FBI. If you delete a column the column internal ids (after this column), which means the names for the SYS_NCnnnnn$ the change.  An opportunity to explain your results is that a (real) column on the X data table fell, but the column still exists on the database Y.

    If you want to get the link between the current internal name and expression, then you can start with dba_ind_expressions - and create a customized version of the view - e.g @.

    Select c.intcol #, c.name, io.name, idx.name, bo.name, base.name, c.default$, ic.pos #.

    of sys.col$ c, sys.obj$ idx, basis of sys.obj$, sys.icol$ ic.

    sys. User$ io, sys.user$ bo, sys.ind$ I

    where bitand(ic.spare1,1) = 1 / * expression * /.

    and (bitand (students, 1024) = 0) / * not bmji * /.

    and ic.bo # c.obj = #.

    and ic.intcol # c.intcol = #.

    and ic.bo # base.obj = #.

    and io.user # idx.owner = #.

    and bo.user # base.owner = #.

    and ic.obj # idx.obj = #.

    and idx.obj # i.obj = #.

    and however # (1, 2, 3, 4, 6, 7, 9)

    /

    The first two columns in the select ones that I added to the initial view definition.

    Concerning

    Jonathan Lewis

  • How to use the DPS for a daily with as wordpress content management system

    Hello

    I use the DPS for magazines.  I would like to use urgent for a media company.  the content will be in the form of such as wordpress content management system, joomla.  I know that I can download html in pages content.  How can I display content such as the New york Times and the Washington post on iPad using digital publishing suites?

    Hello

    Please send me a private mail (ktukker at_sign adobe d o t - com) with your question and description of the workflow. Can you give me some links to sample from the Washington Post / NYT that you talk too much?

    You can associate a workflow HTML with DPS. Take a look at the application of Shell scenarios; content has all be created in the HTML articles.

    Shell scenarios: https://itunes.apple.com/nl/app/scenarios/id605820338?l=en&mt=8

    -Klaasjan

  • How to get the download for LR 6 with a few tan by leica, I missclik and get CC LR, I don't want this version, but the free version of LR6 for desktop PC (window 10) ty to explain, I'm french my English is bad! Ty

    I want to download LR 6 for pc, free by a few tan of Leica desktop.

    I get LR CC (creative Cloud) I want to uninstall LR CC and the ability to download free LR 6 as the said version perpetual license or self Leica

    Hi Jean-pierrev10519687,

    Please use the following link to download and Install Photoshop Lightroom

    See also,

    How to download, install and activate Adobe applications

    Find the serial number of your Adobe product quickly

    Let us know if that helps.

  • How to replace the subset of table nd with table 1 d to i, j

    Hello

    I am trying to replace a range of values in an array multidimensional, beginning with the cell i, j, both greater than 0, that is to say a square inside the Bay of nD. The new values which replace older ones come from a 1 d table. However, when I provide two indexes to replace table subset block I get a bad wire... I guess it is due to the fact that labview does not know which direction to replace data? Is there a solution to this? I enclose an example vi of what I'm trying to do.

    Thank you very much.

    This should do the same thing without all the extra steps.

  • How to activate the trace for request to define in oracle application?

    How to activate the trace for request to define in oracle application?

    Please see and steps/comments for 'Presentation of simultaneous program' in (Doc ID 1516355.1).

    Thank you

    Hussein

  • How to change the password for the user name in the Oracle forum

    I wanted to know how to change the password for my user in the Oracle forum. I couldn't find the navigation to do.

    Ask for a response to my post.

    Concerning

    Date of arrival:

    Getting help: frequently asked Questions

    About your Oracle account

  • How to get the metadata for the selected tables of a schema

    Hello

    I need the metadata for the tables selected for an activity. The list of the table continues to change now. I get the list of tables just before the activity.

    What I need is to know how to put the list of tables in the sub query dynamicallly

    +++++++++++
    exec dbms_metadata.set_transform_param (DBMS_METADATA. False SESSION_TRANSFORM, 'SEGMENT_ATTRIBUTES',);
    exec dbms_metadata.set_transform_param (DBMS_METADATA. False SESSION_TRANSFORM, 'STORAGE',);
    exec dbms_metadata.set_transform_param (DBMS_METADATA. SESSION_TRANSFORM, 'TABLESPACE', TRUE);

    Select DBMS_METADATA. GET_DDL ('TABLE', '&') from user_tables where rownum < 2;
    +++++++++++

    What I need is something of the form where table_name in (< table1 >, < table2 >, < table3 >,..., etc.) in the query above, so that i access all the metadata
    He doesn't hit me how I can write this query to single line. Can someone help here?

    Regds,
    Malika

    Hello

    try using the name of the column to user_tables and owner of the table in the "DBMS_METADATA. GET_DDL' and the reel to reel for some files and run this file in turn exit.

    coil
    Select ' select DBMS_METADATA. GET_DDL ("' TABLE," ' | table_name |', "' ) double;' from user_tables
    where ;
    spool off;

    @some_file - trying to spool output too.

    -Pavan Kumar N

  • Office jet Pro 8600: how to change the folder for the scans on my Apple?

    Hi, I want to know how to change the destination for my scans folder when I scan from the printer.  Currently, the scans go to "documents", and I want him to be in a business case.  Clues?  I tried to watch some instructions on the previous posts, but it seems that they are for windows.

    Thanks for the help!

    Hi @jgossc,

    I'd be happy to help you change your scan destination. I understand that when you scan your Officejet Pro 8600 to your Mac, the file analysis is currently underway to your documents and want to let them instead to a business case.

    To change the destination please follow the steps below and let me know the results of your efforts:

    • Open HP utility
    • Select Scan to the computer
    • Click Scan tasks to change
    • Choose a shortcut to scan
    • Select Edition
    • In the options listed here, you should see scan destination

    If this resolves the issue, please click Accept as Solution button below; If not, let me know and I will do everything I can to help. Thank you.

  • How to save the data in table 1 d to Excel in continuous

    Mr President.

    How to save the data in table 1 d to Excel at all times, so that all the data of the first scan must be placed first thought and all the data from the second analysis must be placed on the second Board and continue on the street...

    Sy@m...

    Hi Sy@m

    Here is a vi that might give you a few ideas to try:

  • How to edit the template for the briefing?

    Hi all

    Does anyone know how to edit the template for the briefing?

    The version I used is 11.1.1.6.5

    Thank you!

    Kind regards
    Anne

    What exactly you are trying to change in the template? The Table of contents can be edited like this: http://total-bi.com/2012/09/briefing-book-table-of-contents-page/

    Please check if useful/correct.

  • System tablespace allocation how oracle determines the size of the measure

    Hello

    It may be a silly question, but the I must request and obtain a few knowdge

    Assume that the allocation_type tablespace is system so how oracle determines the initial measurement and size max measure?

    Osama has provided useful links to the information you need. I'll just add with locally managed tablespace that the maximum number of spans is always unlimited even if you specify a value in the storage of declaration of establishment clause. Oracle does not take into account the value you provide and will with unlimited. I consider this unfortunate since in most cases, I know how large tables can reach and if the table extends beyond that point a developer made a mistake.

    HTH - Mark D Powell.

  • How to find the user Apex table

    Hello

    Please let me know, how to find the user apex table. I need validate the unique user based on the same, for which I use below function.

    DECLARE
    VAL A BOOLEAN;
    BEGIN
    VAL: = APEX_UTIL.IS_USERNAME_UNIQUE (p_username =
    (: P6_USERNAME);
    END;

    However, in this case, he always comes back "FALSE," saying new user exists.

    Kindly help me in fixing this problem.

    There is a view called apex_workspace_apex_users.

    Details under Home > utilities > Application Express views

    André

  • How to install the patch for the security hole last QT process running on a Dell with Windows 7 (Windows 10 upgrade) laptop? I got a message from my program called Belarc that the patch is missing on this device. Thank you

    How to install the patch for QuickTime Pro for Windows 7 on a Dell laptop... I got an alert through a program which I run from time to time (Belarc) and it says that there was a security breach detected by Apple (or one of its vendors, who manages the security of the operating system such as Cisco) during December 2015.

    Please notify.  Thanks in advance for your guidance pertaining to my question.

    Download QuickTime for Windows - Apple 7.7.9

    Apple ends development of QuickTime Player 7 for Mac and Windows operating system, so don't expect much more beyond this last version.

    The installation shows are supported for Windows 7 and lower, so I don't know what to expect on Windows 10.

Maybe you are looking for

  • ICloud Mix Up

    My wife's e-mail address appeared somehow on my IPhone under settings, ICloud. Mine does not appear. It is the origin of the problems between the two phones. How can I fix this?

  • sound of folio 13 HP does not work

    Hi I have a HP Folio 13-1000eo pc, recently, I dropped it with my headphones still in making to THE and unfortunately he landed directly on decision-making who pushed into the auxiliary voltage now my speaker or to THE works, so I opened and took a f

  • 580 EX does not take up with the 5 d Mk III?

    Hello! Newbie and displays the first time. I'm not an experienced user of flash, so didn't know what to expect when you shoot in burst mode, at a party over the weekend. I had the 580 in ETTL and tilted up to bounce off the ceiling. I had the 5 d in

  • error in updating the BlackBerry application

    Portal provider gives me an error, when I try to download the new version of the blackberry application. Please see the full error message given below. ("BAR file ('GacDirectory - 1_0_0_4.bar)") was rejected. The BAR ("gYABgJ0Jom3WzADM0b1yBmjVa20") p

  • Laptop computer wifi button won't stay not blue at startup.

    The wifi button is orange while booting. It turns blue for a second and back to orange. When windows is running, the button is always orange and if I push the button twice will turn on. Only after I twice the push button. It's something new. I reinst