当前位置:网站首页>Oracle Database Introduction
Oracle Database Introduction
2022-07-03 06:11:00 【Master core technology】
One 、 Database 4 Basic concepts
1) data (data): Data is the basic object stored in the database
2) database (DataBase,DB): The database is Long term storage In the computer , organized 、 Shareable A collection of large amounts of data
3) Database management system (DataBase Management System,DBMS): Database management system is a layer of data management between users and operating system Systems software
4) Database system (DataBase System,DBS): The database system consists of a database 、 Database management system 、 Application and database administrators (DBA) Composed storage 、 management 、 A system that processes and maintains data
Two 、 Two types of data models
The data model is Abstraction of real-world data features , In other words, the data model is used to describe data 、 Organizing and operating data . According to the different purposes of the model application , Divide the model into two categories .
The first category conceptual model : Also known as information model , Modeling data and information from a user perspective , Mainly used for database design , The most commonly used representation is E-R chart ( Entity - How to contact ,Entity Relationship approach)
The second category logical model and The physical model : The logical model mainly includes relational model 、 Hierarchical model and mesh model , Modeling data from the point of view of a computer system , It is mainly used for the realization of database management system ; Physical models are the lowest level abstraction of data , Describe the representation and access method of data in the system , Or storage mode and access method on disk or tape , It is oriented to computer system .
Data model 3 The elements
data structure : Describe the constituent objects of the database and the relationship between objects ;
Data manipulation : For various objects in the database ( type ) Example ( value ) A collection of allowed operations , Including operation and relevant operation rules ;
Data integrity constraints : A set of integrity rules .
relational model
Relational model refers to a data model that represents entities and their relationships in the form of two-dimensional tables .
ps: Each component of a relationship must be an indivisible data item , That is, no table is allowed in the table .
3、 ... and 、 Three layer mode and two-layer image of database system
A schema is a description of the logical structure and characteristics of all data in a database , It only involves the description of type , No specific values are involved .
Three level mode
1) External mode : Also known as subpattern or user mode , It's the database user's data view . External patterns are usually subsets of patterns , Therefore, there are multiple external modes , External mode DDL To define the outer mode .
2)( Logic ) Pattern : Description of logical structure and characteristics of all data in database , Is a common view for all users . A database has only one schema , Use mode DDL To define patterns .
3) Internal mode : Also known as storage mode , A database has only one internal schema , It is the description of data structure and storage mode , It's how the data is organized inside the database .
In order to realize the connection and transformation of these three abstract levels within the system ,DBMS Provide a two-tier image between the three-level modes
Two layer image
External mode / Pattern image : A pattern can have multiple external patterns . When ( Logic ) When the mode changes , from DBA Change the image accordingly , Without changing the external mode . The application is written according to the external mode , Therefore, there is no need to change , This is called logical independence of data .
Pattern / Internal mode image : A database has only one internal schema . When the storage structure of the database changes , from DBA Change the image accordingly , Without changing the mode , Then there is no need to change the application , This is called the physical independence of data and program .
Reference books : Introduction to Database System ( The fifth edition ) Wang Shan Huang,
边栏推荐
- [teacher Zhao Yuqiang] index in mongodb (Part 1)
- Pytorch dataloader implements minibatch (incomplete)
- SVN分支管理
- Kubernetes notes (IX) kubernetes application encapsulation and expansion
- Simple handwritten ORM framework
- [teacher Zhao Yuqiang] RDB persistence of redis
- [teacher Zhao Yuqiang] calculate aggregation using MapReduce in mongodb
- Core principles and source code analysis of disruptor
- Use abp Zero builds a third-party login module (I): Principles
- Openresty best practices
猜你喜欢

Cesium 点击获取模型表面经纬度高程坐标(三维坐标)

Multithreading and high concurrency (7) -- from reentrantlock to AQS source code (20000 words, one understanding AQS)

Kubernetes notes (VII) kuberetes scheduling

Disruptor learning notes: basic use, core concepts and principles

Kubernetes notes (VI) kubernetes storage

Kubernetes notes (10) kubernetes Monitoring & debugging

Detailed explanation of contextclassloader

Simple solution of small up main lottery in station B

Cesium Click to obtain the longitude and latitude elevation coordinates (3D coordinates) of the model surface

Fluentd facile à utiliser avec le marché des plug - ins rainbond pour une collecte de journaux plus rapide
随机推荐
SVN分支管理
Project summary --04
Maximum likelihood estimation, divergence, cross entropy
pytorch 搭建神经网络最简版
When PHP uses env to obtain file parameters, it gets strings
[teacher Zhao Yuqiang] use Oracle's tracking file
Oauth2.0 - explanation of simplified mode, password mode and client mode
ODL framework project construction trial -demo
深入解析kubernetes controller-runtime
Clickhouse learning notes (I): Clickhouse installation, data type, table engine, SQL operation
[teacher Zhao Yuqiang] RDB persistence of redis
Kubernetes notes (10) kubernetes Monitoring & debugging
Code generator - single table query crud - generator
理解 YOLOV1 第一篇 预测阶段
[teacher Zhao Yuqiang] calculate aggregation using MapReduce in mongodb
Kubesphere - Multi tenant management
[video of Teacher Zhao Yuqiang's speech on wot] redis high performance cache and persistence
Zhiniu stock -- 03
Oauth2.0 - use database to store client information and authorization code
pytorch 多分类中的损失函数