Oracle OCP 1Z0-050(11-15题)解析

QUESTION 11:

USER_DATA is a nonencrypted tablespace that contains a set of tables with data. You want to convert all existing data in the USER_DATA tablespace and the new data into the encrypted format. Which methods would you use to achieve this? (Choose all that apply.)

A. Encrypt the USER_DATA tablespace using the ALTER TABLESPACE statement so that all the data in the tablespace is automatically encrypted.

B. Use Data Pump to transfer the existing data to a new encrypted tablespace.

C. Use ALTER TABLE..MOVE to transfer the existing data to a new encrypted tablespace.

D. Enable row movement for each table to be encrypted and then use ALTER TABLESPACE to encrypt the tablespace.

E. Use CREATE TABLE AS SELECT to transfer the existing data to a new encrypted tablespace.

正确答案:B、C、E

【解析】

可以使用Data Pump 传输当前数据到一个新的加密的表空间;

可以使用 Alter Table Move... 传输当前数据到一个新的加密的表空间;

可以使用 Create Table as Select 移动当前数据到一个新的加密的表空间;

参考下文:

The following are restrictions for encrypted tablespaces:

  • You cannot encrypt an existing tablespace with an ALTER TABLESPACE statement. However, you can use Data Pump or SQL statements such as CREATETABLE AS SELECT or ALTER TABLE MOVE to move existing table data into an encrypted tablespace.

  • Encrypted tablespaces are subject to restrictions when transporting to another database. See "Limitations on Transportable Tablespace Use".

  • When recovering a database with encrypted tablespaces (for example after a SHUTDOWN ABORT or a catastrophic error that brings down the database instance), you must open the Oracle wallet after database mount and before database open, so the recovery process can decrypt data blocks and redo.

QUESTION 12:
Exhibit:

View the Exhibit to observe the error.

You receive this error regularly and have to shut down the database instance to overcome the error. What can the solution be to reduce the chance of this error in future, when implemented?

A. setting the PRE_PAGE_SGA parameter to TRUE

B. locking the SGA in memory

C. increasing the value of SGA_MAX_SIZE

D. automatic memory management

正确答案:D

【解析】

使用自动内存管理功能

QUESTION 13:

Which three are the valid statements in relation to SQL plan baselines? (Choose three.)

A. The plans generated for every SQL statement are stored in the SQL plan baseline by default.

B. The plans can be manually loaded to the SQL plan baseline.

C. The plan baselines are stored temporarily in the memory as long as the database instance is running.

D. The plans in the SQL plan baseline are verified and accepted plans.

E. For the SQL plan baselines to be accessible to the optimizer, the SYSAUX tablespace must be online.

正确答案:B、D、E

【解析】

参考Oracle官方文档的描述:

http://docs.oracle.com/cd/E11882_01/server.112/e41573/optplanmgmt.htm#PFGRF95122

15.2.1 Capturing SQL Plan Baselines

During the SQL plan baseline capture phase, the database detects plan changes and records the new plan so that it can be evolved (verified) by the database administrator. To this end, the database maintains a plan history for individual SQL statements. Because ad hoc SQL statements do not repeat and thus do not suffer performance degradation, the database maintains plan history only for repeatable SQL statements.

To recognize repeatable SQL statements, the database maintains a statement log that contains the SQL ID of various SQL statements that the optimizer has evaluated. The database recognizes a SQL statement as repeatable when it is parsed or executed again after it has been logged.

For each repeatable SQL statement, the database maintains a plan history that contains all plans generated by the optimizer. The set of all accepted plans in the plan history is the SQL plan baseline.

You can configure the SQL Plan Baseline Capture phase for automatic capture of plan history and SQL plan baselines for repeatable SQL statements. Alternatively, you can manually load plans as SQL plan baselines.

 

15.6 SQL Management Base

The SQL management base (SMB) is a part of the data dictionary that resides in the SYSAUX tablespace. It stores statement logs, plan histories, SQL plan baselines, and SQL profiles. To allow weekly purging of unused plans and logs, the SMB uses automatic space management.

You can also add plans manually to the SMB for a set of SQL statements. This feature is especially useful when upgrading the database from a version before Oracle Database 11g because it helps to minimize plan regressions resulting from the use of a new optimizer version.

Because the SMB is located entirely within SYSAUX, the database does not use SQL plan management and SQL tuning features when this tablespace is unavailable.

QUESTION 14:

You plan to use SQL Performance Analyzer to analyze the SQL workload. You created a SQL Tuning Set as a part of the workload capturing. What information is captured as part of this process? (Choose all that apply.)

A. the system change number (SCN)

B. the execution plan

C. the execution context

D. the SQL text

E. the execution frequency

正确答案:C、D、E

【解析】

QUESTION 15:

Which two statements are true regarding the Automatic Diagnostic Repository (ADR) in Oracle Database 11g? (Choose two.)

A. The BACKGROUND_DUMP_DEST initialization parameter overrides the DIAGNOSTIC_DEST initialization parameter for the location of the alert log file.

B. A single ADR can support multiple ADR homes for different database instances.

C. The alert files are stored in XML file format in the TRACE directory of each ADR home.

D. If the environmental variable ORACLE_BASE is set, then DIAGNOSTIC_DEST is set to $ORACLE_BASE.

正确答案:B、D

【解析】

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值