文本062-题库解析121_第1页
文本062-题库解析121_第2页
文本062-题库解析121_第3页
免费预览已结束,剩余5页可下载查看

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、 B.Itmayadvisetheuseofsegmentshrinkfortablesindictionarymanagedtablespa no chained rows.it ItwilldetectandadvisehainedItmayadvisetheuseofsegmentshrinkforfreelistmanaged:如果Segment Advisor 确定一个对象有大量的空闲空间段收缩如果对象是不适合收缩的表,如没有自动段空间管理的表空间中的表的情况,Segment 建重新定义表;如果段顾问使用高级行压缩方法确定表可以从压缩中获益,那么它会对此提出建议;如Segment A

2、dvisor 遇到一个行 超过某个阈值的表,它该表有多余的Youhavealteredanon-uniqueindextobeinvisibletodetermineifqueriesexecutewithinan acceptable response time without using this index. esvisibleinordertohaveitupdatedbyDMLonthetable. ut the table is updated by the DML.TheesTheindexisupdatedbytheDMLontheCorrectAnswer:AE Sectio

3、n: (none) * Oracle11gallows indexestobe markedas invisible. Invisibleindexesaremaother index, but they are ignored by the optimizer unless the OPTIMIZER_USE_INVISIBLE_INDEXES parameter is set to TRUE at the instance or seslevel.Indexescanbecreatedasyusingthe executetheherootSQLCREATEROLESQLGRANTcrea

4、teview,createproceduretoc#role1; SQL GRANT c#role1 to c#a_admin;ementsareTheC#ROLE1roleisherootdatabaseandalltheSQLGRANTcreateview,createproceduretoc#role1; SQL GRANT c#role1 to c#a_admin;ementsareTheC#ROLE1roleisherootdatabaseandallthe C. PrivilegesaregrantedtotheC#A_ADMINuserherootD. Privilegesare

5、grantedtotheC#A_ADMIN E. TheExplanation:把权限或者角给某个用户的时候如果没有加上container all,则只是给前的容器(cdb 或者。它只支持 containerall,不支持 BACKUP YSTEM SECTION SIZE BACKUPARCHIVELOGALLSECTIONSIZEBACKUP TABLESPACE TEMP SECTION SIZE BACKUP TABLESPACE UNDO INCLUDE CURRENT CONTROLFILE SECTIONF. BACKUPSPFILESECTIONSIZE 错误是因为表空间名字加

6、了引号( 单引号和双引号都),所以语法也能够执行,但是spfile ascopyQUESTION CDB and execute the following SQLSTARTUPSQL FLASHBACK DATABASE toTIME TO_DATE(08/20/12 , Examine1.LUGGABLE DATABASE ALL ALTER DATABASE ALTER DATABASE OPEN Only Only Onlyd Correct Answer: C Section: (none) Explanation/Reference:Exle(seeRun tOnly Only O

7、nlyd Correct Answer: C Section: (none) Explanation/Reference:Exle(seeRun t he RMAN FLASHBACK dFLASHBACKDATABASETOSCNFLASHBACK FLASHBACK DATABASE TO TIME recoveredtothedsinSTARTUP MOUNTALTER DATABASE OPEN OracleDatabase12.1CDB ,Oracle12.2CDB PDB $sqlplus oracle/oracleprodassysdba SQL VAR eid NUMBERSQ

8、L EXEC:eid:= ementsareA. Databaseoperationswillbemonitoredonlywhentheyconsumeasignificantamountof B. DatabaseoperationsforallswillbeC. DatabaseoperationswillbemonitoredonlyiftheS TYPICALandCONTROL_MANAGEMENT_PACK_ACISTICS_LEVELparameterissetto S isset DIAGNISTIC+ TUNING.D. OnlyDMLandDDLementswillbem

9、onitoredforthe.E. All subsequent sbe monitored.hewillbetreatedasonedatabaseoperationandExplanation:添加监视以后,只能对以后的生效。ementsaretrueabouttheworkingofsystemprivilegesinamultitenantdatabasespluggabledatabasesExplanation:添加监视以后,只能对以后的生效。ementsaretrueabouttheworkingofsystemprivilegesinamultitenantdatabasesp

10、luggabledatabases Thegranterofsystemprivilegessesstheset user before the common user can grant privileges to other users.Explanation:每个pdb 里面的用户的权限只能在各pdb 中使其实cdb 还是 pdb,的地方是执行数据库都在一个 cdb 中,以为大家都有相同的权限。C 是系统的授予者必须拥有设置容器的是在通用用户可以向其他用户授予之前, 授予通用用户的系 (CDB) as a pluggable database (PDB).Thecharacteristi

11、csofthenon-CDBareas Characterset:O/S: Oracle Linux 6 64-bitThecharacteristicsoftheCDBareas Characterset:O/S:OracleLinux664-oTransportable database DataPumpfullexport/E. Explanation:12.1中,PDB的字符集与root容器必须保持一致,这样无形中造成了PDB照MOS12.2开始,同一个cdb中的各个PDB版本 12.2.0.1,在新创建 PDB 时并没有办法指定PDB 的字符集,因此只能和root 容器字 ernal

12、_use CDB 12.1 版本的,所以只能用导出导入方式迁移。YourdatabasehastheSRV1serviceconfiguredforantrunsonmiddle- ernal_use CDB 12.1 版本的,所以只能用导出导入方式迁移。YourdatabasehastheSRV1serviceconfiguredforantrunsonmiddle- byexecutingthe 1. eandactionstoaggregatethetracefilesareasfollows: dfails because a modulename is not specified.2

13、. AtracefileiscreatedforeachtisrunningtheSRV13.AnaggregatedtracefileiscreatedforallthetarerunningtheSRV1ThetracefilesmaybeaggregatedbyusingtheThetracefilesbeaggregatedbyusingthetkprofIdentifytheeandthesteptoaggregatebyusingtkprof12and3andSection: (none) o a single file.1、以 sys 用户执exec DBMS_MONITOR.S

14、ERV_MOD_ACT_TRACE_ENABLE 2、以srv1 SQL* 3、以 sys 用户查SQL selectp.tracefilefromsp,swherep.addr=s.paddrSQLselectsid,serial#,username,module,action,sql_trace,service_namefromv$ses where username =C#CUUG;4、用 trcsess 文件进行收 5、再用 tkprof 进行格式转换: connected totheHR_PDB.Youexecutethe WhatistheIt connected totheHR_

15、PDB.Youexecutethe WhatistheItcItfallsandreportsanerrorbecausetherecanbeonlyoneundotablespaceinaItfailsandreportsanerrorbecausetheCONTAINER=ALLclauseisnotspecified E. It Explanation:12.1 的版本只支持共享 undo 表空间,12.2 的版本支持pdb 本地undo 表空间 TheyaretiedtoaspecificementorSQLTheyinstruct thema enancejobto collectm

16、issingsgenerate a more optimal plan. D. Theyarecreatedfor a query expres estimatesbytheoptimizerareincorrect.whereisticsaremissingortheE. TheyinstructtheoptimizertocreateonlycolumngroupF. Improveplanaccuracy by persisting bothcompilationand executionsdirectives. During SQL compilation, the optimizer

17、 examines the queryTheoptimizerrecordsanymissings. Scallscollectisticsforthecorrespondingtothedirective.(B,notE:Currently,theoptimizermonitorsonlycolumngroups.Theoptimizerdoesnotcreatean on expresNotA:SQLplandirectivesarenottiedtoaspecificSQLementorSQLttheoptimizercanusegenerateamoreoptimalplan.Forl

18、e,aSQLplandirectivettheoptimizercanusegenerateamoreoptimalplan.Forle,aSQLplandirectiveYouwanttoflashback atest databasebyfivee(SYSDATE- ThedatabasemustbeMOUNTEDfortheflashbacktoThedatabasemust use block changetrackingfor theflashback tosucceed. Thedatabasemustbeopenedinrestrictedmodefortheflashbackt

19、osucceed.F. Thedatabasemustbeopenedinread-onlymodetocheckifthedatabasehasbeenflashed back to the correct SCN.:这个过程是闪回数据库的固定流程,出现的频率很高,大家一定要记住 A. TheMRKTtablespaceiscreatedasasmallfiletablespace,becausethefilesizeisless the minimum required for big file files.n Userswhowereusingtheolddefaulttablespac

20、ewillhavetheirdefaulttablespa to the MRKT tablespace.NomoredatafilescanbeaddedtotheTherelativefilenumberofthetablespaceisnotstoredinrowidsforthetablerows he MRKT tablespace.t 说MRKT 表空间可能会被drop 假如没有内容,其实能不能被删除不面,rowid 只是其内容包含了数据文件号。sterminatedafteraspecifiedperiodofSettingasterminatedafteraspecifiedperiodofSettingametricImplementingDatabaseResources Section: (none)是

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论