Tải bản đầy đủ (.pdf) (7 trang)

a0093 oracle database 11g administration workshop i vol i morebook vn 1024

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (30.7 KB, 7 trang )

Oracle Database 11g:
Administration Workshop I
Volume 2 - Student Guide

D50102GC10
Edition 1.0
September 2007
D52684 L$

®


Authors

Copyright © 2007, Oracle. All rights reserved.

Priya Vennapusa

Disclaimer

James Spiller

This document contains proprietary information and is protected by copyright and
other intellectual property laws. You may copy and print this document solely for your
own use in an Oracle training course. The document may not be modified or altered in
any way. Except where your use constitutes "fair use" under copyright law, you may
not use, share, download, upload, copy, print, display, perform, reproduce, publish,
license, post, transmit, or distribute this document in whole or in part without the
express authorization of Oracle.

Maria Billings



Technical Contributors
and Reviewers
Christian Bauwens

Andy Fortunak

The information contained in this document is subject to change without notice. If you
find any problems in the document, please report them in writing to: Oracle University,
500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
warranted to be error-free.

Gerlinde Frenzen

Restricted Rights Notice

Steve Friedberg

If this documentation is delivered to the United States Government or anyone using
the documentation on behalf of the United States Government, the following notice is
applicable:

Sangram Dash

Joel Goodman
Magnus Isaksson
Akira Kinutani
Pete Jones
Pierre Labrousse
Gwen Lazenby

Hakan Lindfors
Srinivas Putrevu
Andreas Reinhardt
Ira Singer
Jenny Tsai

Editors
Richard Wallis
Amitha Narayan

Graphic Designer
Rajiv Chandrabhanu

Publishers
Nita Brozowski
Michael Sebastian Almeida

U.S. GOVERNMENT RIGHTS
The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or
disclose these training materials are restricted by the terms of the applicable Oracle
license agreement and/or the applicable U.S. Government contract.
Trademark Notice
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other
names may be trademarks of their respective owners.


Managing Undo Data

Copyright © 2007, Oracle. All rights reserved.



Objectives

After completing this lesson, you should be able to:
• Explain DML and undo data generation
• Monitor and administer undo data
• Describe the difference between undo data and redo
data
• Configure undo retention
• Guarantee undo retention
• Use the Undo Advisor

10 - 2

Copyright © 2007, Oracle. All rights reserved.

Oracle Database 11g: Administration Workshop I 10 - 2


Data Manipulation

• Data manipulation language (DML) consists of the
following SQL statements:





INSERT
UPDATE

DELETE
MERGE

• DML always executes as part of a transaction, which
can be:
– Rolled back using the ROLLBACK command
– Committed using the COMMIT command

10 - 3

Copyright © 2007, Oracle. All rights reserved.

Data Manipulation
Data is manipulated, or modified, by the DML class of SQL statements: INSERT, UPDATE,
DELETE, and MERGE. These statements execute as part of a transaction, which starts with the
first successful DML statement and ends with either a COMMIT or ROLLBACK command.
A transaction is either entirely committed or entirely rolled back.
In addition to the explicit COMMIT or ROLLBACK commands, they can also occur implicitly.
For example, rollback may occur if there is a process or system failure. Commit may occur
after a DDL command, such as the CREATE TABLE command.
Note: The MERGE command performs a combination of DML commands to merge data from
one table into another. It is covered in the lesson titled “Managing Data and Concurrency.”

Oracle Database 11g: Administration Workshop I 10 - 3


Thank You!

We hope your experience with Oracle University has been
enjoyable. We welcome your feedback on how we can

improve to better meet your needs:
• End-of-course evaluations
• Oracle University Office of Customer Satisfaction
• Oracle Education Services
We hope to see you in class again soon.

E - 15

Copyright © 2007, Oracle. All rights reserved.

Thank You!
Oracle University’s mission is to enhance the adoption of Oracle technology. Our goal is to
partner with you, providing information that is pertinent, timely, and relevant to your needs.
Please take a minute to complete the end-of-course evaluation and let us know how we can
serve you better. In the U.S., feel free to e-mail our office of customer satisfaction at:


If you have questions about continuing your Oracle education, need help finding a class, or
want to arrange for on-site training at your company, contact Oracle Education Services for
assistance. In the U.S., dial 800.529.0165. For contact numbers outside the U.S., visit the
following Web site:
/>
Thanks again and hope to see you in another class!

Oracle Database 11g: Administration Workshop I E - 15





×