Sie sind auf Seite 1von 2

Wednesday, May 7, 2008

How Oracle Works

The following example describes the most basic level of operations that Oracle p
erforms. This illustrates an Oracle configuration where the Oracle DBA and assoc
iated server process are on separate computers (connected through a network).
An instance has started on the computer running Oracle (often called the host or
database server).
A computer running an application (a local computer or client workstation) runs
the application in a Oracle DBA process. The client application attempts to esta
blish a connection to the server using the proper Oracle Net Services driver.
The server is running the proper Oracle Net Services driver. The server detects
the connection request from the application and creates a dedicated server proce
ss on behalf of the Oracle DBA process.
The Oracle DBA runs a SQL statement and commits the transaction. For example, th
e Oracle DBA changes a name in a row of a table.
The server process receives the statement and checks the shared pool for any sha
red SQL area that contains a similar SQL statement. If a shared SQL area is foun
d, then the server process checks the Oracle DBA 's access privileges to the req
uested data, and the previously existing shared SQL area is used to process the
statement. If not, then a new shared SQL area is
allocated for the statement, so it can be parsed and processed.
The server process retrieves any necessary data values from the actual datafile
(table) or those stored in the SGA.
The server process modifies data in the system global area. The DBWn process wri
tes modified blocks permanently to disk when doing so is efficient. Because the
transaction is committed, the LGWR process immediately records the transaction i
n the redo log file.
If the transaction is successful, then the server process sends a message across
the network to the application. If it is not successful, then an error message
is transmitted.
Throughout this entire procedure, the other background processes run, watching f
or conditions that require intervention. In addition, the database server manage
s other users' transactions and prevents contention between transactions that re
quest the same data.
Read on Oracle Tutorial to know more...
Posted by Surbhi at 8:04 AM
Labels: database administrator, How oracle works, learn oracle, oracle dba, orac
le tutorials
Post a Comment
Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
Learn Oracle - Become Oracle DBA
Learn Oracle - Become Oracle DBA
About Me
View my complete profile
Blog Archive
? 2010 (1)
? 2008 (23)
? June (3)
? May (14)
Accessing the oracle Enterprise Manager Database C...
Starting the Oracle Enterprise Manager Console
Upgrading a Database
Using DBCA to Configure Database Options
Delete database using DBCA
Starting DBCA
Installing Your Oracle Software and Database
Installation Choices
Checking Prerequisites
How Oracle Works
Oracle Database Architecture
Tools for Administering the Database
Common Oracle DBA Tasks
What is a Oracle Database
? April (6)