What is the difference betwwen SELECT ALL Column and Select Speceific Colum

Hi All,
If the block size of the database is 8K and average row length is 2K and if we select all column of the table the I/O show that it had read more blocks then compare to
specific column of the same table. Why is this?
Secondly if Oracle brings a complete block is the db buffer cache, while reading block from disk, they why there is a difference of block count in two queries.
This difference reveals to me when I check the EXPLAIN PLAN for two different queries against the same table but one select all columns and the other one select specific column.
Kindly help me in clearing this confusion.
Regards,
Kamran

user1514587 wrote:
>
Usually, indexes are smaller (contain fewer blocks) than the table - ergo, select empno from emp could be satisfied by reading fewer blocks.
what if there is a composite Index on a table containing 3 to 4 columns and the size of table is in 100 of GB and Index size itself is vey large then I think Oracle will go for FTS and small Index scan will be expensive. Kindly Share your thoughts.
Regards,
KamranHandle:     user1514587
Status Level:     Newbie (5)
Registered:     May 9, 2011
Total Posts:     21
Total Questions:     13 (12 unresolved)
I think you wastes everyone's time here since you rarely get answer to any posted question

Similar Messages

  • What is the use of for all entries in select statement

    what is the use of for all entries in select statement

    hi,
    FOR ALL ENTRIES is an effective way of doing away with using JOIN on two tables.
    You can check the below code -
    SELECT BUKRS BELNR GJAHR AUGDT
    FROM BSEG
    INTO TABLE I_BSEG
    WHERE BUKRS = ....
    SELECT BUKRS BELNR BLART BLDAT
    FROM BKPF
    INTO TABLE I_BKPF
    FOR ALL ENTRIES IN I_BSEG
    WHERE BUKRS = I_BSEG-BUKRS
    AND BELNR = I_BSEG-BELNR
    AND BLDAT IN SO_BLDAT.
    *******************************8
    look another example
    what is the use of FOR ALL ENTRIES
    1. INNER JOIN
    DBTAB1 <----
    > DBTAB2
    It is used to JOIN two DATABASE tables
    having some COMMON fields.
    2. Whereas
    For All Entries,
    DBTAB1 <----
    > ITAB1
    is not at all related to two DATABASE tables.
    It is related to INTERNAL table.
    3. If we want to fetch data
    from some DBTABLE1
    but we want to fetch
    for only some records
    which are contained in some internal table,
    then we use for alll entries.
    1. simple example of for all entries.
    2. NOTE THAT
    In for all entries,
    it is NOT necessary to use TWO DBTABLES.
    (as against JOIN)
    3. use this program (just copy paste)
    it will fetch data
    from T001
    FOR ONLY TWO COMPANIES (as mentioned in itab)
    4
    REPORT abc.
    DATA : BEGIN OF itab OCCURS 0,
    bukrs LIKE t001-bukrs,
    END OF itab.
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    itab-bukrs = '1000'.
    APPEND itab.
    itab-bukrs = '1100'.
    APPEND itab.
    SELECT * FROM t001
    INTO TABLE t001
    FOR ALL ENTRIES IN itab
    WHERE bukrs = itab-bukrs.
    LOOP AT t001.
    WRITE :/ t001-bukrs.
    ENDLOOP.
    Hope this helps!
    Regards,
    Anver
    <i>if hlped pls mark points</i>

  • What is the difference between qued delta  update and serialized delta upda

    what is the difference between qued delta  update and serialized delta update?

    Hi Ks Reddy,
    Queued Delta:
    In case of Queued delta LUW's are posted to Extractor Queue (LBWQ), by scheduling the V3 job we move the documents from Extractor queue to Delta Queue(i.e. RSA7) and we extract the LUW's from Delta Queue to BW side by running Delta Loads. Generally we prefer Queued Delta as it maintain the Extractor Log which us to handle the LUW's which are missed.
    Direct Delta:
    In case of Direct Delta LUW's are directly posted to Delta Queue(i.e. RSA7) and we extract the LUW's from Delta Queue to BW side by running Delta Loads. If we use Direct Delta it degrades the OLTP system performance because when LUW's are directly posted to Delta Queue (RSA7) the application is kept waiting untill all the enhancement code is executed.
    Non-serialized V3 Update:With this update mode, the extraction data for the application considered is written as before into the update tables with the help of a V3 update module. They are kept there as long as the data is selected through an updating collective run and are processed. However, in contrast to the current default settings (serialized V3 update), the data in the updating collective run are thereby read without regard to sequence from the update tables and are transferred to the BW delta queue.
    https://websmp102.sap-ag.de/~sapdownload/011000358700007535452002E/HOWTOCREATEGENERICDELTA.PDF (need id)
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/frameset.htm
    Business Intelligence Performance Tuning [original link is broken]
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    How to load data
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    Delta Types and methods;&#57245;
    Hope this helps.
    ****Assign Points if Helpful*****
    Regards,
    Ravikanth

  • What is the difference between Safari 6.0 and 6.0.2?

    What is the difference between Safari 6.0 and 6.0.2?

    here is a copy of the text from Software Update
    Safari 6.0.2 is recommended for all users running OS X Lion v10.7.5
    and includes security updates.
    For more information, please visit: http://support.apple.com/kb/HT1222

  • What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?

    Hi All,
    What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?
    Thanks in Advance!

    Hi,
    Both are developed with .NET framework, per my knowledge, the biggest difference would be the environment they applied to: one for Windows platform, one for SharePoint platform:
    http://msdn.microsoft.com/en-us/library/vstudio/ms733615(v=vs.90).aspx
    http://msdn.microsoft.com/en-us/library/office/ms446847(v=office.14).aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • What is the difference between Condition Type PB00 and PBXX

    Hallow all,
    Can anybody please explain, What is the Difference between Condition type PB00 and PBXX in Materials Management Pricing?
    And also please explain control or Application of both on Price determination ??
    Thanks in Advance !!!!!

    Hi,
    PB00 condition type is used for automatic pricing in PO
    PBXX condition type is used for manual pricing in PO
    In Pricing  access sequence  play a vital role . If you need pricing automatic in the PO, you have use of Access Sequences and Schema Group of Vendor.You can see the difference in both standard condition type PB00 and PBXX, where as PB00 is assigned to Access sequence(0002)but in case of PBXX no access sequense assigned.
    Regards,
    Biju K

  • What is the difference between version 4.7EE and ECC 5.0

    DEAR EXPERTS
    what is the difference between version 4.7EE and ECC 5.0?WHAT ARE THE ADDITIONAL FUNCTIONALTIES IN
    ECC 5.0?

    hi,
    Diff between 4.7 and ECC 5.0:
    1. 4.7 is on R/3 platform, while ECC 5.0 is on mySAP ERP 2004
    2. ECC 5.0 is having ESA(enterprise Serviceoriented Architecture)
    3.ECC 5.0 is web enabled with Netweaver technology.
    mySAP ERP is the "newer" ERP with numbering conventions like ECC (which stands for ERP Central Component) 5 or 6
    mySAP (aka mySAP.com) Business Suite contains Solutions like CRM, SCM etc. The important thing to note here is that this contains mySAP ERP, the one above
    mySAP All-in-One Solution is designed for smaller companies (the ad that says SAP is not just for large companies but for great companies where the above mentioned functionality is scaled down and is made to run on one database on a PC type of setup as opposed to the full blown architectures on which SAP traditionally set to run

  • What is the difference between quicktime 7 pro and quicktime x

    What is the difference between quicktime 7 pro and quicktime x

    QuickTime Pro 7 is a very useful video tool.  You can make simple edits to video files, cut-n-paste multiple video files together into one, save the video or transcode it into a variety of common video formats, use it to analyze a video to see which codec it's in, and even play videos in professional settings.
    QuickTime X is completely useless.
    With QT X and Final Cut X, Apple has completely abandoned the professional video market.  Both of these software packages are dumbed down for Windows users, and are intentionally designed to anger and alienate the professional user that has come to rely on Apple software for their video needs over the last 20 years.  Final Cut X is really just iMoviePro. If I wanted iMovie, I'd use iMovie, but I need a professional video app, not a kiddie video app.  Therefore I can not use FCPX.
    I have work to do, under strict deadlines and budget limits.  FCPX and QTX actively prevent me from getting any work done at all.  Apple has left me no choice.  I have to go back to Adobe Premiere or Avid Media Composer since these are still professional applications.  Final Cut and QuickTime have been turned into kiddie-style iMovie-like apps that have no functionality whatsoever.
    Apple is heading in a very disappointing direction.  They have a history of cutting off legacy items without notice.  They have decided that optical media is over and everything is online.  But my clients don't have that luxury.  I still have to deliver products on DVD and increasingly Blu-Ray.  Apple's obstinate refusal to support Blu-Ray has cost me clients, and I've had to resort to third-party software and hardware.
    Apple has abandoned the professional video market.

  • What is the difference between organisation payment method and Assignment payment method?

    What is the difference between organisation payment method and Assignment payment method?
    As i am a new bie, i am curious to know this though it might sound a silly question.
    Thank you,
    Kuton

    You can create an Organization payment method of any Payment type(Cash, Check, BACS, NACHA etc) under the same country.
    All these will be valid payment methods on the payroll description form.
    And you can even attach these to a person.
    In which case you will have a Base currency (say USD) and payment currency (say GBP).
    These cases are not normal and only used by people who use a single BG for paying employees in 3-4 countries.
    So, unless you need to pay in different currencies, do not use it.
    Cheers,
    Vignesh

  • What is the difference between lock mode E and X.

    what is the difference between lock mode E and X.

    Hi
    The lock mode controls whether several users can access data records at the same time. The lock mode can be assigned separately for each table in the lock object. When the lock is set, the corresponding lock entry is stored in the lock table of the system for each table
    Lock modes:
    S (Shared):
        Several users (transactions) can access locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock set on an object that already has a shared lock will be rejected.
    E (Exclusive).
    An exclusive lock protects the locked object against all types of locks from other transactions. Only the same lock owner can reset the lock (accumulate).
    X (eXclusive non-cumulative):
      Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. Each further lock request will be rejected.
    O (Optimistic):
      Optimistic locks initially behave like shared locks and can be converted into exclusive locks.
    If it is helpful rewards points.
    Regards
    Pratap.M

  • What is the difference between saving to "Documents" and "Macintosh HD" and when should you use each one?*

    What is the difference between saving to "Documents" and "Macintosh HD" and when should you use each one?

    When you save to the folder with the little house icon, the file is placed at
    /Users/your_user_name/
    You would really have to go out of my way to save at:
    (the shortcut for the Boot Drive, regardless of its name).
    I am not sure how you decided that Time Machine is not saving your files. The default is for Time Machine to do incremental Backups of everything on all attached drives, except for certain temporary information in Cache files. If you have four Users, Time Machine will back them all up.
    Looking at the raw Time Machine backups will tell you very little, because it does lots of its work with Hard Links, and because it does incremental backups, so only files that changed since the last Backup are saved at thet cycle. The way to determine whether Time Machine is saving things is to display the window you care about in the Finder, then invoke the "Star wars"/ "Back, back, back in time" Interface.

  • What is the Difference between Price List , Modifier and Qualifier ?

    Hi All,
    What is the difference between Price List , Modifier and Qualifier ?
    What are tables affected and joins ?
    Thanks in advance

    Hi Selva,
    If you look at the parameters,you can see more options in GRID.The following are those extra options which you cannot see in LIST.
    I_CALLBACK_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IT_ALV_GRAPHICS =
    IT_ADD_FIELDCAT =
    IT_HYPERLINK =
    I_HTML_HEIGHT_TOP =
    I_HTML_HEIGHT_END =
    IT_EXCEPT_QINFO =
    If the caller specifies an EXIT routine, this routine must have the following form:
    FORM top_of_page.
    Module REUSE_ALV_COMMENTARY_WRITE can then be called within the EXIT routine. This module is responsible for formatting the header information and also ensures online HTML formatting. In the print preview or in batch mode, the text passed is then output in the normal format.
    If module REUSE_ALV_COMMENTARY_WRITE cannot be used, you must use two parameters instead. In I_CALLBACK_TOP_OF_PAGE you pass the form routine that is responsible for normal formatting in batch mode or in the print preview mode. The form routine that is responsible for online formatting, is passed in parameter I_CALLBACK_HTML_TOP_OF_PAGE. If one of these parameters is not filled, top-of-page is not output in the respective mode.
    In function module documentation,if you click those parameters,you can see the explanation.
    If you need more information,get back.Otherwise,kindly close the thread by rewzarding points for useful replies.
    Mueksh Kumar

  • What is the difference between generate partner profile and creat partner

    What is the difference between generate partner profile and creat partner profile ?

    Create Partner ProfilesAlthough partner profiles are usually created automatically, because of the unusual inbound and outbound profiles needed on the same system, the manual generation of certain profiles is required.
    The following subsections describe the partner profile settings for the standard client (assumed here to be ALExxxCyyy), as well as for the corresponding dummy client (assumed to be DUMxxxCyyy). The dummy client partner profiles should have been generated by the automatic generation process completed previously. Nevertheless, these should be checked to ensure that all profiles exist.
    Generation of Partner Profiles
    The following messages should be added to the 4xx-ORDR model for ALExxxCyyy to DUMxxxCyyy on the reference client:
    • ORDERS
    • ORDCHG
    • ZINVRV
    • ORDRSP
    • INVOIC
    • FIDCMT
    • The partner profiles should first be generated using the standard auto-generation procedure on the reference client (for SYNCH messages to be created).
    • This model should now be distributed to the both ALExxxCyyy and DUMxxxCyyy.
    • The partner profiles should now be generated on the client being configured (i.e. yyy) using the auto-generation procedure defined in the standard ALE configuration procedures.
    Generate partner profiles for sending system. (Can only do this if at least 1 message type exists against the sending system's LS). This automatically generates the port if the LS and RFC name are the same.
    generate partner profiles tcode BD82
    creating partner profiles tcode WE20
    &#61550; There are two methods for maintaining the partner profile:
    &#61664; Maintain partner profile manually:
    To navigate to the partner profile in the sender system, choose Partner profile -> Partner type of Logical System and click on the required Target system. Under Outbound parameters, choose the Create outbound parameters icon, and enter the values for the outbound parameters according to the slide Sender: Partner Profile (outbound).
    To navigate to the partner profile in the sender system, choose Partner profile -> Partner type of Logical System and click on the required Sending system. Under Inbound parameters, choose the Create inbound parameters icon and enter the values for the inbound parameters according to the slide Sender: Partner Profile (inbound).
    &#61664; Generate partner profile:
    Prerequisite: The current distribution model is distributed to all participating systems.
    In the sender system, choose: Generate Partner Profile, then check the result in the partner profile (outbound)
    In the sender system, choose: Generate Partner Profile, then check the result in the partner profile (inbound)
    Regards
    Vasu

  • What is the difference b/w slis_t_fieldcat_ alv and slis_fieldcat_ alv ,wha

    hai this is Shilpa Priya
    i have few doubts to clarify
    1) what is the difference b/w slis_t_fieldcat_ alv and slis_fieldcat_ alv ,what they are meant for
    1)what is the difference b/w slis_t_events and slis_alv_events ,what they meant for
    1) this is question asked in wipro interview whats the name of the company CARITOR before 2002 yr.
    Plz help me in getting correct explanation.
    Thankq

    slis_t_fieldcat_ alv is used to create a fielcatlogue table while slis_fieldcat_ alv is used to create a work area which can be used to append data to the table.
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: line_fieldcat TYPE slis_fieldcat_alv.
      CLEAR line_fieldcat.
      line_fieldcat-fieldname = 'QMNUM'.    
      line_fieldcat-tabname   = 'I_DATA'.    .
      line_fieldcat-key       = 'X'. 
      line_fieldcat-seltext_m = 'Notification No.'.
    <b>  APPEND line_fieldcat TO i_fieldcat.</b>
    Similarly slis_t_events is used to create the table and slis_alv_events is used for work area.
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • What are the differences between a trial version and a licensed copy of RoboHelp?

    What are the differences between a trial version and a licensed copy of RoboHelp? How is original Robohelp software useful compared to the evaluation version (freely downloaded software)
    Thanks.

    Welcome to the forum.
    The only difference should be that the trial is limited to 30 days use. All functionality works and nothing is watermarked Trial or suchlike.
    The trial of the standalone version allows you to link to FrameMaker documents. It should not and that feature will be disabled if you proceed with the full version. Other than the time limitation, that is the only difference.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for