search
HomeDatabaseMysql TutorialOracle dba培训教程 第一章 Oracle的体系结构

Oracle 在使用任何的DML和DDL操作改变数据之前都将恢复所需的信息,在写数据库高速缓冲区之前,先写入重做日志缓冲区。与查询语句

小结:

1.在数据库(数据文件)中所存的数据是否一致?

在数据库关闭的情况下应该一致;在数据库非正常关闭的情况下应该不一致;在数据库开启的情况下可能

存在不一致的数据。

2.数据库写进程是提交之前把在数据库高速缓冲区中的数据写入到数据文件中还是在提交之后写呢?

可能在之前写也可能在之后写。

应该掌握的内容:

1.在数据库系统中什么是稀有资源?

内存

2.Oracle服务器的组成?

oracle数据库,oracle实例

3.oracle体系结构的轮廓?

包括oracle服务器,oracle其他的关键文件(password file,parameter file,archived redo log

file),用户进程,服务器进程等。

4.oracle实例?

oracle实例是一种访问数据库的机制,它由内存结构(share pool,database buffer cache,redo log

buffer和其他一些结构)和一些后台进程(SMON,PMON,CKPT,DBWR,LGWR等)组成,实例一旦启动,则分配

SGA和所需的后台进程,,每个实例只能操作其对应一个数据库。

5.服务器的三种安装方式?

基于主机方式:用户可直接在安装了oracle的计算机上登录oracle数据库。

客户端—服务器(两层模型):数据库和客户终端分别安装在不同的计算机上,用户可以通过网络从个人

计算机上访问数据库

客户端—应用服务器—服务器(三层模型):用户首先从自己的个人计算机登录应用服务器,在通过应用

服务器访问真正的数据库。

6.oracle引入实例的目的?

作为一种连接数据库的机制。

7.oracle数据库(物理/外存结构)?

oracle数据库时数据的一个集合,oracle把这些数据作为一个完整的单位来处理。由数据文件,重做日志

文件,控制文件组成。

8.oracle其他的几个关键文件?

初始化参数文件,密码文件,归档重做日志文件。

9.怎样建立与实例的连接?

基于主机方式:通过操作系统内部进程通信(inter process communication,IPC)实现客户端-服务器:利用网络协议

客户端-应用服务器-服务器:用户的个人计算机通过网络与应用服务器通信,应用服务器又通过网络与运行数据库的计算机相连。

10.服务器进程和程序全局区?

当用户连接oracle服务器时,oracle就在该服务器所在计算机上创建一个服务器进程,负责对数据库操作。

当Oracle创建一个服务器进程的同时要为该服务器进程分配一个内存区,该内存区称为程序全局区,是一个私有的内存区,不能共享,且只属于一个进程。

PGA包括以下结构:排序区,游标状态区,会话信息区,堆栈区。

linux

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
What Are the Limitations of Using Views in MySQL?What Are the Limitations of Using Views in MySQL?May 14, 2025 am 12:10 AM

MySQLviewshavelimitations:1)Theydon'tsupportallSQLoperations,restrictingdatamanipulationthroughviewswithjoinsorsubqueries.2)Theycanimpactperformance,especiallywithcomplexqueriesorlargedatasets.3)Viewsdon'tstoredata,potentiallyleadingtooutdatedinforma

Securing Your MySQL Database: Adding Users and Granting PrivilegesSecuring Your MySQL Database: Adding Users and Granting PrivilegesMay 14, 2025 am 12:09 AM

ProperusermanagementinMySQLiscrucialforenhancingsecurityandensuringefficientdatabaseoperation.1)UseCREATEUSERtoaddusers,specifyingconnectionsourcewith@'localhost'or@'%'.2)GrantspecificprivilegeswithGRANT,usingleastprivilegeprincipletominimizerisks.3)

What Factors Influence the Number of Triggers I Can Use in MySQL?What Factors Influence the Number of Triggers I Can Use in MySQL?May 14, 2025 am 12:08 AM

MySQLdoesn'timposeahardlimitontriggers,butpracticalfactorsdeterminetheireffectiveuse:1)Serverconfigurationimpactstriggermanagement;2)Complextriggersincreasesystemload;3)Largertablesslowtriggerperformance;4)Highconcurrencycancausetriggercontention;5)M

MySQL: Is it safe to store BLOB?MySQL: Is it safe to store BLOB?May 14, 2025 am 12:07 AM

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

MySQL: Adding a user through a PHP web interfaceMySQL: Adding a user through a PHP web interfaceMay 14, 2025 am 12:04 AM

Adding MySQL users through the PHP web interface can use MySQLi extensions. The steps are as follows: 1. Connect to the MySQL database and use the MySQLi extension. 2. Create a user, use the CREATEUSER statement, and use the PASSWORD() function to encrypt the password. 3. Prevent SQL injection and use the mysqli_real_escape_string() function to process user input. 4. Assign permissions to new users and use the GRANT statement.

MySQL: BLOB and other no-sql storage, what are the differences?MySQL: BLOB and other no-sql storage, what are the differences?May 13, 2025 am 12:14 AM

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

MySQL Add User: Syntax, Options, and Security Best PracticesMySQL Add User: Syntax, Options, and Security Best PracticesMay 13, 2025 am 12:12 AM

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

MySQL: How to avoid String Data Types common mistakes?MySQL: How to avoid String Data Types common mistakes?May 13, 2025 am 12:09 AM

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools