OCP~052

. GRANT ANY OBJECT PRIVILEGE(授予任何对象权限):允许被授权人将其本身不拥有的对象的对象权限授予他人,但不能授予自己。

. ENABLE VALIDATE 无法输入违反约束的行,而且表中的所有行都符合约束

DISABLE NOVALIDATE 可以输入任何数据(无论是否符合要求),表中可能已经存在不合乎要求的数据

ENABLE NOVALIDATE 表中可以存在不合乎要求的数据,但现在输入的所有数据必须符合要求

DISABLE VALIDATE 这种情况不可能:表中所有数据都符合约束,但新行未必如此。最终结果是针对DML命令锁定表

. 共享池主要包括以下4个组件:库缓存(库缓存是内存区域,按其已分析的格式存储最近执行的代码);数据字典缓存(它存储最近使用的对象定义:表、索引、用户和其他元数据定义的描述);PL/SQL区(存储的PL/SQL对象是过程、函数、打包的过程、打包的函数、对象类型定义和触发器。它们全都像源代码那种存储在数据字典中,也使用已编译的个数);SQL查询和PL/SQL函数结果缓存

.

UNDO_TABLESPACE specifies the undo tablespace to be used when an instance starts up. If this parameter is specified when the instance is in manual undo management mode, then an error will occur and startup will fail.

If the UNDO_TABLESPACE parameter is omitted, the first available undo tablespace in the database is chosen. If no undo tablespace is available, the instance will start without an undo tablespace. In such cases, user transactions will be executed using the SYSTEM rollback segment. You should avoid running in this mode under normal circumstances.

You can replace an undo tablespace with another undo tablespace while the instance is running.

. DB_EXTENDED:与DB的作用大体相同,不过包含生成审核记录的、具有绑定变量的SQL内容

. DRA只能用于单实例数据库的环境。它不能用于RAC群集数据库,也不能用于Data Guard备用数据库

.

1.tnsping 命令可以检查tcp协议是否已通,俗称我们说的网络通不通

2.tnsping命令监听服务器上的监听是否已开启

3.tnsping命令不检测服务器上的监听的服务名,所以tnsping通,不代表就能连通。

OCP~053

.

1> SEC_PROTOCOL_ERROR_FURTHER_ACTION specifies the further execution of a server process when receiving bad packets from a possibly malicious client.

2> SEC_PROTOCOL_ERROR_FURTHER_ACTION = { CONTINUE | (DELAY,integer) | (DROP,integer) }

3> (DROP,integer)

The server forcefully terminates the client connection after integer cumulative bad packets. The server protects itself at the expense of the client (for example, a client transaction may be lost). The client may reconnect and attempt the same operation.

.

1> DB_SECUREFILE specifies whether or not to treat LOB files as SecureFiles.DB_SECUREFILE = { NEVER | PERMITTED | ALWAYS | IGNORE }

2> DB_ULTRA_SAFE sets the default values for other parameters that control protection levels.DB_ULTRA_SAFE = { OFF | DATA_ONLY | DATA_AND_INDEX },

  • DATA_ONLY

    • DB_BLOCK_CHECKING will be set to MEDIUM.

    • DB_LOST_WRITE_PROTECT will be set to TYPICAL.

    • DB_BLOCK_CHECKSUM will be set to FULL.

. Baseline Templates

You can also create baselines for a contiguous time period in the future using baseline templates. There are two types of baseline templates: single and repeating.

You can use a single baseline template to create a baseline for a single contiguous time period in the future. This technique is useful if you know beforehand of a time period that you intend to capture in the future. For example, you may want to capture the AWR data during a system test that is scheduled for the upcoming weekend. In this case, you can create a single baseline template to automatically capture the time period when the test occurs.

You can use a repeating baseline template to create and drop baselines based on a repeating time schedule. This is useful if you want Oracle Database to automatically capture a contiguous time period on an ongoing basis. For example, you may want to capture the AWR data during every Monday morning for a month. In this case, you can create a repeating baseline template to automatically create baselines on a repeating schedule for every Monday, and automatically remove older baselines after a specified expiration interval, such as one month.

. 手动管理SGA的参数如下:SHARED_POOL_SIZE,DB_CACHE_SIZE,LARGE_POOL_SIZE,STREAMS_POOL_SIZE,JAVA_POOL_SIZE。要启用     SGA自动管理,则需要将上述参数设置为0,并设置SGA_TARGET来启用自动共享内存管理(automatic shared memory management,ASSM)

. CHANGE FAILURE in RMAN,enables you to change priority or close failures recorded in the Automatic Diagnostic Repository.

. Health Monitor是一组检查,会在特定错误条件出现时自动运行,也可以根据DBA的指示以手动方式运行。检查结果不存储在数据库,而存储在文件系统 中。其原因在于,一些错误的性质决定了数据库不再可用:因此,需要一个外部知识库来存储Health Monitor的结果。该知识库就是ADR。

只能在不同阶段运行不同的Health Monitor检查:

在nomount阶段,仅运行“DB Structure Integrity”检查,而且它只检查控制文件的完成性。

在mount阶段,“DB Structure Integrity”检查将检查控制文件、联机重做日志文件和数据文件头的完整性,还可运行“Redo Integrity Check”,以检查联机和归档日志文件的可访问性及其是否受损。

在open阶段,可能运行扫描每个数据块是否受损的检查,并检查数据字典和撤销段的完整性。

. RMAN supports two basic types of duplication: active database duplication and backup-based duplication

OCP-052 & 053部分答案解析的更多相关文章

  1. 【OCP|052】OCP最新题库解析(052)--小麦苗解答版

    [OCP|052]OCP最新题库解析(052)--小麦苗解答版 OCP最新题库解析历史连接(052):http://mp.weixin.qq.com/s/bUgn4-uciSndji_pUbLZfA ...

  2. PHP面试题2019年阿里巴巴面试题及答案解析

    一.单选题(共27题,每题5分) 1.Memcache与Redis的比较错误的是? A.Memcache过期后,不删除缓存,会导致下次取数据数据的问题,Redis有专门线程,清除缓存数据: B.Mem ...

  3. PHP面试题及答案解析(8)—PHP综合应用题

    1.写出下列服务的用途和默认端口. ftp.ssh.http.telnet.https ftp:File Transfer Protocol,文件传输协议,是应用层的协议,它基于传输层,为用户服务,它 ...

  4. PHP面试题及答案解析(7)—Linux系统命令

    1.请解释下列10个shell命令的用途.top.ps.mv.find.df.cat.chmod.chgrp.grep.wc top:该命令提供了实时对系统处理器状态的监控,它能够实时显示系统中各个进 ...

  5. PHP面试题及答案解析(5)—数据结构与算法

    1.使对象可以像数组一样进行foreach循环,要求属性必须是私有.(Iterator模式的PHP5实现,写一类实现Iterator接口) <?php class Test implements ...

  6. PHP面试题及答案解析(6)—PHP网络编程

    1.禁用COOKIE后SEESION还能用吗? 可以,COOKIE和SESSION都是用来实现会话机制的,由于http协议是无状态的,所以要想跟踪一个用户在同一个网站之间不同页面的状态,需要有这么一个 ...

  7. PHP面试题及答案解析(4)—PHP核心技术

    1.写出一个能创建多级目录的PHP函数. <?php /** * 创建多级目录 * @param $path string 要创建的目录 * @param $mode int 创建目录的模式,在 ...

  8. PHP面试题及答案解析(3)—MySQL数据库

    1.mysql_num_rows()和mysql_affected_rows()的区别. mysql_num_rows()和mysql_affected_rows(),这两个函数都作用于 mysql_ ...

  9. PHP面试题及答案解析(2)—PHP面向对象

    1. 写出 php 的 public.protected.private 三种访问控制模式的区别. public:公有,任何地方都可以访问protected:继承,只能在本类或子类中访问,在其它地方不 ...

随机推荐

  1. NSDate

    NSDate : NSDate *date = [NSDate date];获取当前日期 NSDate 可以进行比较,通过earlierDate:方法获取二个日期中最早的. NSDate 通过late ...

  2. iOS 7 UI Transition – Porting View Controller Layouts from iOS 6

    http://www.mobinett.com/2013/08/19/ios7-ui-transition-porting-view-controller-layouts-ios6/

  3. UEditor编辑器并不难

    1.背景:        其实学习UEditor本该在这之前就应该学习整合到自己的项目中的了,第一次接触UEditor是在暑假期间,当时做东西在师兄的代码中发现了这东西,心想:卧槽,竟然可以这样整合别 ...

  4. day10---multiprocess 多进程

    multiprocess Queue  \ Pipe 只是实现进程间数据的传递 Manager 实现了进程间数据的共享,即多个进程可以修改同一份数据   进程模块 multiprocessing #! ...

  5. 初步了解yield_python

    yield 关键字是在学习python生成器(Generator)时遇到的,对于它及Generator至今我还不能很深入的理解,当前只是把所理解的知识作下记录,以便以后翻查. yield关键字是用来定 ...

  6. Constructing Roads In JGShining's Kingdom(HDU1025)(LCS序列的变行)

    Constructing Roads In JGShining's Kingdom  HDU1025 题目主要理解要用LCS进行求解! 并且一般的求法会超时!!要用二分!!! 最后蛋疼的是输出格式的注 ...

  7. FreeRTOS和Ucos在任务优先级的区别

    而ucos的任务优先级是任务优先级的数组越小,任务优先级越高.和STM32的中断优先级保持一样的分析,和freeRTOS相反.

  8. jQuery给标签写入内容

    使用原生js时可以用 document.getElementById("divID").innerHTML = "div的显示值" 来赋值: 而在使用jQuer ...

  9. nohup

    在启动weblogic的时候我们经常看到如下的命令: nohup ./startWebLogic.sh >out.log 2>&1 & 从09年开始用weblogic到现在 ...

  10. hadoop 笔记(hbase)

    hbase 基础: hbase是基于列的数据,其数据模式如下: 1.安装 1.1)hbase安装分为单机.伪分布式.分布式,单机下安装不依赖于hadoop:因为不需要分布式文件系统支持: 1.2)安装 ...