Calculating the Size(KB) in the explain plan....

Hi
I executed a sql statement in SQL*PLUS and having enabled the tracing in OEM , among others , I read the Size in KiloBytes which the 'TABLE ACCESS FULL' segment of the explain plan returned.....
This number is 5.998,193KB
I used the vsize built-in function in order to get the total number in bytes of the physical representation of all the rows (about 53500) ....
So , I wrote :
select nvl(sum(vsize(farmak_code)),0)+nvl(sum(vsize(emp_name)),0)+nvl(sum(vsize(category)),0)+ .....+.....
from mitroo_farmakou
The result was 5794544 in bytes which is close to 5.998,193KB.
My question is :
The computation of the bytes in the explain plan (TABLE ACCESS FULL segment) is done by adding the vsize of all columns....????
Does anybody Knows...????
Thanks , a lot
Simon

I doubt it. For a large table that would be an incredibly expensive calculation.
I suspect that it is something closer to:
SQL> SELECT * FROM incident;
Execution Plan
   0      SELECT STATEMENT Optimizer=CHOOSE (Cost=137 Card=15603 Bytes=6818511)
   1    0   TABLE ACCESS (FULL) OF 'INCIDENT' (Cost=137 Card=15603 Bytes=6818511)
SQL> SELECT ROUND(num_rows * avg_row_len)
  2  FROM user_tables
  3  WHERE table_name = 'INCIDENT';
ROUND(NUM_ROWS*AVG_ROW_LEN)
                    6818449HTH
John

Similar Messages

  • I used to be able to increase the size font of the persons name sending me an email or text message.  I have an iphone 5 and can no longer do that.  Help!

    I used to be able to increase the size font of the persons name sending me an email or text message.  I have an iphone 5 and can no longer do that.  Help!

    Just the name? Don't ever recall that being a feature. However, for Mail and Messages (and a few other apps): Settings app > General > Text Size

  • When I quit itunes it restarts again with the dot under the itunes logo but the iTunes window doesn't open until I click the icon on the dock.  Also in the middle of the size vale in the size column the value starts with a number then a ? then a number.

    When I quit itunes it restarts again with the dot under the itunes logo but the iTunes window doesn't open until I click the icon on the dock.  Also in the middle of the size vale in the size column the value starts with a number then a ? then a number.

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes for Mac forums.
    Regards.

  • To equall the size of all the columns

    Hi,
    i want to equall the size of all the columns. How can it be done??

    If I am getting it properly then you want nto fix the column size but not the data size..correct?.
    If it is column size then you can override the column name my clickin on the -->Column Prperties -->Column Format -->Column Heading and give the name with your specified width
    (Like Veeresh --which is 7 in width)
    Or
    Click on Edit formula -->Click on Custom Heading ->Type your own column name of your own width.
    If it is data size then
    -->Column properties -->Data Format -->Override Default Data format -->Treat number as number -- specify the limit.
    Do the same for all columns,by doing so report you will have the data in fixed width.
    Marks helpfull or correct if it answres
    Regards,
    Veeresh Rayan

  • HT4519 Cannnot sent an audio file as it is 2.5x the size allowed by the server. is there anything i can do to overcome this? Thanks

    Cannnot sent an audio file as it is 2.5x the size allowed by the server. is there anything i can do to overcome this? The files show in the
    Out Box but that box doiesnt show in the Cloud. Need the files Thanks

    Try using Dropbox.
     Cheers, Tom

  • What are the permissions needed to run explain plans via sql develeper?

    Are the permissions the same in Sql Developer to run explain plans like they are when you run them via sql*plus?

    Yes same permission because the explain plan does not tie to the tools.

  • Understanding the COST column of an explain plan

    Hello,
    I executed the following query, and obtained the corresponding explain plan:
    select * from isis.clas_rost where cour_off_# = 28
    Description COST Cardinality Bytes
    SELECT STATEMENT, GOAL = FIRST_ROWS               2     10     1540
    TABLE ACCESS BY INDEX ROWID     ISIS     CLAS_ROST     2     10     1540
    INDEX RANGE SCAN     ISIS     CLAS_ROST_N2     1 10     
    I don't understand how these cost values add up. What is the significance of the cost in each row of the explain plan output?
    By comparison, here is another plan output for the following query:
    select * from isis.clas_rost where clas_rost_# = 28
    Description COST Cardinality Bytes
    SELECT STATEMENT, GOAL = FIRST_ROWS               1     1     154
    TABLE ACCESS BY INDEX ROWID     ISIS     CLAS_ROST     1     1     154
    INDEX UNIQUE SCAN     ISIS     CLAS_ROST_U1     1 1     
    Thanks!

    For the most part, you probably want to ignore the cost column. The cardinality column is generally what you want to pay attention to.
    Ideally, the cost column is Oracle's estimate of the amount of work that will be required to execute a query. It is a unitless value that attempts to combine the cost of I/O and CPU (depending on the Oracle version and whether CPU costing is enabled) and to scale physical and logical I/O appropriately). As a unitless number, it doesn't really relate to something "real" like the expected number of buffer gets. It is also determined in part by initialization parameters,session settings, system statistics, etc. that may artificially increase or decrease the cost of certain operations.
    Beyond that, however, cost is problematic because it is only as accurate as the optimizer's estimates. If the optimizer's estimates are accurate, that implies that the cost is reasonably representative (in the sense that a query with a cost of 200 will run in less time than a query with a cost of 20000). But if you're looking at a query plan, it's generally because you believe there may be a problem which means that you are inherently suspicious that some of the optimizer's estimates are incorrect. If that's the case, you should generally distrust the cost.
    Justin

  • Given the size and of the iPad Mini Wider is better. Why don't Apple design the next iPhone to be a bit wider?

    After using one of the competition's wide screen phone, I found myself using it more then my iPhone. Though it wasn't as good of a user experience as my iPhone, the wider viewing display grabbed my attention. Viewing video content on their wider phones, sadly is much better in my opinion. The reason, the content that display at an 16x9 ratio. Wider is the way to go, truth to this is found in Reviews regarding the new iPad mini. The iPad mini has been said to have a perfect size screen when viewing content and playing Multitouch games. It has a better screen resolution as compared to it competitor. The iPad 3 and 4 have gorgeous Retina displays. Why not have a wider iPhone that's both thin and wider so we can enjoy our digital media we've purchased from Apple to have that same comfort level we get from the iPad? Having a display to be available at a resolution that's at a 16x9 Ratio is better regarding content. I love the iPhone, we need to finally go wider on the iPhone. Content viewing is being effected by the screen size on such a magnificent device. If Apple posted up a vote regarding their content displayed on their iOS devices, I'm sure people would agree that the resolution found on the iPad and iPad mini are much superior when viewing Apple's video content then from what you get from both the iPhone and iPod Touch. Not because they are smaller, it's the width of the screen then the mire size. Apple's video content is around about an 16x9 ratio as like most if not all of the content found on iTunes and the Apps store. I've found myself wanting an iPad mini as a substitute to my iphone. Wider viewing is best for Apple's video content, working documents and game play. I would surely be happier with a wider screen phone then to travel with both devices to be able to enjoy my media.

    I don't know why you wasted your time and bothered to post this in a user to user technical forum.
    Feedback to Apple goes here:  http://www.apple.com/feedback

  • How to change the SIZE FONT of the text description in ESS

    Hi Forum
       My key user wants the size font  more bigger in the areas and subarea´s of ESS. I have changed then font of the standard text in the Theme Editor. I think that this is a property in the Web Dynpro Application and only modifying it this could be more bigger, but this means change the standard appliction of ESS.
    Any idea ?
    Thnks
    Josué Cruz

    Josué,
    The changes applied to theme should work, but also you can consider this workarounds:
    For only one user, He/She can increase all fonts in general by using font increase tool from the internet browser;
    - In IE: View > Font Size > Larger or Largest
    - In Firefox: View > Zoom > Zoom In
    Do iview Personalization, by opening in Preview mode and doing Ctrl+Right click. Then, for the corresponding text you can select in Design field "Title 2", "Title 1", ...
    Best regards

  • Why is the downloaded app 3-4 times larger than the size listed in the App Store?  The settings show Angry Birds go at 316 mb and the app desc size is 93 mb; the FB is about 3 times larger also.

    Found this trying to manage the storage on the ipad.  Just wondering if the file size listed on the App Store is a zipped file.  If so, isn't that misleading?

    Thank you... just what I thought.  Be helpful to know the expanded size to manage  available space...

  • Please excuse my english, I'm trying to burn a 38 GB mov format onto a standard 4.7 BG DVD but the size still exits the 4 GB. I suppose it will never be compressed further, can it?

    Can I burn a 38 GB video onto a 4.7 DVD using IDVD. I tried using professional quality but its still over the size of my blank dvd. please help.

    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    OT

  • The size limit of the OCI LOB Array Insert is 64K for one field?

    I have a table with 4 field, and one is BLOB field. I want to insert 16 rows in one OCIStmtExecute. I know I can specify the iter parameter with 16 to execute sql 16 times.
    I found example in "Application Developer's Guide - Large Objects" in page "Data Interface for Persistent LOBs 13-17", there is a example function called "array_insert". It shows the usage of OCIBindArrayOfStruct, but can only insert LOB with same size, the LOB field of each row filled with the same size data.
    But I have to insert LOB with different size, for example 8K for row 1, and 16K for row 2, 128K for row 3. Than I find the alenp parameter of OCIBindByName/OCIBindByPos. It is "pointer to array of actual lengths of array elements."(OCI document). So I think I find the solution for my problem. But the type of alenp parameter is ub2*, is it means I can only insert 64K data for each row in my array insert? It is too small, I hope I can array insert BLOB with 16M each row.
    Or there is any other solution for my problem? I look forward to it for a long time! thanks every one!

    It is called Data Interface to work with LOB datatypes by APIs designed for use with legacy datatypes. I can specify SQLT_BIN to bind memory binary data to BLOB column, and INSERT or UPDATE directly. It can be without LOB locator and save round-trip to the server. This is very fit my needs, because I have to insert very much BLOBs to server as soon as possible.
    I have make a test program, and multi-row with different size blob( less than 65536 bytes) can be insert at one time, without locators. Multi-row wiht same size blob( more than 64K) also can be insert at one time--the alenp parameter is not used. I only can not insert multi-row with different size blob( more than 64k) because the type of alenp is ub2*.
    thank you for your reply!

  • Why can't I see the size percentage of the page on the bottom of a web page like in IE?

    In IE at the bottom of the web page I can change the page size from 100% to bigger or smaller. In FireFox I do not see this percentage. I am wondering where it is and how I can change the website page?
    Thanks

    If you are looking for a Default Zoom level setting in Firefox, so that all pages are automatically zoomed to a pre-defined zoom level and also shows that zoom level, try the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • I am trying to reduce the length of the google navigation & search boxes without any succuss. This has been asked numerious times on the site but no answer fixes the problem. I can change the size by using the line that seperates the two boxes but I only

    I added a personna 6/25/10, wanted to shorten the google navigation & search bars to see it but can't. Have re-installed the google tool bar, have selected the firefox tool bar version as my default and can then change the width but when one box gets shorter the other gets longer still filling the width of the screen. Customize tool bar doesn't give any options to shorten the tool bar width, I'm at a total loss. Would love suggestions if you've successfully fixed this.
    == This happened ==
    Every time Firefox opened
    == 6-25-10

    The location bar and search bar have a flex property and take all available space.
    You can only change the relative size of both with that resizer between the two bars.
    You can only do that by adding a lot of Space elements in the View > Toolbars > Customize window.
    You can set a fixed width by setting the min-width and max-width to the same value.
    Add code to [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #urlbar-container {max-width:400px!important; min-width:400px!important;}
    #search-container {max-width:200px!important; min-width:200px!important;}
    </nowiki></pre>
    You can chose your own values as long as the min-width and max-width for each bar have the same value.

  • I WANT TO INCREASE THE SIZE OF ALL THE INFORMATION ON A WEB PAGE AND KEEP SIZE AS DEFAULT

    I have just switched from Internet Explorer to Firefox. I find the font and image size too small on Firefox. Can I increase it permanently to default to larger, easier to read size?
    I tried the zoom under style but I would need to use it every time I go to a new page which is not convenient.

    Default Zoom Level extension:
    https://addons.mozilla.org/en-US/firefox/addon/6965

Maybe you are looking for