How will I know "the size of a table special VS size of RAM"

Hi all

How will I know "the size of a table special VS size of RAM"?

I should know because I want to understand what join method to use.

Please correct me if my attempt to catch the truth is crazy.

Thanks in advance.

You can get the size of a table of DBA_SEGMENTS.  I'm sure you can get the amount of RAM of other tables of data dictionary as well if you can define precisely what memory segment you are interested in (e.g. CMS?)  PGA?  The amount of physical RAM on the box?  The size of the buffer cache?  The amount of virtual memory available?)

That being said, comparing the two is not as significant.  You, as a developer, are generally not in the business of choosing a join method.  It's the job of the optimizer.  And the optimizer takes into account a range of data that you have not begun to ask about yet.  The size of the table is not even particularly relevant for calculations - the optimizer the amount of data operations are back, the relative size of the data on each side of the join, the availability of indexes, etc. are all much more important than the raw size of the table (but the raw size of the array is a factor in the assessment of the amount of data that is returned).

Justin

Tags: Database

Similar Questions

  • How can I know the size of the screen of the moniter of users using the Acrobat SDK?

    How can I know the size of the screen of the moniter of users using the Acrobat SDK? I need to know how much real estate sreen which is available on the moniter to users. Is there some call I can do the SDK to find out the maximum X and is coordinated?

    Thank you

    Gregory

    Just responded to your other thread:

    AVWindowGetDesktopBounds()

    Even takes into account the task bar on Windows, the menu bar on Mac, etc.

  • How will I know if there is an extra slot available for my ram in my pc?

    Spoiler (Highlight to read)

     
     

    How will I know if there is an extra slot available for my ram in my pc?

    What kind of PC is it? Usually you can open the hood and look or go into BIOS and watch memory or run a program called CPU - Z to see what is in each slot.

  • How do I know the size specific to a field in an oracle table

    Hello

    Oracle 11.2.0.3 on redhat
    I have three tables with the same structure, table0, table50, table100:

    create table table0 (ID options, shipping RAW (2000), RAW (2000));

    I inserted some 10000 lines each, but with a few differences:
    Table0 a 10000 id, but shipping and options has null values
    table50 has 10000 id, but shipping and options has only 5000 lines, the other 5000 are null values
    table100 has 10000 lines of id, shipping and options. No null values.

    I want to know the specific size of each column, also the size of each line, namely the exactly size of the field.

    for example:

    rank 1, the column of table100 options is "asdfasdfagasdgasbabsdgoasdpgiahnwe1129u412094u12".
    rank 2, the table100 column options is "a".
    both are given in raw format, but I think that its space will be a different size (bytes), how do you know? any question?

    I found this query:
    select owner,tablespace_name,segment_name,sum((bytes/1024/1024)) Bytes
    from sys.dba_extents
    where owner in 'MAA' and segment_type='TABLE' and segment_name ='TABLE00'
    group by tablespace_name,owner,segment_name
    order by owner,tablespace_name,segment_name, bytes; 
    but I think that is not my solution.

    If VSIZE returns a constant value, which allows to conclude that everything which is inserting the data in your table is always inserting a constant number of bytes.

    If I create a table with a RAW (1000) and insert data with different sizes of binary, VSIZE gives different results

    SQL> create table foo(
      2    col1 raw(1000)
      3  );
    
    Table created.
    
    SQL> insert into foo values( utl_raw.cast_from_number(12) );
    
    1 row created.
    
    SQL> insert into foo values( utl_i18n.string_to_raw('This could be a much longer string') );
    
    1 row created.
    
    SQL> select vsize(col1) from foo;
    
    VSIZE(COL1)
    -----------
              2
             34
    

    If you say VSIZE always returns the value 1000, which implies that everything what is the insertion of the data is always inserting 1000 bytes of data.

    Justin

  • How can we know the size of the partition

    Hello

    can someone give me a query or procedure to determine the size of a partition of a table in bytes





    Thanks in advance

    Hello

    You can query dba_tab_partitions on column of blocks.

    Select TABLE_OWNER, TABLE_NAME, nom_partition, blocks from dba_tab_partitions

    Concerning

    Published by: skvaish1 on February 11, 2010 14:44

  • How will I know the Creative Cloud Desktop app that an application no longer exists?

    I have installed Muse through the creative application of Cloud Desktop, tried, don't like it AND uninstalled it. (Or so I thought). However, the desktop application still shows CC Muse as "up-to-date" and lists the Muse CC 2014 in 'New versions available for applications installed'. How can I get rid of these, when I can't even find a trace of either on my Mac (including the new in Utilities folder)?

    CC desktop applications 'updated' lists when it is not installed

    http://helpx.Adobe.com/creative-cloud/KB/AAM-lists-removed-apps-date.html

    Cloud creation help / install, update or uninstall applications

    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

  • How will I know the semester in a date?

    Hello, I have this query
    SELECT 1949 + rowno_year | LPAD (rowno_month, 2, '0') MONTH_ID, to_char (to_date (to_char (1949 + rowno_year | lpad (rowno_month, 2, '0')), "YYYYMM"), 'MONTH', 'NLS_DATE_LANGUAGE = ENGLISH') MONTH_NAME,.
    TO_CHAR (to_date (to_char (1949 + rowno_year | lpad (rowno_month, 2, '0')), "YYYYMM"), 'Q', 'NLS_DATE_LANGUAGE = ENGLISH') QUARTER_ID,.

    Double A,
    (SELECT ROWNUM DOUBLE CONNECTION OF LEVEL rowno_year < = 100) B,
    (SELECT ROWNUM DOUBLE CONNECTION OF LEVEL rowno_month < = 12) c

    How can I tell which half is the date?

    And the four_month_period?

    Thanks in advance

    Hello

    You can use CEIL(quarter_id/2)
    where quarter_id is your evaluation logic.

    Kind regards
    sukhijank

  • How to know the size of the files transferred to the SQL * Net?

    I'm testing the Advanced compress (AC) for 11 g Data Guard. When the AC is turned on, the archived log files are supposed to be compressed on the primary database server sent via SQL * Net, then unzipped on the standby db server. We will see that the file sizes are the same on the main servers and backup. I want to check that the AC works by monitoring how much data is sent via SQL * Net. By Oracle, AC uses less bandwidth of 35%. This means that the size of the transferred files must be at least 65% of the original size.


    Is there a way to know the size with the Oracle utilities? Otherwise, how do you know by the utilities of operating system? OS is Solaris 5.10.

    Thank you.

    I'm not sure that this can be done via SQL * Net, but a sniffer network between two servers packets must be able to help - you may want to contact your network team.

    HTH
    Srini

  • How will I know when to load the mouse and keyboard on my IMAC?

    IMAC late 2015. El Capitan version 10.11.5. 1.6 GHZ. Intel i5 processor. 8 GB.

    How will I know when to charge my rechargeable keyboard and mouse? How can I tell when it is fully charged. Where can I find info on my IMAC so I must not ask about every little thing. The IMAC is new to me. Thank you

    The iMac will appear a message when is running out of power. Also you can check the charge level of your device from the Bluetooth icon in the menu at the top of the screen bar.

    Recharge the battery in your Apple - Apple Support accessory

  • IPhone 6 - How will I know what apps are underway in the background?

    IPhone 6 - How will I know what apps are underway in the background?

    On multitasking on your iPhone, iPad and iPod touch - Apple Support

    Scroll to the bottom where he treats background App update!

    You can visit these settings under settings > general > background App update.

  • How will I know if my magic keyboard is in charge? And how know when it is done load so I can unplug the charger of lightning?

    How will I know if my magic keyboard is in charge? And how know when it is done load so I can unplug the charger of lightning?

    I remember reading that the charging time is about two hours.   If you have exhausted the battery it may well take longer.    After the period of two hours, he must run for about a month in any case if you could take the charger after 2 hours.    But I remember also as statements using the old MM1 mouse with rechargeable batteries Apple and stand-alone charger.    MIne has quickly reduced by about 14 days and now its down to 7 days.

  • How will I know if my Airport Extreme has the latest firmware?  And (not related) how to change the password used to connect to my network?

    I think I bought the latest version of Airport Extreme.  It is the unit which is rectangular, is about 6 to 7 w., etc.  I have some basic questions that I do not understand:

    1. How will I know if I have the latest firmware for this device?  I read a few posts that make it sound as if it was just automatically updates.  Is this true?

    2. can someone tell me how to change the password used to connect to my wireless network?

    Thank you very much!

    Chris

    If a firmware update is available, AirPort Extreme flashes orange.

    The most up-to-date version of the firmware is 7.7.3.

    You can see what version you currently have the following on your Mac...

    Open Finder > Applications > utilities > AirPort Utility

    Click on the image of the AirPort Extreme

    Look for the Version

    If the new firmware was available, you will see a button update here

    To change the wireless network password...

    Click on edit in the window smaller than you watched just to check the firmware version

    Click on the Wireless tab at the top of the next window

    Go back / change the wireless password and enter a new password

    Do the same thing to check

    Click Update at the bottom right of the window and give the airport a minute full for restart

  • How will I know if the Satellite A100-216 has a pad dual mode?

    Hello

    This week, I bought my laptop, and in the manual it says that some models of this series got pads dual rather than just a mouse pad. How will I know if my model is it?

    What I need to enable something, or would it just work automatically if it is on my laptop?

    If your touchpad does not resemble this:
    http://reviews.CNET.com/SC/31812922-2-440-DT1.gif

    you do not have the dual mode button.

  • How will I know if my songs are in the cloud using itunes game?

    I just purchased iTunes game.  How will I know if my songs are in the cloud?

    Hello

    Read this on iCloud library icons and status - Apple Support

    Jim

  • How will I know if my mini ipod 4th generation is in charge? The blinking not solid.

    How will I know if my Mini Ipod 4th generation is in charge.

    I plugged it in - the blinking not solid.

    It's an iPod shuffle, right?  Small place with design clip - on and no screen...

    Blinking light means DO NOT DISCONNECT, because the iPod disk is mounted by the system.  EJECT iPod (in iTunes) before physically disconnect the iPod.  If you eject , but leave it connected, the light becomes solid.  (Yellow or green) light means OK TO DISCONNECT.  When it is yellow, the battery charge.  When it is green, the battery is fully charged.

    NOTE: In the normal conditions of use, flashing light is always yellow; It's supposed to be a warning.  It does not indicate the State of the battery; never it flashes green.

Maybe you are looking for