Process classification in Oracle

Source: Internet
Author: User

The processes in an Oracle system can be categorized into two major groups:
■ User processes run the application or Oracle tool code.
■ Oracle processes run the Oracle database server code. They include server processes and background processes.

 

Overview of user processes
When a user runs an application program (such as a pro * C program) or an oracle tool (such as Enterprise Manager or SQL * Plus ), oracle creates a user process to run the user's application.

 

Overview of Oracle Processes
This section describes the two types of processes that run the Oracle database server code (server processes and background processes ).

 

Server Processes
Oracle creates server processes to handle the requests of user processes connected to the instance. in some situations when the application and Oracle operate on the same computer, it is possible to combine the user process and corresponding server process into a single process to reduce system overhead. however, when the application and Oracle operate on different computers, a user process always communicates with Oracle through a separate server process.

Server Processes (or the server portion of combined user/server processes) created on behalf of each user's application can perform one or more of the following:
■ Parse and run SQL statements issued through the Application
■ Read necessary data blocks from datafiles on disk into the shared database buffers of the SGA, if the blocks are not already present in the SGA
■ Return results in such a way that the application can process the information

 

Background Processes
To maximize performance and accommodate into users, a Multiprocess Oracle system uses some additional Oracle processes called background processes.
An Oracle instance can have created background processes; not all are always present. there are numerous background processes. see the V $ bgprocess view for more information on the background processes. the background processes in an oracle instance can include the following:
■ Database writer process (dbwn)
■ Log writer process (lgwr)
■ Checkpoint Process (ckpt)
■ SYSTEM monitor process (SMON)
■ Process Monitor process (pmon)
■ Recoverer process (reco)
■ Job Queue Processes
■ Archiver processes (arcn)
■ Queue monitor processes (qmnn)
■ Other background processes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.