OCP-052 & 053部分答案解析
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通,不代表就能连通。
.
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 toMEDIUM
.DB_LOST_WRITE_PROTECT
will be set toTYPICAL
.DB_BLOCK_CHECKSUM
will be set toFULL
.
. 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部分答案解析的更多相关文章
- 【OCP|052】OCP最新题库解析(052)--小麦苗解答版
[OCP|052]OCP最新题库解析(052)--小麦苗解答版 OCP最新题库解析历史连接(052):http://mp.weixin.qq.com/s/bUgn4-uciSndji_pUbLZfA ...
- PHP面试题2019年阿里巴巴面试题及答案解析
一.单选题(共27题,每题5分) 1.Memcache与Redis的比较错误的是? A.Memcache过期后,不删除缓存,会导致下次取数据数据的问题,Redis有专门线程,清除缓存数据: B.Mem ...
- PHP面试题及答案解析(8)—PHP综合应用题
1.写出下列服务的用途和默认端口. ftp.ssh.http.telnet.https ftp:File Transfer Protocol,文件传输协议,是应用层的协议,它基于传输层,为用户服务,它 ...
- PHP面试题及答案解析(7)—Linux系统命令
1.请解释下列10个shell命令的用途.top.ps.mv.find.df.cat.chmod.chgrp.grep.wc top:该命令提供了实时对系统处理器状态的监控,它能够实时显示系统中各个进 ...
- PHP面试题及答案解析(5)—数据结构与算法
1.使对象可以像数组一样进行foreach循环,要求属性必须是私有.(Iterator模式的PHP5实现,写一类实现Iterator接口) <?php class Test implements ...
- PHP面试题及答案解析(6)—PHP网络编程
1.禁用COOKIE后SEESION还能用吗? 可以,COOKIE和SESSION都是用来实现会话机制的,由于http协议是无状态的,所以要想跟踪一个用户在同一个网站之间不同页面的状态,需要有这么一个 ...
- PHP面试题及答案解析(4)—PHP核心技术
1.写出一个能创建多级目录的PHP函数. <?php /** * 创建多级目录 * @param $path string 要创建的目录 * @param $mode int 创建目录的模式,在 ...
- PHP面试题及答案解析(3)—MySQL数据库
1.mysql_num_rows()和mysql_affected_rows()的区别. mysql_num_rows()和mysql_affected_rows(),这两个函数都作用于 mysql_ ...
- PHP面试题及答案解析(2)—PHP面向对象
1. 写出 php 的 public.protected.private 三种访问控制模式的区别. public:公有,任何地方都可以访问protected:继承,只能在本类或子类中访问,在其它地方不 ...
随机推荐
- <<数字是世界的>>读后感
我对这本书的第一印象就是很多书评中提到的,这是一本无论是否有学习过计算机专业知识的人都可以读的书.我一开始不是很能理解这些评价,我是抱着对这个问题的疑惑进行通读的,以后我发现了,它全书中都很少出现计算 ...
- [poi2007] biu
题意:给定一个图,点n<=105,边m<=106,现在求它的补图有多少个联通分量.. 思路:很容易想到并查集,但是补图边太多了.. 于是只能优化掉一些多余的边.. 具体做法是用队列优化.. ...
- Android—LayoutInflater学习笔记
LayoutInflater的的主要用处:使用LayoutInflater来载入界面,类似于findViewById()在Activity中加载Widget组件一样.区别在于与LayoutInflat ...
- 使用Vs2012开发Metro时在另一台win8平板上调试的步骤
需求:开发一个metro应用,因为要给平面设计师参谋, 需要将软件安装在win8平板上. 环境:开发机是win8, win8平板是win8.1rtm , 是用老的win7平板改装的. 步骤: 1:拷 ...
- 普通用户使用dbms_xplan包需要有的权限
普通用户使用dbms_xplan包查看执行计划需要对v$sql.v$sql_plan.v$session及v$sql_plan_statistics_all这四个视图同时具有select权限. 如果普 ...
- linux系统添加硬盘方法
[root@wen /]# fdisk -l[root@wen /]# fdisk /dev/sdb[root@wen /]# mkfs -t ext3 -c /dev/sdb1[root@wen / ...
- Apache HTTP Server 2.2.26 发布
Apache遗留产品线2.2.26发布.2013-11-13 之前的版本是2013-07-02的2.2.25 同样先在开发目录下放出下载,然后放到正式目录下.修正了大量的Bug.目前的稳定版2.4系列 ...
- ehcache基本使用
maven <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache< ...
- 【Win10】UAP/UWP/通用 开发之 x:DeferLoadStrategy
[Some information relates to pre-released product which may be substantially modified before it's co ...
- 《kali linux 渗透测试初级教程》免费下载
Kali Linux系列教程是在51cto上售卖的入门教程,售价100元.每天都有很多网友找我要全部教程,也有人偷偷的录制了教程.索性公开出来,如果您觉得还可以的话,希望可以选择发个小红包或者转发 获 ...