Oracle-related Fundamentals

Source: Internet
Author: User

Oracle- related Fundamentals relational database and non-relational database

Relational database is a database based on the relational model, and the relational model is a two-dimensional table to represent and store the data;

non-relational database (NoSQL) is a key-value pair that stores data in a way that Key-value . Redis

Database and instance

A database is a heap of files, a physical concept; a bunch of files inside a database file are loaded into memory, and the image in memory is called an instance, and the instance is a logical concept;

Operation of the database requires an action instance.

Oracle 's cluster

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/98/88/wKiom1k-BD6w41_DAAA6FmZgN14196.png-wh_500x0-wm_ 3-wmp_4-s_1275327763.png "style=" Float:none; "title=" Picture 1.png "alt=" Wkiom1k-bd6w41_daaa6fmzgn14196.png-wh_50 "/>


Oracle 's architecture

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/98/88/wKioL1k-BD_g58P1AAA55XgNwN4831.png-wh_500x0-wm_ 3-wmp_4-s_1310432088.png "title=" Picture 2.png "style=" Float:none; "alt=" Wkiol1k-bd_g58p1aaa55xgnwn4831.png-wh_50 "/>

Any language operates on the database file as a process of the operating system.

in the diagram, the client (such as jdbc) connects to the database, and the small squares in the general diagram are the same as the number of connections; an instance has only one large square.

the generous blocks are: SGA ( system Global Area Systems Globals )

small squares are: PGA (Process Global area)

client operation data, saved in PGA , commit commits after operation,PGA writes to SGA,SGA Writes a database file through a write process. This is done by committing the data in two phases and writing faster. Because if the PGA is written directly to the database, then three PGA will need to write three times, if submitted to the SGA only need to write once.


This article is from the "QB blog" blog, declined reprint!

Oracle-related Fundamentals

Related Article

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.