Question which really disturbs you

Hi experts,
I have a question which is really tempting me to ask somebody. But due to its
silly nature I never ask anyone. anyway im posting it now.
I'm inserting million of rows in a table which generates enormous Redo records
which makes redo buffer to fill. At one stage( possibly 1/3'rd of redo buffer) it is transferred to redologs, i.e. even uncommited transaction also gets logged in it.
I didn't commit any transaction untill now. My transaction never ends, i continue to insert more and more million records which makes the redolog file to fill and tends to switch the logfile. My database is in archive log mode.
my question is,
1. whether the uncommited transaction is written to archived logs.
2. what will be the status of the controlfile at this point of time.
3. If i issue rollback, will i retrieve data from undo.
4. How is the transaction gets synchronized in database.
please reply me
Thanks
SM

Oracle will 'empty' the redo buffer to theredo log file:
- when it has filled to 1M
- when it is 1/2 full
- when a commit happens
- every 3 seconds
- when the DBWR is called to move out dirty blocks.
This is documented at
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm#i7261
One of the benefits - we can minimize the time required to return from a commit request.
Remember that a commit request is simply a confirmation that the last remaining portion of a transaction's redo has been written to the redo log file. Once the commit has returned, we know that the redo information is safely tucked away, so other processes can use the resources we had been using.
(At the same time - we do not 'release' any resources as part of a commit. Others will come along and look whether the resources are in use, will note that we no longer need them, and will release the resources for us. So a commit can happen really fast.)
One common myth is that the tablespace's data files are important. They are nothing more than a backup (or materialized view) of the most recent contents of the database buffer cache plus any changes in the redo log file. By calling up the backup in the data files, we can avoid recreating a block from the initial format state and applying all redo. In an extreme case (called crash recovery) we actually do use a previous known image of the database blocks and apply redo.
Oracle will create an archive copy of a redo log after switching from the redo log and before reusing it. It does not matter whether a commit has happened.
During a transaction, the person making a change updates the block in place. A copy of the before image of the changed parts of the block (changed parts of the row) is placed in the UNDO or ROLLBACK area. Therefore, when a commit happens, the change is already in the block.
When a person 'A' wants to roll back, the block is rebuilt to the 'start of transaction' state. This is expensive - Oracle is built on the assumption that commits must be fast and commits happen a lot more often than rollbacks.
If person 'B' starts a a long query (say a table scan) on the same table as person 'A' is updating, but the scan gets to the block after person 'A' has updated the block, a 'consistent read' copy of the block will be created and the rollback will be applied to tyhe block. This ensures that person 'B' will always see the block the way it looked when his query started.
This consistent read process fails with an ORA-01555 "snapshot too old" error, if:
- person 'A' has committed before person 'B' could rebuild the block, and
- there is not enough rollback space to keep person 'A's undo lying around, and
- someone else grabbed the rollback because they needed it for an update.

Similar Messages

  • CHALLENGING sync question - which one of you Pro's is up to it?

    I have my iphone set to sync with my calendar and contacts from Outlook '07 and my bookmarks from Internet Explorer. The bookmarks sync perfectly - if I add one on Iphone it puts it into IE and vice versa. Outlook is another story though. It used to sync every time, now not at all. The appropriate boxes are checked in itunes, I have tried the "reset sync history," technique. Tried deleting other 3rd party addins in Outlook, and tried reinstalling itunes. It is almost as though itunes is not looking in the right place for the sync. Is this possible? How can I find out / change where itunes looks for Outlook data? I need a real pro for this question!

    After many pulled hairs and bumping around into all sorts of Fixes, I finally found the correct fix. I hope this helps somebody else.
    Upon boot, I kept receiving a message that "mapi32.dll" was not found. It didn't seem to affect anything, or so I thought. Outlook worked normally - Itunes worked normally. On a whim, I decided to go to a WinXP help forum and search "mapi32.dll." A suggestion was to click start > run > type "fixmapi.exe>" You guessed it - that did the trick. Outlook and Iphone are now happily married and I can start regrowing hair!

  • Which library do you want Aperture to use?

    I always get the question "Which library do you want Aperture to use?" when I start Aperture.
    Switch to Library only shows libraries I've used since I started Aperture. The list is empty if I restart Aperture.
    Why?
    I have re-installed Aperture, verified disks and permissions, repaired and rebuilt libraries, but nothing has helped so far.
    I have other issues too that might have connection to this one. See http://discussions.apple.com/thread.jspa?threadID=2559320&tstart=0 for a description.
    Thanks!

    Not too sure what is causing this for you, however here is a work around.
    Place your library in the dock and rather than launching Aperture via the Ap icon, click on the library icon, this additionally has the benefit of making it easy to choose which library you would like to open.
    Some more questions for you;
    1. Are you logged in to your Mac with an administrator account?
    2. Is Aperture sitting at the top level of the Applications directory?
    3. Get info on your System and library drives, in sharing and permissions do you have read and write privileges?
    4. Where is your library located, is it outside the "Users" folder structure? Aperture defaults to placing it within the picture folder for a user, this folder will not be available with full privileges to all users.
    HTH
    Tony

  • I know my Apple ID (an email and pass code) good,but really I forgot answers the security questions (2-questions) which verify my identity.I can not complete any purchase process for iTunes from another device for example (my personal computer)

    Hi,
    I know my Apple ID ( an email and pass code ) good, really
    I forgot answers the security questions,which verify my identity,
    So it is difficult to complete the purchase process for iTunes Store
    On my PC-FUJI'S,I use Windows Vista home premium as Operating
    System,so reset my secure questions and the answers of course,
    If you please.
    With my respect,
    A signature,
    Mahmoud Fouad El Deeb.

    Hello Mahmoud,
    The steps in the articles below will guide you in setting up your rescue email address and resetting your security questions:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    If you continue to have issues, please contact our Account Security Team as outlined in this article:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Just fancy asking some questions which i have never really thought about

    I just fancied asking some basic questions which i have never really thought about, but suppose i should know.
    The first one is:
    A java program is executed through the main method
    public static void main(String[] args)So this method is passed a String array but i never pass the array to it, so who does?
    And secondly, you can have variables of type int and variables of type Integer. What is the difference?
    thanks

    I'll take a stab with some overly-simplistic answers. Corrections most welcome.
    A java program is executed through the main method
    public static void main(String[] args)So this method is passed a String array but i never pass the array to it, so who does?The OS passes the parameters to the JVM and the JVM calls the main method with the parameters from the OS.
    And secondly, you can have variables of type int and variables of type Integer. What is the difference?Integer is a wrapper class for the primitive int type. It allows you to use int-type concepts in places where an Object is required. But don't over-use these as there is a memory and performance overhead that must be taken into consideration.

  • HT5312 i forgot the answer to my security question which was required by apple to purches an app.. i would appricate any advice on what i should do.   thank you. Truong Thanh Cong

    i forgot the answer to my security question which was required by apple to purches an app.. i would appricate any advice on what i should do.
    thank you.
    Truong Thanh Cong

    I had this same problem.
    Go to http://expresslane.apple.com.
    hit iTunes
    hit itunes store
    hit account management
    hit forgotten AppleID security questions.
    hit continue and enter your phone number
    apple support will call you and guide you through the reset process

  • HT5312 i forgot the answer to my security question which was required by apple to purches an app.. i would appricate any advice on what i should do.   thank you

    i forgot the answer to my security question which was required by apple to purches an app.. i would appricate any advice on what i should do.
    thank you.
    Mosab azdein

    Hi Mva,
    If you set up a Rescue email address:
    Go into Manage Your AppleID, https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/, select Password and Security, and click the first option (see below), and you will be able to proceed from there..... (I HOPE the first button is showing for you!)
    Reset your password
    You can change or reset the password for your Apple ID account by providing some information.
    Select your authentication method.
    Email authentication: To access your information, we will send an email to the rescue email address on file for you.
      Answer security questions: To access your information, you will need to answer the security question(s) provided when you originally created your Apple ID.
    If you did not set up a Rescue email address:
    1. Go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
       Then select 'iTunes Store', and on the next screen select 'Account Management'
       Next choose 'Apple ID Account Security' and fill in that you'd like your security   
       questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)
    2. Once your questions have been reset, and you set up new ones, also set up a RESCUE EMAIL ADDRESS, so if you forget them again, you won't have to go through all of this.....
    Hope this helps!
    Cheers,
    GB

  • Guys, i keep trying to purchase some songs on itunes, and it keeps asking me to answer security questions, which i have forgotten, so it says it has sent an email to me, so i go to my email and its not there! anyone have any ideas? this is really ANNOYING

    guys, i keep trying to purchase some songs on itunes, and it keeps asking me to answer security questions, which i have forgotten, so it says it has sent an email to me, so i go to my email and its not there! anyone have any ideas? this is really ANNOYING

    You can try here with manage your account
    http://www.apple.com/support/appleid/
    I had mine mess up a few months ago and tried to get the e-mail three different times and it never came. I ended up scheduling for a tech to call me to figure it out.

  • I have a new Iphone 4 and trying to down load apps however it asks me to update my 3 security questions, which I do, and then it says you have timed out. Any help?

    I have recently purchased an IPhone 4 and trying to download apps. However it continues to ask me to update my 3 security questions, which I do. As soon as I am finished, I get the message "timed out". Does anyone know how to fix this?

    Follow the directions here:
    http://support.apple.com/kb/HT2109

  • When I try to download songs from itunes it says I have to answer my security questions(which i made a year ago) I can't remember them, and I can't get on my email to reset the questions.. please help ASAP!

    I recieved an ipod 5 for a early christmas present a day ago, I already owned an ipod 4 so i just used my info from that ipod as a back up for my 5g. but now when i try to download music from itunes it says i must use my security questions (which i made over a year ago) I can't remember the answers and i can't get on the email that it sends the reset info to. i don't know what to do and its really frustrating. please help ASAP!

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    Whichever method you use, you probably won't get a response until the 26th. If you absolutely must make a purchase before then, create a new Apple ID; you won't be able to transfer previous purchases or iTunes Store credit to it.
    (95471)

  • Hard drive duke out...which one would you put your life on the line for?

    As far as SATA drives go only...
    Seagate 320 gig Barracuda (ST3320820AS) vs. Samsung 320 gig HD320KJ vs. factory WD/Apple 250 gig drive. All about the same age (3/07) except for the Apple 250 which is about 8/06.
    Which one would you choose for your main drive?
    Thanks a bunch!

    Everybodys milage seems to vary with Hard drives as does the current quality of certain manufactures. Personally I've been burned numerous times on Seagate drives but that could simply be my luck of the draw. What is really more important is how you use specific drives vs their reliability.
    I have a RAID 5 Linux server in my rack for my major archiving. That server has been built with Raptor OS drives (Small ones, 36Gb) as all it has is FC5. The RAID array is built from much cheaper (per Gb) 500Gb WD Caviar drives. In my configuration this comes to about 1.25Tb of RAID 5 storage. I can sustain a full drive failure without losing my data. I can also lose my OS drive, buy an new one, Install Fedora 5 again, and my RAID will still be there. (I've backed up the critical files necessary to support this and I've tested it. It works.)
    My MacPro is just about to be rebuilt. I got a Hitachi Ultrastar from Newegg.com
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822145164
    I have 4x500Gb WD drives in my Pro configured to be a RAID 1 from 2 1Tb logical volumes. I plan on using this for quick local archive of projects as yanking a 50Gb project from there is still much faster than off my RAID 5 plus my RAID 5 is quickly getting filled from my photography work so I'm using the RAID 1 for my video work. In addition to that, I have a Firewire 800 1TB external drive to run on TimeMachine and back up all my working files on my new OS drive. If I sound paranoid. I am. Just remember no matter WHO's drive you buy, it is, in the end, not a question of IF it might fail, but WHEN. You should plan your work environment expecting your drives will fail and then make sure you have enough backup that you can recover from that. One could argue there may be holes even in my backup plan. There are, but in the end, I can recover everything, baring my home burning down. (and actually I'm covered for that, all be it the latency in the backup is probably on a 2 week cycle).

  • Canon EOS-1D X vs. EOS-5D MK III - Which camera do you prefer ?

    Canon has two excellent full frame cameras occupying their higher end of the DSLR market. They are the EOS-1D X and the EOS-5D MK III. I have been using Canon equipment for about 25 years now and started with the EOS-1 series when it first came out in 1989 and the EOS-5 series when it first appeared on the market in 2005.
    I am a Wildlife and Travel photographer and have used both cameras extensively out in the field. The two questions I get asked the most are, which is a better camera and which one do you prefer? My answers are always the same two questions, what type of photography are you shooting and how much do you want to spend? This analysis will not have photos, charts and graphs and assumes the reader is already familiar with Canon equipment. It will get straight to the point on my opinion of the two cameras from the viewpoint of a photographer out on photo shoots.
    First, let us compare the major specs of the two cameras, EOS-1D X vs. EOS-5D MK III :
    Sensor Resolution :  18.1 MP  vs.  22.3 MP
    ISO Sensitivity :  100 - 204800  vs. 100 - 102400
    Processors :  Dual DIGIC 5+ and 1 DIGIC 4  vs.  One DIGIC 5+
    Recording Media :  Two CF slots  vs.  One CF and One SD slot
    Viewfinder :  0.76X  vs.  0.71X
    Burst Rate :  14 fps  vs.  6 fps
    Autofocus :  61-AF points  vs.  61-AF points
    Cycle Count :  400,000  vs.  150,000
    DxOMark Sensor Score :  Overall - 82  vs.  81
    Low Light Performance :  2786 ISO  vs.  2293 ISO
    Weight and Dimension :  6.2 x 6.4 x 3.3 @ 3.37 lbs  vs.  6.0 x 4.6 x 3.0 @ 2.1 lbs.
    List price :  $6,799  vs.  $3,499
    Both cameras are excellent performers out in the field. The 1D X is completely weather sealed and can stand up to most conditions. AF is lighting fast and high ISO performance are superb and as you can see from the specifications above, they are almost evenly matched in performance but the EOS-1D X edges out the EOS-5D MK III in Sensor Score, Low Light Performance, burst rate and cycle count, while the 5D MK III has an edge in pixel count. So, going back to the original questions posed to me :
    Q : Which is a better camera ?
    A : They are both great cameras in their own right. If you are primarily a Wildlife photographer, the obvious choice is the EOS-1D X. It comes through for me under extreme conditions with little fuss and stands up to harsh use but if you are into Portrait and Landscape photography, the higher megapixel count in the 5D MK III will allow a slightly more robust cropping and lends itself to very big photo prints.
    Q : Which camera do you prefer ?
    A : If I were strictly a Landscape or Portrait photographer, I will pick the EOS-5D MK III. A photographer shooting both Wildlife and Landscape/Travel will do better with the EOS-1D X.
    Q : Which camera is the better value (price dependent) ?
    A : Without a doubt, I have picked the EOS-5D MK III as the best value in full frame DSLR camera on the market today.
    Q : Which is a better camera, overall ?
    A : Without another doubt, the EOS-1D X excels in all categories but at a price some may not want to, or cannot afford. Good, used ones will appear on the market eventually.
    Q : Which camera would you buy (price dependent) ?
    A : The Canon EOS-1D X represents the pinnacle of Canon's camera technology. There is really no substitute to shoot with the latest 1D. The performance, feel and ruggedness of the camera exudes confidence. I have not bought the EOS-5D MK III because I still own the original 5D and I have the EOS-1Ds MK III as well. So, there is little room in my equipment bag for another full frame camera but the price of the 5D MK III is now down to $2,600 on eBay (limited quantity) and is tempting me by the day.
    For full details on each camera's specifications, visit the Canon USA website. For a detailed analysis on the EOS-1D X, visit this page. You can visit MichaelDanielHo.com to see photos taken with all the cameras.

    I went through the same drill - came down to $3300 extra for 14 vs 6 fps.  I bought the 5DIII.

  • I am trying to purchase an app and when i try ti it tells me to login. When I log in it ask me security questions which I don't even remember the answers to. I put, "forgot answers" and it told me to check my email but I don't receive it.

    I am trying to purchase an app and when I try to it tells me to login. When I log in it ask me security questions which I don't even remember the answers to. I put, "forgot answers" and it says, "we can help you reset your security information by sending a message to your rescue email address: [email protected]" I only have one email and thats on Yahoo. i still click send email button and it tells me to check my email but i dont recieve anything. please help me

    That's not a good sign if it said it was going to send it to an email address you've never heard of. Contact iTunes Support and let them know this: http://apple.com/support/itunes/contact/

  • TS3297 I have an iPhone and recently bought an iPod 4 touch what l am using the same apple ID for. The iPod won't let me download songs from iTunes it is asking me security questions which I don't think I have put answers to in the first place.

    I have an iPhone and recently bought an iPod 4 touch what l am using the same apple ID for. The iPod won't let me download songs from iTunes it is asking me security questions which I don't think I have put answers to in the first place, because of this it won't let me buy any songs on iTunes

    It's probably asking you to verify the security code found on the back of your credit card.
    Regards.

  • HT5312 So I have a problem with iTunes not letting me download anything without first responding to some security questions which I don't remember setting up, how can fix it? Oh, and it won't let me reset the questions either!

    So I have a problem with iTunes not letting me download anything without first responding to some security questions which I don't remember setting up, how can fix it? Oh, and it won't let me reset the questions either!

    If you mean that you aren't getting the reset link, then from the page that you posted from :
    Note: The option to send an email to reset your security questions and answers will not be available if a rescue email address is not provided. You will need to contact iTunes Store support in order to do so. 
    You can contact iTunes Support in your country via this page : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

Maybe you are looking for

  • Using US Mac Pro in Europe (voltage issue)

    Hi, I have a brandnew 8-core Mac Pro and an Eizo monitor. We might move to Switzerland later this year, and I would have to run my Mac and the monitor at 230 volts. Are power converters safe?? Any suggestions of brands? Thanks Anne

  • Inserting new line item into existing delivery using BAPI

    Hi can you send me the code for inserting new line item into existing delivery either using BAPI or Function module. We are using SAP 4.7 version

  • Creating a Message-Driven Bean in 10.1.3

    I have been trying to create a Message-Driven Bean using the wizard but when I tried to deploy it to the stand-alone OC4J, I always got the null pointer exception: Caused by: java.lang.NullPointerException at com.evermind.server.ApplicationContext.un

  • Passing form data to a PDF for printing

    I have found a few articles online about setting this up, but having no luck on getting the data to pass and display within the pdf file.. Can anyone offer suggestions or some good tutorial sites i can continue to read about? thanks... ASP, SQL2005,

  • Which adapter do I use for my DVI and RGB only inputs Monitor?

    My Samsung monitor only has RGB and DVI inputs.  I can't figure out which adapter from Apple to buy since I'm new in the Mac world and not sure of the limited port options I have. Thanks.