zoukankan      html  css  js  c++  java
  • OCP题库笔记1z0052

    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在实例重启后能存储变化

    17 哪些操作需要undo data
    闪回一个transaction
    回复一个失败的会话
    运行一个read-consistent查询

    18 关于表空间脱机
    有四个选项:
    NORMAL,TEMPORARY,IMMEDIATE,FOR RECOVERY
    暂时没搞清楚区别,以后再说。
  • 相关阅读:
    软件体系架构复习要点
    Operating System on Raspberry Pi 3b
    2019-2020 ICPC North-Western Russia Regional Contest
    2019 ICPC ShenYang Regional Online Contest
    2019 ICPC XuZhou Regional Online Contest
    2019 ICPC NanChang Regional Online Contest
    2019 ICPC NanJing Regional Online Contest
    Codeforces Edu Round 72 (Rated for Div. 2)
    Codeforces Round #583 (Div.1+Div.2)
    AtCoder Beginning Contest 139
  • 原文地址:https://www.cnblogs.com/wingsless/p/2285362.html
Copyright © 2011-2022 走看看