码迷,mamicode.com
首页 > 数据库 > 详细

我的数据库OCP

时间:2017-05-03 01:17:53      阅读:286      评论:0      收藏:0      [点我收藏+]

标签:ocp

 监听的作用就是给客户端电脑和中心数据库电脑建立数据的连接。一旦建立连接就不对两者造成任何影响,连接上的客户端上的用户可以做任何操作和查询,哪怕监听已经关闭或者被破坏,只是在停止后新的远程连接不能再连接到数据库。



UNDO表空间的用途:

    1.  Rolling back a transaction explicitly with a ROLLBACK statement
    2.  Rolling back a transaction implicitly (for example, through recovery of a failed transaction)
    3.  Reconstructing a read-consistent image of data
    4.  Recovering from logical corruptions . 

1)回滚事务: rollback
2)读一致性:正在做 DML 操作的数据块,事务结束前,其他用户读 undo 里面的数据前
镜像
3)实例的恢复: instance recover(undo -------->rollback)
4)闪回技术 : flashback query、 flashback table 等


因为数据库异常停止,则在数据库发出最后一个检查点到数据库异常停止这段时间内的改变只是记录到了重做日志文件中,还未被写到数文件中,所以,在进行数据库实例恢复的过程中,需要最后一个检查点后所有的重做日志文件,将相应的改变写到数据文件中去。



增加非空约束是使用modify而不是ADD CONSTRAINT



确定下面那两种情况你可以使用Data Recovery Advisor来恢复?

the one when you cannot start up the database (because required database files are missing, inconsistent, or corrupted) and the one when file corruptions are discovered during run time.  

A.  The database files are corrupted when the database is open 

D.  The database is not opening because the required database files are missing


 延迟完整性约束。

http://bbs.cqsztech.com/forum.php?mod=viewthread&tid=516



角色:

http://bbs.cqsztech.com/forum.php?mod=viewthread&tid=509



SQL调优。

http://bbs.cqsztech.com/forum.php?mod=viewthread&tid=518


 数据库里那两种文件在RMAN里可以通过自动备份功能配置为自动备份?

 The automatic backup of the control file occurs independently of any backup of the current control file explicitly requested as part of your backup command. If you enable control file autobackups, then RMAN automatically backs up the control file and the current server parameter file。



SQL*LOADER

http://bbs.cqsztech.com/forum.php?mod=viewthread&tid=521



在下面那种情况下即使参数UNDO_RETENTION指定了值也可能被忽略?

For fixed-size undo tablespaces, the system automatically tunes for the best possible undo retention period on the basis of undo tablespace size and usage history; it ignores UNDO_RETENTION unless retention guarantee is enabled.




你想要使包含在平面文件中的员工信息作为EMPLOYEES的一部分去访问,因此你打算为EMPLOYEES表增加一个列来实现;
      这个新的列你将使用那种数据类型?

      CLOB使用CHAR来保存数据。 
  BLOB就是使用二进制保存数据。 
      BFILE 的数据是存储在操作系统文件中的,而不是在数据库中。 
      LING RAW此数据类型用于存储不是由 Oracle 解释的二进制数据.








我的数据库OCP

标签:ocp

原文地址:http://11815879.blog.51cto.com/11805879/1921276

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!