Home Database Mysql Tutorial Oracle dba培训教程 第一章 Oracle的体系结构

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

Jun 07, 2016 pm 05:18 PM

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 of this Website
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

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Reduce the use of MySQL memory in Docker Reduce the use of MySQL memory in Docker Mar 04, 2025 pm 03:52 PM

This article explores optimizing MySQL memory usage in Docker. It discusses monitoring techniques (Docker stats, Performance Schema, external tools) and configuration strategies. These include Docker memory limits, swapping, and cgroups, alongside

How to solve the problem of mysql cannot open shared library How to solve the problem of mysql cannot open shared library Mar 04, 2025 pm 04:01 PM

This article addresses MySQL's "unable to open shared library" error. The issue stems from MySQL's inability to locate necessary shared libraries (.so/.dll files). Solutions involve verifying library installation via the system's package m

How do you alter a table in MySQL using the ALTER TABLE statement? How do you alter a table in MySQL using the ALTER TABLE statement? Mar 19, 2025 pm 03:51 PM

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Run MySQl in Linux (with/without podman container with phpmyadmin) Run MySQl in Linux (with/without podman container with phpmyadmin) Mar 04, 2025 pm 03:54 PM

This article compares installing MySQL on Linux directly versus using Podman containers, with/without phpMyAdmin. It details installation steps for each method, emphasizing Podman's advantages in isolation, portability, and reproducibility, but also

What is SQLite? Comprehensive overview What is SQLite? Comprehensive overview Mar 04, 2025 pm 03:55 PM

This article provides a comprehensive overview of SQLite, a self-contained, serverless relational database. It details SQLite's advantages (simplicity, portability, ease of use) and disadvantages (concurrency limitations, scalability challenges). C

Running multiple MySQL versions on MacOS: A step-by-step guide Running multiple MySQL versions on MacOS: A step-by-step guide Mar 04, 2025 pm 03:49 PM

This guide demonstrates installing and managing multiple MySQL versions on macOS using Homebrew. It emphasizes using Homebrew to isolate installations, preventing conflicts. The article details installation, starting/stopping services, and best pra

How do I configure SSL/TLS encryption for MySQL connections? How do I configure SSL/TLS encryption for MySQL connections? Mar 18, 2025 pm 12:01 PM

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)? What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)? Mar 21, 2025 pm 06:28 PM

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

See all articles