Q
Problem solve Get help with specific problems with your technologies, process and projects.

Sequence of user process, server process, instance and session

I am very confused about when USER PROCESS, SERVER PROCESS, INSTANCE and SESSION start. Can you help me understand the sequence?

If there are no Oracle processes running on your machine, then you only have the datafiles on disk, which are not accessible. Oracle calls this the "database". When you sign on to SQL*Plus and issue the STARTUP command, you are creating an "instance" of the database. This instance includes the allocated shared memory, the System Global Area or SGA, and the required background server processes like Database Writer (DBWn), Log Writer (LGWn), Checkpoint (CKPT), Process Monitor (PMON), System Monitor (SMON) and any optional, configured parameters such as the Archiver process (ARCn). These server processes start when you start the instance.

When a user requests a session with the database, the system starts a dedicated server process for that user. When the user disconnects from the database, this dedicated server process terminates. Many people call this dedicated server process a user process as well. In the Multi-Threaded Server (MTS) configuration, the end users can share server processes. In MTS, a minimum number of server processes are initiated at database startup and more processes are started as the database load increases.

For More Information


This was last published in May 2003

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close