2.1 ORACLE Server

Source: Internet
Author: User

When your application accesses the Oracle server over the networkProgramAssign user processes, and the server assigns them server processes, and all SQL operations applied by the customer are finally executed by the server process.

Oracle Server = routine + database.

 

1. Routine

Routine = memory structure + background process

Memory Structure (SGA ── system global area, system global area) = Data High-speed cache + redo log buffer + sharing pool

Background process = SMON + pmon + dbwr + ckpt + lgwr +...

You can obtain information about the current instance by querying the dynamic performance view v $ instance.

SQL> Conn/As sysdba
Connected.
SQL> select instance_number, instance_name, status from V $ instance;

Instance_number instance_name status
-------------------------------------------
1 orcl open

 

2. Database

Database = data file + control file + redo log

You can obtain information about the current database by querying the dynamic performance view v $ database.

SQL> Conn/As sysdba
Connected.
SQL> select dbid, name, log_mode, current_scn from V $ database;

Dbid name log_mode current_scn
------------------------------------------
1189837078 orcl noarchivelog 1228375

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.