How Oracle Works

Topics: Database management system, SQL, Client-server Pages: 1 (354 words) Published: August 23, 2013
An Example of How Oracle Works

The following example illustrates an Oracle configuration where the user and associated server process are on separate machines (connected via a network). 1. An instance is currently running on the computer that is executing Oracle (often called the host or database server). 1. 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 Net8 driver. 1. The server is running the proper Net8 driver. The server detects the connection request from the application and creates a (dedicated) server process on behalf of the user process. 1. The user executes a SQL statement and commits the transaction. For example, the user changes a name in a row of a table. 1. The server process receives the statement and checks the shared pool for any shared SQL area that contains an identical SQL statement. If a shared SQL area is found, 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, a new shared SQL area is allocated for the statement so that it can be parsed and processed. 1. The server process retrieves any necessary data values from the actual datafile (table) or those stored in the system global area. 1. 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 committed, the LGWR process immediately records the transaction in the online redo log file. 1. If the transaction is successful, the server process sends a message across the network to the application. If it is not successful, an appropriate error message is transmitted. 1. Throughout this entire procedure, the other background processes run, watching for conditions that require intervention....
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Oracle Essay
  • work Essay
  • How it works Essay
  • Oracle Rac Essay
  • Oracle EBS Essay
  • How Does the Material Requirement Planning Work in Oracle System? Essay
  • Oracle Research Paper
  • Routers

Become a StudyMode Member

Sign Up - It's Free