How Oracle Works!
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 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 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 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.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1011000/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How Python list works?Python
- 2.3.3.3.1 How an Application Upgrade WorksAPP
- How React Works (一)首次渲染React
- how webpack Hot Module Replacement worksWeb
- how tomcat works(第18章:部署器)Tomcat
- How Oracle Store Number internal(zt)Oracle
- How to Install EMC PowerPath on Oracle VM 3.4Oracle
- [How HTTPS works Part 1 — Building Blocks] HTTPS 的工作方式第 1 部分-基本構造塊HTTPUIBloC
- How To Deal With Split Brain In Oracle 19c RacAIOracle
- Oracle 12.2 How to Generate AWRs in Active Data Guard Standby DatabasesOracleDatabase
- Ice works操作教程
- [20221222]How to Enable and Disable Database Options in oracle 11g.txtDatabaseOracle
- How To Deal With Split Brain In Oracle 19c Rac-202203AIOracle
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- Valet 80 埠被佔用 It works
- How to ssh
- How to find dependency
- P.I. Works和Ooredoo斬獲大獎
- [譯] WebAssembly: How and whyWeb
- How OpenStack integrates with Ceph?
- How to Build a Cybersecurity CareerUI
- CISO之What & How
- How to Restart Qt ApplicationRESTQTAPP
- How to Install psql on MacSQLMac
- How to Install LibreOffice on UbuntuUbuntu
- setTimeout(fn, 0) // it works - JavaScript 事件迴圈 動畫演示JavaScript事件動畫
- How to make sense of Kotlin coroutinesKotlin
- How to Install ClamAV on CentOS 7CentOS
- How to change the background color for PyCharmPyCharm
- How to subscribe to GPT4?GPT
- How boltdb Write its Data?
- How to Optimize PostgreSQL Logical ReplicationSQL
- how to show hidden parameter(zt)
- [Javascript] How javascript read the property?JavaScript
- how to build a website like apkmirrorUIWebAPK
- How to Convert a Class File to a Ja
- How to review diffs between commitsViewMIT
- How Logs Work On MySQL With InnoDB TablesMySql
- How to compile libusb as shared/static libraryCompile