QUESTION: You update a record and issue a COMMIT - what happens next?
UPDATE employees SET first_name = 'John'
WHERE emp_id = 1009;
COMMIT;
What happens when a user issues the COMMIT in the above SQL statement?
A. Dirty buffers in the database buffer cache are flushed.
B. The server process places the commit record in the redo log buffer.
C. Log Writer (LGWR) writes the redo log buffer entries to the redo log files and data files.
D. The user process notifies the server process that the transaction is complete.
E. The user process notifies the server process that the resource locks can be released.
I think the answers are a litle ambigious - so appriciate your inputs! :)
Thanks
Amanjit
>
The internal transaction table for the associated
undo tablespace records that the transaction has
committed, and the corresponding unique system change
number (SCN) of the transaction is assigned and
recorded in the table.
The log writer process (LGWR) writes redo log entries
in the SGA's redo log buffers to the redo log file.
It also writes the transaction's SCN to the redo log
file. This atomic event constitutes the commit of the
transaction.
Oracle releases locks held on rows and tables.
Oracle marks the transaction complete.Thanks for that lik Eric J - helped me! :)
Its all still a bit fuzzy for me, but by process of elimination using the above makes its easier:
a) No - obviously
b) Yes - by process of elimination, even if its not 'technically' correct
c) No - as LGWR does not touch data files
d) No - as Ultimate steo in comit 'process'
e) No - as PENUltimate step in comit 'process'
What do you guys think?
Amanjit
Similar Messages
-
What happens when we delete trillion records and issue a commit.
Q1. what happens when we delete trillion records and issue a commit and also is there any way to calculate that how much time this commit will take to complete the process?
Q2. how do interpret the oracle execution plan?
cost, cardinality, rows, etc...dba wrote:
Q1. what happens when we delete trillion records and issue a commit and also is there any way to calculate that how much time this commit will take to complete the process?Since you're modifying the blocks, Undo will be generated for the modified data and change vector will be recorded in the redo log buffer.(and surely your records will be deleted ;) )
The timing of a Commit doesn't depend on the size of transaction.
dba wrote:
Q2. how do interpret the oracle execution plan?
cost, cardinality, rows, etc...Oracle documentation should help you, just google for that. You should also visit 'asktom.oracle.com' for the topic. I'm going through a book 'Troubleshooting Oracle Performance' written by Christian Antognini and I feel it contains very good explanation on such topics.
Regards,
S.K. -
When i attempt to download QuickTime, I get the "thank you
for downloading" page and no download.
What's next?I use a PC and had the same issue with Firefox, but IE7 worked for me, FYI....
-
What does it mean after you update your phone and then your phone starts to blink on and off showing the apple logo only?
Read http://support.apple.com/kb/ht1808
-
hello! my problem at jump of paid games I can't remember answers to confidential questions. you can cancel or step by
step describe what to do? thanksThe Best Alternatives for Security Questions and Rescue Mail
a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
b. Call Apple Support in your country: Customer Service: Contacting Apple for
support and service.
c. Rescue email address and how to reset Apple ID security questions -
HT4623 need to update Ipad 1 and don't know what to do? Articles are not helping.
need to update Ipad 1 and don't know what to do? articles are not helping.
If your are using IOS 3/4, you need to connect to iTune (computer) to update software
http://support.apple.com/kb/HT4972 -
My Question is: I have a Lightroom 5 software buyed single on my MAC. If now I buy a CC Pack with Lightroom and Photoshop...what happened? How I can install AGAIN a other version of lightroom 5 ?! and this is necessary because the version included in pack has a mobile function that my actual version don't has. Thanks to help.
Can live two version equal of lightroom on same MAC ?
mmm .... I Doubt...
Suggestion.. ?My Question is: I have a Lightroom 5 software buyed single on my MAC. If now I buy a CC Pack with Lightroom and Photoshop...what happened? How I can install AGAIN a other version of lightroom 5 ?! and this is necessary because the version included in pack has a mobile function that my actual version don't has. Thanks to help.
Can live two version equal of lightroom on same MAC ?
mmm .... I Doubt...
Suggestion.. ? -
All of a sudden firefox wants me to update from 3.6 to 6.something - what happened to 4 and 5? - and I don't know what google cupcakes are, but I don't think I want them - I like simple; help.
Screen shot of my new tabs page. There used to be little boxes with fast ways to get to my most visited sites. Please help
-
I created a multi-layered Photoshop file and the backgroud layer changed to gray and all other layers whacked out. I tried reopening it and restarting photoshop. What happened to my file?
Your file is most likely toast, but still:
BOILERPLATE TEXT:
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
etc.,
someone may be able to help you (not necessarily this poster).
a screen shot of your settings or of the image could be very helpful too.
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
WHAT HAPPEN TO MY PHONE AFTER UPDATE IOS7.1 I CANT CALL OUT, WHAT HAPPEN TO MY PHONE AFTER UPDATE IOS7.1 I CANT CALL OUT. only ppl can call me. what happen??can be fix?
Hello, Mikimeikei.
Thank you for visiting Apple Support Communities.
Here is an article I would recommend going through when experiencing issues making or receiving calls.
iPhone: Troubleshooting issues making or receiving calls
https://support.apple.com/kb/TS3406
Cheers,
Jason H. -
i have just purchased an app, and paid my money, what happens now will the app be mailed to me or ?? as nothing seems to be happeneing
Apps are automatically downloaded and stored to your Applications folder. Check there...
Which Mac OS X are you running? -
I HAVE AN IPOD TOUCH MC008LL/ The screen (Display) is blank you can get your help to find out what happens please
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
Downloaded iOS5 and don't know what happened to my contact list
I downloaded iOS5 and don't know what happened to my contact list. Any help?
try to make a hard reset (home button +power button for 15seconds) then restore by itunes.this is called DFU mode,once you done,can only restore the device by itunes!let me know if it works
-
I downloaded iOS 6 and YouTube disappeared. What happened?
I downloaded iOS 6 and YouTube disappeared. What happened?
YouTube was not included in this iOS. There is an iPhone version in the App Store and you can use the mobile YouTube site until Google releases their own iPad YouTube app.
-
Buy chips pokerist were withdrawn money from a bank and did not get what happened chips
Buy chips pokerist were withdrawn money from a bank and did not get what happened chips
<Personal Information Edited By Host>Provide this information to the program developer using the "Report a Problem" link. This transaction is between you and KAMAGAMES LTD.
Maybe you are looking for
-
Issues after upgrading the Obiee from 10g to 11g
Hi all, We have recently upgraded our rpd from 10g to 11g. And a part of Webcatlog is being upgraded. We observe issues with the upgraded reports. As the for the report prompts the script was taking lot of time. And the browser pop's a message either
-
Hi, my Mac Book Pro 15 inch lap top if i set it on the couch no matter where I place it slips off and luckily so far I have caught it before it falls onto the floor and gets ruined, of which I am super afraid of, due to what I initially paid for
-
Difference between FAGLL03 and FBL3n
Hi My user is taking report for GL line items for 5 GL Accounts for 3 company codes for the month of July (Tcode: FAGLL03 and FBL3n). But in FBL3n, there are 5 items and in FAGLL03 there are only 3 line items. When i did from my id, it properly shown
-
Change material description in MM02
Hi, System is allowing to change the material description in MM02 from any views. Requirement is once the material code save, system should allow to change the description of product to user who have authorisation for Basic data 1 and 2 not other vie
-
I need help I do not know how to get my phone back to phone setting it is now set up like my ipod and i do not know why or how it got there