Introduction to OracleIntroduction to Oracle
Oracle HistoryOracle History
• 1979 Oracle Release 2
• 1986 client/server relational database
• 1989 Oracle 6
• 1997 Oracle 8 (object relational)
• 1999 Oracle 8i (Java Virtual Machine)
• 2000 Oracle Application Server
• 2001 Oracle 9i database server
• 1979 Oracle Release 2
• 1986 client/server relational database
• 1989 Oracle 6
• 1997 Oracle 8 (object relational)
• 1999 Oracle 8i (Java Virtual Machine)
• 2000 Oracle Application Server
• 2001 Oracle 9i database server
Oracle FamilyOracle Family
• Personal Oracle- for single users. Used to
develop systems
• Oracle Standard Edition- (Entry level
Workgroup server)
• Oracle Enterprise edition- Extended
functionality
• Oracle Lite- (Oracle mobile) single users
using wireless devices.
• Personal Oracle- for single users. Used to
develop systems
• Oracle Standard Edition- (Entry level
Workgroup server)
• Oracle Enterprise edition- Extended
functionality
• Oracle Lite- (Oracle mobile) single users
using wireless devices.
Some Developer ToolsSome Developer Tools
• Oracle Forms Developer
• Oracle Reports Developer
• Oracle Jdeveloper
• Oracle Designer
• Oracle Forms Developer
• Oracle Reports Developer
• Oracle Jdeveloper
• Oracle Designer
File ProcessingFile Processing
Database
Processing
Oracle DB
Oracle DB
Oracle DB
Database StructureDatabase Structure
• Logical structure - maps the data to the
Physical structure.
• Physical structure -part of the operating
system’s file structure.
• Memory structure - where all the
processing takes place.
• Logical structure - maps the data to the
Physical structure.
• Physical structure -part of the operating
system’s file structure.
• Memory structure - where all the
processing takes place.
The Logical structuresThe Logical structures
• control how the data must be stored in the
database.
• five Logical structures:
– tablespaces
– segments
– extents
– data blocks
– schema objects
• control how the data must be stored in the
database.
• five Logical structures:
– tablespaces
– segments
– extents
– data blocks
– schema objects
Physical structuresPhysical structures
• Parameter files
• Password files
• Datafiles
• Redo log files
• Control files
• Parameter files
• Password files
• Datafiles
• Redo log files
• Control files
Memory structuresMemory structures
• System Global Area (SGA)
• Program Global Area (PGA)
• The Oracle database uses these memory
areas to store information before they are
made permanent in the database.
• System Global Area (SGA)
• Program Global Area (PGA)
• The Oracle database uses these memory
areas to store information before they are
made permanent in the database.
TableSpacesTableSpaces
• A database is divided into logical storage
units called Tablespaces.
• logical construct for arranging different
types of data
• An Oracle database must have at least a
system tablespace.
• It is recommended to have different
tablespaces for user and system data.
• A database is divided into logical storage
units called Tablespaces.
• logical construct for arranging different
types of data
• An Oracle database must have at least a
system tablespace.
• It is recommended to have different
tablespaces for user and system data.
TablespacesTablespaces
• a logical structure• a logical structure
Data1 Data2
Data1_01.dbf Data2_01.dbf Data2_02.dbf
The DATA1
Tablespace =
One datafile
The DATA2
Tablespace =
Two datafiles
Create TablespaceCreate Tablespace
CREATE TABLESPACE test
DATAFILE 'oraservORADATAa.dbf'
SIZE 10M
AUTOEXTEND ON
NEXT 10M MAXSIZE 100M;
CREATE TABLE cust(id int,name varchar2(20))
TABLESPACE test;
CREATE TABLESPACE test
DATAFILE 'oraservORADATAa.dbf'
SIZE 10M
AUTOEXTEND ON
NEXT 10M MAXSIZE 100M;
CREATE TABLE cust(id int,name varchar2(20))
TABLESPACE test;
7 Logical Tablespaces7 Logical Tablespaces
• SYSTEM
• DATA
• INDEX
• USERS
• ROLLBACK
• TEMP
• TOOLS
• SYSTEM
• DATA
• INDEX
• USERS
• ROLLBACK
• TEMP
• TOOLS
Schemas and Schema ObjectsSchemas and Schema Objects
• Collection of database objects
– Tables
– Views
– Sequences
– Synonyms
– Indexes
– Procedures
– Functions
– Packages
– Triggers
• Collection of database objects
– Tables
– Views
– Sequences
– Synonyms
– Indexes
– Procedures
– Functions
– Packages
– Triggers
Data BlocksData Blocks
• The smallest unit of Input/Output used by
Oracle database.
• The size of data block for any database is
fixed at the time of creation of the database;
• Some values of the data block size are 2KB,
8KB, 16KB, and 32KB.
• Oracle recommends a size of 8KB
• The smallest unit of Input/Output used by
Oracle database.
• The size of data block for any database is
fixed at the time of creation of the database;
• Some values of the data block size are 2KB,
8KB, 16KB, and 32KB.
• Oracle recommends a size of 8KB
ExtentsExtents
• The next level of data storage.
• One extent consists of a specific number of
data blocks
• One or more extents in turn make up a
segment.
• When the existing space in a segment is
completely used, Oracle allocates a new
extent for the segment.
• The next level of data storage.
• One extent consists of a specific number of
data blocks
• One or more extents in turn make up a
segment.
• When the existing space in a segment is
completely used, Oracle allocates a new
extent for the segment.
SegmentSegment
• A segment consists of a set of extents
• Each table’s data is stored in its own single
segment.
• Each index’s data is stored in a single segment.
• More extents are automatically allocated by
Oracle to a segment if its existing extents become
full.
• The different types of segments are the data
segments, index segments,rollback segments, and
temporary segments.
• A segment consists of a set of extents
• Each table’s data is stored in its own single
segment.
• Each index’s data is stored in a single segment.
• More extents are automatically allocated by
Oracle to a segment if its existing extents become
full.
• The different types of segments are the data
segments, index segments,rollback segments, and
temporary segments.
Physical Database StructurePhysical Database Structure
• Password file - which contain the password
information for all users.
• Parameter file - which contains all the important
information necessary to start a database.
• Datafiles - which contain the application data being
stored, as well as any data necessary to store user-IDs,
passwords, and privileges.
• Redo log files - which store all the transactions made
to the database. These files are also called transaction
log files.
• Control files - which store information specifying the
structure of the database,such as the name and time of
creation of the database and the name and location of
the datafiles.
• Password file - which contain the password
information for all users.
• Parameter file - which contains all the important
information necessary to start a database.
• Datafiles - which contain the application data being
stored, as well as any data necessary to store user-IDs,
passwords, and privileges.
• Redo log files - which store all the transactions made
to the database. These files are also called transaction
log files.
• Control files - which store information specifying the
structure of the database,such as the name and time of
creation of the database and the name and location of
the datafiles.
The Physical files that make up a database
Control files
Data files
Redo Log
Files
Identify
Identify
Record changes to
Control FilesControl Files
• Contain a list of all other files in the
database
• Key information such as
– Name of the database
– Date created
– Current state
– Backups performed
– Time period covered by redo files
• Contain a list of all other files in the
database
• Key information such as
– Name of the database
– Date created
– Current state
– Backups performed
– Time period covered by redo files
• Store a recording of changes made to the
database as a result of transactions and
internal Oracle Activities
• When Oracle fills one redo log, it
automatically fills a second.
• Used for database recovery
• Store a recording of changes made to the
database as a result of transactions and
internal Oracle Activities
• When Oracle fills one redo log, it
automatically fills a second.
• Used for database recovery
Redo Log FilesRedo Log Files
Security MechanismsSecurity Mechanisms
• Database users and schemas
• Privileges
• Roles
• Storage settings and quotas
• Resource limits
• Auditing
• Database users and schemas
• Privileges
• Roles
• Storage settings and quotas
• Resource limits
• Auditing
Data Access: SQLData Access: SQL
• Data definition language (DDL) statements
• Data manipulation language (DML)
statements
• Transaction control statements
• Session control statements
• System control statements
• Embedded SQL statements
• Data definition language (DDL) statements
• Data manipulation language (DML)
statements
• Transaction control statements
• Session control statements
• System control statements
• Embedded SQL statements
TransactionsTransactions
• A transaction is a logical unit of work that
comprises one or more SQL statement
executed by a single user. According to the
ANSI/ISO SQL standard, with which
Oracle is compatible, a transaction begins
with the user’s first executable SQL
statement. A transaction ends when it is
explicitly committed or rolled back.
• A transaction is a logical unit of work that
comprises one or more SQL statement
executed by a single user. According to the
ANSI/ISO SQL standard, with which
Oracle is compatible, a transaction begins
with the user’s first executable SQL
statement. A transaction ends when it is
explicitly committed or rolled back.
Transaction ExampleTransaction Example

More Related Content

PPTX
An Introduction To Oracle Database
PPTX
Introduction to oracle database (basic concepts)
PPS
Oracle Database Overview
PPTX
PPTX
Introduction to Oracle Database
PPTX
The oracle database architecture
PPTX
Oracle architecture with details-yogiji creations
PPTX
Backup & recovery with rman
An Introduction To Oracle Database
Introduction to oracle database (basic concepts)
Oracle Database Overview
Introduction to Oracle Database
The oracle database architecture
Oracle architecture with details-yogiji creations
Backup & recovery with rman

What's hot (20)

PPT
Oracle GoldenGate
PPTX
12. oracle database architecture
PPTX
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
PDF
MongodB Internals
PPTX
Oracle architecture ppt
PPTX
Oracle Database Performance Tuning Basics
PPTX
Oracle database introduction
PPTX
Oracle Database | Computer Science
PPT
Oracle backup and recovery
PPT
Oracle archi ppt
PDF
Oracle data guard for beginners
PDF
ORACLE ARCHITECTURE
PPTX
Oracle DBA
PPTX
Basic oracle-database-administration
PDF
Oracle RAC 19c and Later - Best Practices #OOWLON
PPTX
Sql(structured query language)
PPT
Introduction to Oracle
DOCX
Oracle architecture
PPTX
What to Expect From Oracle database 19c
PPTX
What’s New in Oracle Database 19c - Part 1
Oracle GoldenGate
12. oracle database architecture
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
MongodB Internals
Oracle architecture ppt
Oracle Database Performance Tuning Basics
Oracle database introduction
Oracle Database | Computer Science
Oracle backup and recovery
Oracle archi ppt
Oracle data guard for beginners
ORACLE ARCHITECTURE
Oracle DBA
Basic oracle-database-administration
Oracle RAC 19c and Later - Best Practices #OOWLON
Sql(structured query language)
Introduction to Oracle
Oracle architecture
What to Expect From Oracle database 19c
What’s New in Oracle Database 19c - Part 1
Ad

Similar to Oracle DB (20)

PPT
Online Oracle Training For Beginners
PPT
Introduction to oracle
PPT
Introduction to oracle(2)
PPT
Introduction to oracle
PPT
Oracle training-in-hyderabad
PPT
1650607.ppt
PPTX
Oracle Database Introduction
PDF
Sql introduction
PPT
database-stucture-and-space-managment.ppt
PPT
database-stucture-and-space-managment.ppt
PPT
Oracle architecture
PPTX
Oracle Database Architecture
PDF
DBA 101 : Calling all New Database Administrators (WP)
PPT
Less01 db architecture
PPT
ora_sothea
PDF
Oracle tutorial
PPT
Adavanced Databases and Mangement system
PPT
Lecture2 oracle ppt
DOC
Oracle Complete Interview Questions
PPT
Online Oracle Training For Beginners
Introduction to oracle
Introduction to oracle(2)
Introduction to oracle
Oracle training-in-hyderabad
1650607.ppt
Oracle Database Introduction
Sql introduction
database-stucture-and-space-managment.ppt
database-stucture-and-space-managment.ppt
Oracle architecture
Oracle Database Architecture
DBA 101 : Calling all New Database Administrators (WP)
Less01 db architecture
ora_sothea
Oracle tutorial
Adavanced Databases and Mangement system
Lecture2 oracle ppt
Oracle Complete Interview Questions
Ad

Recently uploaded (20)

PPTX
OJT-Narrative-Presentation-Entrep-group.pptx_20250808_102837_0000.pptx
PPTX
langchainpptforbeginners_easy_explanation.pptx
PPTX
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
PDF
Hikvision-IR-PPT---EN.pdfSADASDASSAAAAAAAAAAAAAAA
PPTX
inbound6529290805104538764.pptxmmmmmmmmm
PPTX
recommendation Project PPT with details attached
PDF
General category merit rank list for neet pg
PPTX
ch20 Database System Architecture by Rizvee
PPTX
cp-and-safeguarding-training-2018-2019-mmfv2-230818062456-767bc1a7.pptx
PPTX
DATA MODELING, data model concepts, types of data concepts
PDF
book-34714 (2).pdfhjkkljgfdssawtjiiiiiujj
PPTX
AI AND ML PROPOSAL PRESENTATION MUST.pptx
PDF
Session 11 - Data Visualization Storytelling (2).pdf
PPTX
Sheep Seg. Marketing Plan_C2 2025 (1).pptx
PDF
Mcdonald's : a half century growth . pdf
PPTX
Capstone Presentation a.pptx on data sci
PPTX
Chapter security of computer_8_v8.1.pptx
PDF
Concepts of Database Management, 10th Edition by Lisa Friedrichsen Test Bank.pdf
PPTX
ai agent creaction with langgraph_presentation_
PDF
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf
OJT-Narrative-Presentation-Entrep-group.pptx_20250808_102837_0000.pptx
langchainpptforbeginners_easy_explanation.pptx
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
Hikvision-IR-PPT---EN.pdfSADASDASSAAAAAAAAAAAAAAA
inbound6529290805104538764.pptxmmmmmmmmm
recommendation Project PPT with details attached
General category merit rank list for neet pg
ch20 Database System Architecture by Rizvee
cp-and-safeguarding-training-2018-2019-mmfv2-230818062456-767bc1a7.pptx
DATA MODELING, data model concepts, types of data concepts
book-34714 (2).pdfhjkkljgfdssawtjiiiiiujj
AI AND ML PROPOSAL PRESENTATION MUST.pptx
Session 11 - Data Visualization Storytelling (2).pdf
Sheep Seg. Marketing Plan_C2 2025 (1).pptx
Mcdonald's : a half century growth . pdf
Capstone Presentation a.pptx on data sci
Chapter security of computer_8_v8.1.pptx
Concepts of Database Management, 10th Edition by Lisa Friedrichsen Test Bank.pdf
ai agent creaction with langgraph_presentation_
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf

Oracle DB

  • 2. Oracle HistoryOracle History • 1979 Oracle Release 2 • 1986 client/server relational database • 1989 Oracle 6 • 1997 Oracle 8 (object relational) • 1999 Oracle 8i (Java Virtual Machine) • 2000 Oracle Application Server • 2001 Oracle 9i database server • 1979 Oracle Release 2 • 1986 client/server relational database • 1989 Oracle 6 • 1997 Oracle 8 (object relational) • 1999 Oracle 8i (Java Virtual Machine) • 2000 Oracle Application Server • 2001 Oracle 9i database server
  • 3. Oracle FamilyOracle Family • Personal Oracle- for single users. Used to develop systems • Oracle Standard Edition- (Entry level Workgroup server) • Oracle Enterprise edition- Extended functionality • Oracle Lite- (Oracle mobile) single users using wireless devices. • Personal Oracle- for single users. Used to develop systems • Oracle Standard Edition- (Entry level Workgroup server) • Oracle Enterprise edition- Extended functionality • Oracle Lite- (Oracle mobile) single users using wireless devices.
  • 4. Some Developer ToolsSome Developer Tools • Oracle Forms Developer • Oracle Reports Developer • Oracle Jdeveloper • Oracle Designer • Oracle Forms Developer • Oracle Reports Developer • Oracle Jdeveloper • Oracle Designer
  • 10. Database StructureDatabase Structure • Logical structure - maps the data to the Physical structure. • Physical structure -part of the operating system’s file structure. • Memory structure - where all the processing takes place. • Logical structure - maps the data to the Physical structure. • Physical structure -part of the operating system’s file structure. • Memory structure - where all the processing takes place.
  • 11. The Logical structuresThe Logical structures • control how the data must be stored in the database. • five Logical structures: – tablespaces – segments – extents – data blocks – schema objects • control how the data must be stored in the database. • five Logical structures: – tablespaces – segments – extents – data blocks – schema objects
  • 12. Physical structuresPhysical structures • Parameter files • Password files • Datafiles • Redo log files • Control files • Parameter files • Password files • Datafiles • Redo log files • Control files
  • 13. Memory structuresMemory structures • System Global Area (SGA) • Program Global Area (PGA) • The Oracle database uses these memory areas to store information before they are made permanent in the database. • System Global Area (SGA) • Program Global Area (PGA) • The Oracle database uses these memory areas to store information before they are made permanent in the database.
  • 14. TableSpacesTableSpaces • A database is divided into logical storage units called Tablespaces. • logical construct for arranging different types of data • An Oracle database must have at least a system tablespace. • It is recommended to have different tablespaces for user and system data. • A database is divided into logical storage units called Tablespaces. • logical construct for arranging different types of data • An Oracle database must have at least a system tablespace. • It is recommended to have different tablespaces for user and system data.
  • 15. TablespacesTablespaces • a logical structure• a logical structure Data1 Data2 Data1_01.dbf Data2_01.dbf Data2_02.dbf The DATA1 Tablespace = One datafile The DATA2 Tablespace = Two datafiles
  • 16. Create TablespaceCreate Tablespace CREATE TABLESPACE test DATAFILE 'oraservORADATAa.dbf' SIZE 10M AUTOEXTEND ON NEXT 10M MAXSIZE 100M; CREATE TABLE cust(id int,name varchar2(20)) TABLESPACE test; CREATE TABLESPACE test DATAFILE 'oraservORADATAa.dbf' SIZE 10M AUTOEXTEND ON NEXT 10M MAXSIZE 100M; CREATE TABLE cust(id int,name varchar2(20)) TABLESPACE test;
  • 17. 7 Logical Tablespaces7 Logical Tablespaces • SYSTEM • DATA • INDEX • USERS • ROLLBACK • TEMP • TOOLS • SYSTEM • DATA • INDEX • USERS • ROLLBACK • TEMP • TOOLS
  • 18. Schemas and Schema ObjectsSchemas and Schema Objects • Collection of database objects – Tables – Views – Sequences – Synonyms – Indexes – Procedures – Functions – Packages – Triggers • Collection of database objects – Tables – Views – Sequences – Synonyms – Indexes – Procedures – Functions – Packages – Triggers
  • 19. Data BlocksData Blocks • The smallest unit of Input/Output used by Oracle database. • The size of data block for any database is fixed at the time of creation of the database; • Some values of the data block size are 2KB, 8KB, 16KB, and 32KB. • Oracle recommends a size of 8KB • The smallest unit of Input/Output used by Oracle database. • The size of data block for any database is fixed at the time of creation of the database; • Some values of the data block size are 2KB, 8KB, 16KB, and 32KB. • Oracle recommends a size of 8KB
  • 20. ExtentsExtents • The next level of data storage. • One extent consists of a specific number of data blocks • One or more extents in turn make up a segment. • When the existing space in a segment is completely used, Oracle allocates a new extent for the segment. • The next level of data storage. • One extent consists of a specific number of data blocks • One or more extents in turn make up a segment. • When the existing space in a segment is completely used, Oracle allocates a new extent for the segment.
  • 21. SegmentSegment • A segment consists of a set of extents • Each table’s data is stored in its own single segment. • Each index’s data is stored in a single segment. • More extents are automatically allocated by Oracle to a segment if its existing extents become full. • The different types of segments are the data segments, index segments,rollback segments, and temporary segments. • A segment consists of a set of extents • Each table’s data is stored in its own single segment. • Each index’s data is stored in a single segment. • More extents are automatically allocated by Oracle to a segment if its existing extents become full. • The different types of segments are the data segments, index segments,rollback segments, and temporary segments.
  • 22. Physical Database StructurePhysical Database Structure • Password file - which contain the password information for all users. • Parameter file - which contains all the important information necessary to start a database. • Datafiles - which contain the application data being stored, as well as any data necessary to store user-IDs, passwords, and privileges. • Redo log files - which store all the transactions made to the database. These files are also called transaction log files. • Control files - which store information specifying the structure of the database,such as the name and time of creation of the database and the name and location of the datafiles. • Password file - which contain the password information for all users. • Parameter file - which contains all the important information necessary to start a database. • Datafiles - which contain the application data being stored, as well as any data necessary to store user-IDs, passwords, and privileges. • Redo log files - which store all the transactions made to the database. These files are also called transaction log files. • Control files - which store information specifying the structure of the database,such as the name and time of creation of the database and the name and location of the datafiles.
  • 23. The Physical files that make up a database Control files Data files Redo Log Files Identify Identify Record changes to
  • 24. Control FilesControl Files • Contain a list of all other files in the database • Key information such as – Name of the database – Date created – Current state – Backups performed – Time period covered by redo files • Contain a list of all other files in the database • Key information such as – Name of the database – Date created – Current state – Backups performed – Time period covered by redo files
  • 25. • Store a recording of changes made to the database as a result of transactions and internal Oracle Activities • When Oracle fills one redo log, it automatically fills a second. • Used for database recovery • Store a recording of changes made to the database as a result of transactions and internal Oracle Activities • When Oracle fills one redo log, it automatically fills a second. • Used for database recovery Redo Log FilesRedo Log Files
  • 26. Security MechanismsSecurity Mechanisms • Database users and schemas • Privileges • Roles • Storage settings and quotas • Resource limits • Auditing • Database users and schemas • Privileges • Roles • Storage settings and quotas • Resource limits • Auditing
  • 27. Data Access: SQLData Access: SQL • Data definition language (DDL) statements • Data manipulation language (DML) statements • Transaction control statements • Session control statements • System control statements • Embedded SQL statements • Data definition language (DDL) statements • Data manipulation language (DML) statements • Transaction control statements • Session control statements • System control statements • Embedded SQL statements
  • 28. TransactionsTransactions • A transaction is a logical unit of work that comprises one or more SQL statement executed by a single user. According to the ANSI/ISO SQL standard, with which Oracle is compatible, a transaction begins with the user’s first executable SQL statement. A transaction ends when it is explicitly committed or rolled back. • A transaction is a logical unit of work that comprises one or more SQL statement executed by a single user. According to the ANSI/ISO SQL standard, with which Oracle is compatible, a transaction begins with the user’s first executable SQL statement. A transaction ends when it is explicitly committed or rolled back.

Editor's Notes

  • #16: Tablespaces A database is divided into logical storage units called tablespaces, which group related logical structures together. For example, tablespaces commonly group all of an application’s objects to simplify some administrative operations. Each database is logically divided into one or more tablespaces. One or more datafiles are explicitly created for each tablespace to physically store the data of all logical structures in a tablespace. The combined size of a tablespace’s datafiles is the total storage capacity of the tablespace (SYSTEM tablespace has 2 MB storage capacity while USERS tablespace has 4 MB). The combined storage capacity of a database’s tablespaces is the total storage capacity of the database (6 MB).
  • #24: Datafiles Every Oracle database has one or more physical datafiles. A database’s datafiles contain all the database data. The data of logical database structures such as tables and indexes is physically stored in the datafiles allocated for a database. The characteristics of datafiles are: A datafile can be associated with only one database. Datafiles can have certain characteristics set to allow them to automatically extend when the database runs out of space. One or more datafiles form a logical unit of database storage called a tablespace, as discussed earlier in this chapter.
  • #25: Control Files Every Oracle database has a control file. A control file contains entries that specify the physical structure of the database. For example, it contains the following types of information: Database name Names and locations of datafiles and redo log files Time stamp of database creation Like the redo log, Oracle allows the control file to be multiplexed for protection of the control file. The Use of Control Files Every time an instance of an Oracle database is started, its control file is used to identify the database and redo log files that must be opened for database operation to proceed. If the physical makeup of the database is altered (for example, a new datafile or redo log file is created), the control file is automatically modified by Oracle to reflect the change.
  • #26: Redo Log Files Every Oracle database has a set of two or more redo log files. The set of redo log files for a database is collectively known as the database’s redo log. A redo log is made up of redo entries (also called redo records), each of which is a group of change vectors describing a single atomic change to the database. The primary function of the redo log is to record all changes made to data. Should a failure prevent modified data from being permanently written to the datafiles, the changes can be obtained from the redo log and work is never lost. Redo log files are critical in protecting a database against failures. To protect against a failure involving the redo log itself, Oracle allows a multiplexed redo log so that two or more copies of the redo log can be maintained on different disks.
  • #27: Roles Oracle provides for easy and controlled privilege management through roles. Roles are named groups of related privileges that are granted to users or other roles. A privilege is a right to execute a particular type of SQL statement. Some examples of privileges include the right to: Connect to the database (create a session) Create a table in your schema Select rows from someone else’s table Execute someone else’s stored procedure
  • #30: Consider a banking database. When a bank customer transfers money from a savings account to a checking account, the transaction might consist of three separate operations: decrease the savings account, increase the checking account, and record the transaction in the transaction journal. Oracle must guarantee that all three SQL statements are performed to maintain the accounts in proper balance. When something prevents one of the statements in the transaction from executing (such as a hardware failure), the other statements of the transaction must be undone; this is called rolling back. If an error occurs in making either of the updates, then neither update is made.