---
title: "OCP题库笔记1z0-052"
author: "core_qq"
date: "2011-12-12T23:24:34Z"
tags: []
categories: ["数据库"]
slug: "ocp-1z0-052"
draft: false
lastmod: "2011-12-18T16:59:20Z"
id: 1307599
url: "https://core-qq.iteye.com/blog/1307599"
---

1 关于undo

数据库可以有一个以上的undo表空间；

undo段可以自动增长，按需shrink

2 关于Oracle Data Dump export和import

import操作同时可以更改表名；

可以在export操作期间重写一个存在的dumpfile。

3 关于无效索引

会被优化器忽略；

只能通过rebuild生效。

4 关于监听

多个监听能运行在一个主机上；

多个数据库能注册在一个监听上。

5 关于ADDM

ADDM runs after each AWR snapshot is collected automatically by MMON.

The results of the ADDM analysis are stored in th AWR.

6 关于Checkpoint

It ensures that all committed data is written to the data files during normal shutdown.

The frequent full checkpoint in a database can cause the overall degradation of the database performance.

7关于B-tree索引

The leaf blocks in the index are doubly linked.

The deletion of a row frin the table cause a logical deletion in index leaf block and the space becomes available for the nre leaf entry.

8 关于会话

Multiple transactions can use the same undo segment.

A transaction is assigned an undo segment when it is started.

9 关于临时表

临时表上可以建立索引和视图；

临时表总是在临时表空间上创建；

临时表上不会出现DML锁；

临时表的数据记录会保持到会话结束

10 关于SQL\*Loader direct path时，约束的问题：

会保持enable状态的约束：

UNIQUE

NOT NULL

PRIMARY KEY

11 有关断电

断电之后，再启动数据库，没有提交的会话会自动回滚

12 关于数据字典

数据字典视图全部在SYSTEM表空间中；

数据字典视图属于SYS用户。

13 关于Oracle Data Dump

EXPDP和IMPDP都是Oracle Data Dump的组件。

14 关于oracle的逻辑存储结构

一个区间只能隶属于一个数据文件

一个数据文件只能属于一个表空间

一个段可以跨数据文件

15 关于用户被锁

用户无法再登陆数据库实例

其他用户可以成功访问被锁用户的对象

16 关于SPFILE

SPFILE是二进制文件

An SPFILE cannot reside on a client.

spfile在实例重启后能存储变化