当前位置: 首页 > 编程日记 > 正文

OCP-052 053部分答案解析

OCP~052

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

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

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

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

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

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

26.

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.

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

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

132.

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

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

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

OCP~053

51.

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.

52.

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.

58. 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.

66. 手动管理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)

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

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

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

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

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

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

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

转载于:https://www.cnblogs.com/ivictor/p/3736250.html

相关文章:

您的用户界面是您产品不会因心灵感应而谦卑的补偿

by Morten Just由Morten Just 您的用户界面是您产品不会因心灵感应而谦卑的补偿 (Your UI is your product’s humble compensation for not being telepathic) 拿一些产品,然后继续问“这是要补偿什么?” 最终您将得到相同的答案。 这个答案可能就是为…

9、 Struts2验证(声明式验证、自定义验证器)

1. 什么是Struts2 验证器 一个健壮的 web 应用程序必须确保用户输入是合法、有效的.Struts2 的输入验证 基于 XWork Validation Framework 的声明式验证:Struts2 提供了一些基于 XWork Validation Framework 的内建验证程序. 使用这些验证程序不需要编程, 只要在一个…

java中使用队列:java.util.Queue

在java5中新添加了java.util.Queue接口,用以支持队列的常见操作。该接口扩展了java.util.Collection接口。Queue使用时要尽量避免Collection的add()和remove()方法,而是要使用offer()来添加元素,使用poll()来获取并移出元素。它们的优点是通过…

xCode BuildSetting 设置

一 编译选项设置 1 Optimization Level 编译器的优化级别 编译策略是对代码编译过程的优化,优化后的代码效率比较高,但是可读性比较差,且编译时间更长。 release模式设置为Fastest, Smallest[-Os] Debug模式设置为None 设置参数None编译器不会尝试优…

react绑定this_React绑定模式:处理“ this”的5种方法

react绑定thisJavaScript’s this keyword behavior has confused developers for ages.JavaScript的this关键字行为使开发人员困惑了很长时间。 There are at least five ways to handle the this context in React. Let’s consider the merits of each approach.在React中至…

php 文件限速下载代码

<?php include("DBDA.class.php"); $db new DBDA(); $bs $_SERVER["QUERY_STRING"]; //获取由提交界面传过来的参数 $bss substr($bs,3); //截取 后面的值$sql "select video from shangpin where id{$bss}"; //获取视频文件路径 $s…

【Java】Linux下安装配置Oracle JDK 1.7版本

1 环境 Vmware虚拟机中的Ubuntu 12.04 32位系统 2具体安装步骤 ①下载最新的jdk包 注意jdk区分32位版本和64位版本&#xff0c;要与Ubuntu兼容才行 下载地址 http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html ②创建一个目录&#xff0c;…

Swift 换肤方案的实现使用SwiftTheme框架

SwiftTheme 框架进行换肤 本地创建多个plist文件 设置不同图片颜色数组 飞机票 demo Foundationimport SwiftTheme// 创建一个枚举类型进行换肤 enum ChangeTheme:Int {case theme1 0;case theme2 1;case theme3 2;// 创建一个静态方法去换肤 去加载本地的plist文件stati…

linux生日_代码简介:让我们用25个Linux事实来庆祝Linux的25岁生日。

linux生日Here are three stories we published this week that are worth your time:这是我们本周发布的三个值得您关注的故事&#xff1a; Linux is 25. Yay! Let’s celebrate with 25 stunning facts about Linux: 6 minute read Linux是25。是的&#xff01; 让我们用有关…

网页中;window.onerror=function(){return!0};

在浏览网页的时候发现一段&#xff1a;window.οnerrοrfunction(){return!0}; 于是就顺手点了搜索&#xff0c;发现是被 adsafe关闭了 。 把adsafe退出就能显示了。 转载于:https://www.cnblogs.com/Tiramisu001/p/6136931.html

xib 拖关联控件的时候报Could not insert new outlet connection错误

~/Library/Developer/XCode/DerivedData 目录中删除对应的项目文件 重新打开工程即可

hdu 4901

计数dp 做不出来真是惭愧。。。 #include <cstdio> #include <cstdlib> #include <cmath> #include <stack> #include <vector> #include <sstream> #include <cstring> #include <string> #include <map> #include <…

初创企业股权架构_初创企业如何以每月不到200美元的价格利用生产级基础架构...

初创企业股权架构Before you can launch a new service, you need infrastructure. You want reliability, scalability, and many other -ilities. But you don’t want to break the bank.在启动新服务之前&#xff0c;您需要基础架构。 您需要可靠性&#xff0c;可伸缩性和许…

git review devops过程

自己搭建的devops环境是gitlab/gerrit/jenkins 1. 首先自己checkout一个自己的代码分支&#xff0c;一般不要在master上做直接修改 2. 修改后git add file, git commit 3. git review 4. jenkins自动部署测试 5. 人工review代码&#xff0c;如果可以就提交并merge&#xff0c;…

swift判断iPhone 各种型号

// iPhoneXR let iPhoneXR:Bool __CGSizeEqualToSize(CGSize(width: 828, height: 1792), UIScreen.main.currentMode?.size ?? CGSize(width: 0, height: 0)); // iPhoneX let iPhoneX:Bool __CGSizeEqualToSize(CGSize(width: 1125, height: 2436), UIScreen.main.curr…

轻有力读后感ppt_如果您希望招聘人员认真对待您,请建立强有力的个人叙述。...

轻有力读后感pptby Garreth Dottin通过Garreth Dottin 如果您希望招聘人员认真对待您&#xff0c;请建立强有力的个人叙述。 (If you want recruiters to take you seriously, build a strong personal narrative.) We’ve all been there. Hunched over a desk. Scrolling th…

每天一个linux命令(10):cat 命令

cat命令的用途是连接文件或标准输入并打印。这个命令常用来显示文件内容&#xff0c;或者将几个文件连接起来显示&#xff0c;或者从标准输入读取内容并显示&#xff0c;它常与重定向符号配合使用。 1&#xff0e;命令格式&#xff1a; cat [选项] [文件]... 2&#xff0e;命令…

Swift 中使用Alamofire 免证书的设置

let manager SessionManager.defaultmanager.delegate.sessionDidReceiveChallenge {session,challenge inreturn (URLSession.AuthChallengeDisposition.useCredential,URLCredential(trust:challenge.protectionSpace.serverTrust!))}

“System.Data.OracleClient.OracleConnection”已过时

处理办法&#xff1a; 在oracle 安装目录下 找到 Oracle.DataAccess.dll添加引用&#xff0c;然后 using Oracle.DataAccess.Client;其他的都不用动&#xff0c;即可。连接字符串中 如有 用的是 userxxx 就改成user idxxx把原来 Using 的System.Data.OracleClient去掉即可。 --…

我开发的代码,如何申请版权_代码简介:我花了3个月时间申请开发人员职位。 这是我学到的。...

我开发的代码,如何申请版权Here are three stories we published this week that are worth your time:这是我们本周发布的三个值得您关注的故事&#xff1a; I spent 3 months applying to jobs after a coding bootcamp. Here’s what I learned: 5 minute read 编码训练营结…

Chapter 2 Open Book——29

Which left me with nothing to do but try to not look at him…unsuccessfully. 我没什么事情可以做但是我尝试不去看他&#xff0c;但是失败了。 I glanced up, and he was staring at me, that same inexplicable look of frustration in his eyes. 我瞥了一眼&#xff0c;…

js回调与异步加载的用法

以前还是菜鸟的时候&#xff08;虽然现在依然很菜 -_-|| &#xff09;对异步加载与回调函数的技术无比向往&#xff0c;但也一直没有使用过&#xff0c;这次因为页面逻辑太过复杂&#xff0c;一堆请求逻辑&#xff0c;如果还是用顺序请求&#xff0c;页面的速度。。。 领导又要…

Swift 字符串去除换行符空格符

capitalizedLetters&#xff1a;大写controlCharacters&#xff1a;控制符 whitespacesAndNewlines&#xff1a;空格换行 decimalDigits&#xff1a;小数 letters&#xff1a;文字 lowercaseLetters&#xff1a;小写字母 uppercaseLetters&#xff1a;大写字母 nonBaseCharacte…

谈论源码_6,000名自由职业者谈论金​​钱,幸福和对未来的希望

谈论源码More than 6,000 US-based freelancers responded to a new in-depth survey. I dug through the data and pulled out the most interesting insights, which paint a picture of optimistic professionals who have taken control of their own destiny.超过6,000名美…

第一篇随笔——新的开端

新的开端 这是我第一次开通博客也是第一次在博客上写随笔&#xff0c;这既是博客的新开端也是JAVA学习的新开端&#xff0c;希望能好好经营这第一个博客~。 觉得自己专业吗&#xff1f;对专业的期望 对于这个问题我不得不坦然承认虽然进入信安专业已经有一年的时间了&#xff0…

快速入门linux系统的iptables防火墙 1 本机与外界的基本通信管理

概述 iptables是一种运行在linux下的防火墙组件&#xff0c;下面的介绍可以快速的学习iptables的入门使用。 特点&#xff08;重要&#xff09; 它的工作逻辑分为 链、表、规则三层结构。数据包通过的时候&#xff0c;在对应表中&#xff0c;规则从上向下匹配&#xff0c;匹配到…

iOS 根据数组中的字典的value值进行排序

NSMutableArray *resArr [NSMutableArray array];// 先把所有值的装进一个数组中NSMutableArray *valArr [NSMutableArray array];for (int i 0; i < arr.count; i ) {NSDictionary *dic arr[i];NSString * str [NSString stringWithFormat:"%-%d",dic["…

矢量数编码有哪几种类型_6种最理想的编码工作(以及吸引每个人的类型)

矢量数编码有哪几种类型by David Venturi大卫文图里(David Venturi) 6种最理想的编码工作(以及吸引每个人的类型) (The 6 most desirable coding jobs (and the types of people drawn to each)) Free Code Camp问了15,000个人&#xff0c;他们是谁&#xff0c;以及他们如何学…

sleep和wait到底什么区别

wait是在当前线程持有wait对象锁的情况下&#xff0c;暂时放弃锁&#xff0c;并让出CPU资源&#xff0c;并积极等待其它线程调用同一对象的notify或者notifyAll方法。注意&#xff0c;即使只有一个线程在等待&#xff0c;并且有其它线程调用了notify或者notifyAll方法&#xff…

Swift Code Snippet

1 swi_crecell func numberOfSections(in tableView: UITableView) -> Int {return 1;}func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {return 5;}// cell高度func tableView(_ tableView: UITableView, heightForRowAt indexPa…