Which one faster- With Rowid or PK

Hi,
Recently came across the concepts of IOT(Index organised table). It was mentioned that
You must specify a primary key for an index-organized table, because the primary key uniquely identifies a row. Use the primary key instead of the Rowid for directly
accessing index-organized rows. "
This surprised me as till date I was assuming that the fastest way to access the data from a table is by Rowid. Isn't this contadicting then?
Can the experts clarify more on these conceps related to IOT.
Rgds,
Aashish

what is the diff betn a Normal table with PK on some column and IOT with almost
the same structure?The difference is whatever is implied by that "almost".
Look, the purpose of index organized tables is to do away with a nugatory object when a table and and its primary key index - have basically the same structure. The classic example is the code lookup table, where the difference between the table's columns (code, code_descr) and its primary key (code) is a single column (code_descr). Nearly access of that table is going to be an indexed read on code to get the description. That usage makes it a good candidate for being an IOT.
Mere creation of PK on a column would give the same result.No. An index organized table is similar to creating an index on (code, code_descr) but without the need to maintain two sets of data. Furthermore the IOT allows us to include non-primary key columns without compromising our relational integrity.
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/

Similar Messages

  • I have a MacBook 6,1 and have a number of start up discs. How can I find out which one came with my model?

    I have a MacBook 6,1 and have a number of start up discs. How can I find out which one came with my model?

    They sometimes have that information on the label. Otherwise, it's trial and error. The model you have is a Late 2009 13" MacBook. It came with a special version of 10.6.1 pre-installed.

  • Can we unlock an iphone which one locked with an email address and password.I have no idea about the email address and password for the icloud

    can we unlock an iphone which one locked with an icloud email address and password.I have no idea about the email address and password for the icloud.can any one help me about this.

    It sounds like you are talking about an iPhone that has been Activation Locked.  This article explains:
    http://support.apple.com/kb/PH13695
    If so, the iPhone can never be unlocked without the original Apple ID and password.  This is an anti-theft measure.

  • Hey!!! Please I need help!.. I study architecture and I want to buy a Mac!.. which one and with what especifications do u recomend me??

     

    For what you'll be using it for, I would suggest going with the Macbook PRO 15' 2.6GHz.
    While you can use the Macbook PRO 15' 2.3GHz, for an extra $300, you'll be getting a faster processor, bigger hard drive and more RAM.
    It's a good idea to go with 8GB for whatever CAD program you'll be using.
    If you decide to get the 2.3GHz version, just make sure you up the RAM to 8GB.
    good luck...

  • Which one is faster loading type between Insert/Update and Update/Insert?

    Hi Gurus,
    Could anyone tell me which loading type faster between Insert/Update and Update/Insert?Any resolution and document reference would be grateful.
    Regards,
    Joni

    910575 wrote:
    Thanks Purvesh for your quick response..
    Yes you are right, we have to prefer sql rather than plsql. But if i have 1 lakh records to be inserted then my insert into select will do insert one by one that mean context switching is more to server i.e 1 lakh.
    If i use BULK COLLECT+ FORALL then in a single switch the lakh records will be inserted right?
    I agree that when we have less number of records to insert we can prefer insert into select, if we have huge data then why not FORALL ?
    You have just tested for 107 records, but in huge data it is different right?
    Thanks,
    VinodYou've misunderstood how it works, I think. When you do the "insert into ... select", Oracle works out what rows need to be inserted and does them in one fell swoop. That's 2 context switches only, with the bulk of the work being done by the SQL engine.
    When you do the BULK COLLECT + FORALL, you're telling Oracle to first identify the rows (that's two context switches straight off; one from PL/SQL to SQL and then back to PL/SQL again), load them into a collection, then loop through the collection and insert the records X rows at a time (which could be all records or whatever you set as the LIMIT on the FORALL) (again, with the context switching between PL/SQL and SQL and back again through each loop).
    Which one sounds like it does the least amount of work? Not the BULK COLLECT, right?

  • Which one is faster to move an internal table to other?

    Hi Gurus,
    Suppose I've two internal tables with same structures. Which one of the following statement works faster to move one table to another?
    1 . APPEND LINES OF ITAB TO JTAB.
    2 . JTAB[] = ITAB[].
    kindly help me out.

    hello,
       These two stmts are NOT the same !
    Appending does appending, adding to the existing ones
    where as the other one simply copies the content  .
    Assuming there are no prior entries involved, copying
    itab1[] = itab2[] is faster .
    ~ laxmi
    pls reward helpful answers

  • My drive recently had to be replaced with a new one installed by Apple they reinstalled all my stuff from my time machine. Most my programs had to be updated which I managed with a little help from my friends, but the last one that I can't solve is

    My IMAC OSX 10.6.8   2.8 GHz intelcore  2Duo 4GB 800 Mhz DDR2 SDRam recently had to have its hard drive replaced by apple thy actually had to give me a larger one because mine was no longer available,They also reinstalled all my programs and data from my 2 terrabite time machine back up. I got my system home and found that I had to upgrade most of my programs which I managed with a little help from my friends, but I still have one problem that I can't solve I have a Nikon Coolpix S6 that I have Been Syncing with my Iphoto since I've got it 3 years ago and now when I place it in the cradle the program reconizes it and says that it is going to start to import the new photos the little white wheel in the center of the screen starts spinning but nothing else happens. I checked all my connections and they are goog plus I even downloaded a nikon progam just to double check the camera & cradle and it works there but it wont pair off with my IPhoto.

    First go to iPhoto Preferences, look in both General and Advanced tabs to make sure that things are set to import from camera into iPhoto.
    Then if that doesn't help, connect the camera and open Image Capture in your Applications > Utilities folder and see if you can use Image Capture to reset the import path from the camera to iPhoto.
    Image Capture: Free import tool on Mac OS X - Macgasm
    Message was edited by: den.thed
    Sorry John, I didn't see your post when I clicked the reply button. Dennis

  • I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

    I created a slide show in imovie for my daughters 21st with voice overs from friends and family which was all working fine but now the voice recordings are not playing at all.  Obviously some setting has changed but I can't find which one.

  • Had difficulty with synching music. Music was deleted when I changed/added new info.  Had to start over.  So...I checked procedure and it say if you change anything, hit the apple button.  Which one?  Never had to do this previous to the new operatin

    I was having trouble with synching my iphone 5 since the new operating system was installed.  But I was waiting for my 6+ and figured it would be solved with my dandy new phone.  No such luck.  I downloaded a great deal of music and then added to it and synched again.  Music gone, except paid for stuff bought on the phone.  So I added more and tried to load it again, and it did.  But now, I was afraid to add anything, backup,  and synch for any reason as it takes 12 hours + to load my music.
    So, I went back to basics and looked up the procedure.  It does say that if you make a change, " you should hit the apple button before you synch."  Which one?
    No info on what they mean.  And clearly this is a change.  I'm feeling stupid, but lately, Apple makes changes and expects you to intuitively figure them out.  I usually do but was stumped here.  It might be nice to get a heads up when changes occur.
    Please help !
    Oh and also, I can't seem to download ringtones I have created. 

    I am syncing my iphone to my iTunes account and then I do a backup and also making sure all updates are current.  Then by going to the my phone and then going to the right and selecting the restore my iphone.
    Here is a picture of what I get

  • I accidentally set up two accounts.  One account with my old e-mail address which I've been using for years and has all of my purchases on it.  Now I have a new account with my current e-mail address. How do I disable this new account?

    I accidentally set up two accounts.  One account with my old e-mail address which I've been using for years and has all of my purchases on it.  Now I have a new account with my current e-mail address. How do I disable this new account?  I need to disable the new e-mail address account so that I can add it as an additional e-mail to my old account.  THEN, how do I make this new e-mail address my primary e-mail for this old account?

    Did yoo go to Settings>iTunes and App Stores and sign out and sign back in?
    Next see:
    Frequently Asked Questions About Apple ID

  • WiFi printer which can work with one cartridge also at a time (black or color) in a colour printer

    All-in-one (OfficeJet or Inkjet) WiFi printer which can work with one cartridge also at a time (black or color) in a colour printer.
    Even if colour cartridge is over, w/o replacing I can still print with black cartridge.
    Which printer is suitable.

    Since I upgraded to Firefox 19 from 18.0.2, on my Windows XP (SP3) laptop, I, too, can no longer open a new window. File-->New Window does nothing; also can no longer tear off a tab and open it in a new window (it stays where it is). Also, if I right-click on a tab and select Move to New Window, nothing happens. All of these worked fine in FF 18.0.2. All of these work fine with FF 19 on Windows 7. Only an issue on my XP laptop.
    After trying to open a new window, and not seeing the new window come up (and yes, I waited a long time), I decided to close my current window, which had multiple tabs open. Instead of just closing, it pops up the message reminding me that I'm about to close all those tabs. If I say close, and then go into the Task Manager, the Firefox application has disappeared (as expected), but the firefox (and plug-in container) processes are still running. So I have to manually kill the Firefox process to get it to quit. it's as if it thinks there is another Window open (the one I tried to open but never appeared). This happens every single time! I've restarted my laptop, and that does not resolve the problem.
    Is there a way to downgrade back to v 18.0.2 until this is fixed?

  • I just bought a new macair laptop and it doens't have idvd and I want to make a DVD slideshow with music.  I have an external CD drive. Is there an applicaation that apple has to do this?  IF I buy a used mac, which ones have idvd?

    I have a new macair laptop and it does not have idvd. It has a flashdirve instead, so no internal CD drive though I bought an external one. I'm wanted to make a DVD slide show with music and I was told I can't do that in order to play it on a dvd player. Does Mac have an appication to buy that can do the same thing? I thought I saw one for $39.95 but not sure if it will do this. The apple store did not know for sure. Also, if I bought a used mac laptop, which ones will have the idvd installed on it?
    Thanks,
    Phyllis

    It is now apparent that iWeb, and iDVD, will no longer be supported by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD. 
    Other users have complained to Apple via Apple via http://www.apple.com/feedback/idvd.html and/or http://www.apple.com/contact/ and have received a boxed copy of iLIfe 11.  Give it a try. In the meantime the following maybe of interest:
    iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    All of these issues can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    Apple has announced that iLife is now an unsupported product and those iApps will only be available thru the App Store from now on. However, the boxed iLife 11 at the online Apple Store (Store button at the top of the page) and those still on the shelves of retailers will include iWeb and iDVD. Those two apps were listed in small, gray text on the iLife 11 box that I bought. Personally, if I already didn't have a copy I would purchase one to have it for reinstallation purposes if ever needed.
    OT

  • With multiple Oracle Clients how do you know which one ADO is using

    Currently using Oracle client 8.1.7 to connect to a 10g database with the following connection string.
    Driver={Microsoft ODBC for Oracle}; CONNECTSTRING=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=10001))(CONNECT_DATA=(SERVICE_NAME=Falcon2))); uid=Falcon;pwd=*******;"
    If I add a second, newer client, how do I tell ADO to use the newer client?
    Thanks,
    Dave

    Go to icloud.com, sign into each of your iCloud accounts and see which one(s) contain your data.

  • Creating a template in Pages is straight-forward as answered here previously. Is there and equivalent for iBooks Author which can start with a blank page and build up the template as required? or can one only adapt a ready made template?

    Creating a template in Pages is straight-forward as answered here previously. Is there an equivalent for iBooks Author which can start with a blank page and build up the template as required? or can one only adapt a ready made template? This has proved unsatisfactory to me so far. Lines are left in etc.

    There are two basic menus for fonts - one from the main menu bar and one from the toolbar. You can also bring up the font manage dialog.
    I don't recommend trying to hard to force an otherwise foreign font, as it inevitably needs to be usable/supported on iOS as well, and that can get tricky w/3rd party fonts, as an example, even with the expanded font support in the latest iBA.
    If you need to discuss fonts more, I suggest starting a new thread....preferably with a slightly more brief title, thanks.

  • TS1544 I am the administrator of my MacBook Pro, which I share with my kids. One of them forgot his password, so as the admin I changed it for his account, but  when I try to see his account, it says I need to provide the keychain password. How can i get

    I am the administrator of my MacBook Pro, which I share with my kids. One of them forgot his password, so as the admin I changed it for his account, but  when I try to see his account, it says I need to provide the keychain password. How can i get it? I have no idea how to sort this out...

    First, make sure caps lock is not on.
    You must back up all data before continuing, unless you've already done so. If you need to back up but can't log in, ask for instructions.
    If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe the Apple ID can be used to reset your user account password.
    Otherwise*, boot into Recovery mode. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window opens.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
    Select
     ▹ Restart
    from the menu bar.
    You should now be able to log in with the new password, but your Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it.
    *Note: If you've activated FileVault, this procedure doesn't apply. Follow instead the instructions on this page:
    If you forget the password and FileVault is on

Maybe you are looking for