An Example of How Oracle Works
2012-11-23 11:51
435 查看
An Example of How Oracle Works
The following example describes the most basic level of operations that Oracle performs. This illustrates an Oracle configuration where the user and associated server process are on separate machines (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 machine or client workstation) runs the application in a
user process. The client application attempts to establish 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 process on behalf of the user process.
The user runs a SQL statement and commits the transaction. For example, the user changes a name in a row of a table.
The server process receives the statement and checks the
shared pool for any shared SQL area that contains a similar SQL statement. If a shared SQL area is found, then the server process checks the user's access privileges to the requested 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 writes modified blocks permanently to disk when doing so is efficient. Because the transaction is committed,
the LGWR process immediately records the transaction in the online 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 for conditions that require intervention. In addition, the database server manages other users' transactions and prevents contention
between transactions that request the same data.
原文地址:http://docs.oracle.com/cd/B10501_01/server.920/a96524/c01_02intro.htm#41832
相关文章推荐
- How Volatile in Java works? Example of volatile keyword in Java
- An example of how to streaming audio over network using Qt
- An example of how to do a simulation by LAMMPS
- HTTP请求:从浏览器地址栏输入url到页面显示的全过程(Complete Procedure of How an HTTP Request Works)
- How JavaScript works: an overview of the engine, the runtime, and the call stack
- How Synchronization works in Java ? Example of synchronized Block and Method
- How JavaScript works: an overview of the engine, the runtime, and the call stack
- An Example of Pre-Query and Post-Query Triggers in Oracle Forms With Using Display_Item to Highlight Dynamically
- How GNU Radio Core Works -- An Analysis of GNU Radio 3.3.0 Sources
- An Example of On-Error Trigger in Oracle Forms
- Here's an example that shows how to enumerate through the features of a selection set, returning the value of each field in the attribute table except for the geometry colum.
- An Example Of Validating Text Item In Oracle Forms Using When-Validate-Item Trigger
- Ruby CSV - An example of how to split CSV row data into fields
- All-In-One Code Framework(AIO): 如何使用C#编写进程外的COM组件 (How to write an out-of-proc COM server in C#)
- How to calculate the SVG Path for an arc (of a circle)
- How to call an external C function from within Oracle
- 当打开Oracle Jdevelopler 11g时出现"Unable to create an instace of the jave virtual Machine Located at path"错时解决办法
- How to Add the JVM Component to an Existing Oracle Database (Doc ID 1461562.1)
- How to Interpret the OS stats section of an AWR report (文档 ID 762526.1)
- How to Automate Startup/Shutdown of Oracle Database on Linux [ID 222813.1]