单选题Examine the following PL/SQL block: SET SERVEROUTPUT ON SET LONG 10000 ECLARE report clob; BEGIN report := DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE(); DBMS_OUTPUT.PUT_LINE(report); END; Which statement describes the effect of the execution of the above PL/SQL block?()A The plan baselines are verified with the SQL profiles.B All fixed plan baselines are converted into nonfixed plan baselines.C All the nonaccepted SQL profiles are accepted into the plan baseline.D The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
单选题
Examine the following PL/SQL block: SET SERVEROUTPUT ON SET LONG 10000 ECLARE report clob; BEGIN report := DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE(); DBMS_OUTPUT.PUT_LINE(report); END; Which statement describes the effect of the execution of the above PL/SQL block?()
A
The plan baselines are verified with the SQL profiles.
B
All fixed plan baselines are converted into nonfixed plan baselines.
C
All the nonaccepted SQL profiles are accepted into the plan baseline.
D
The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
参考解析
解析:
暂无解析
相关考题:
Examine the following set of RMAN commands:Which statement is true when the RMAN RUN block Is executed?() A. The execution of the script fails because multiple channels cannot coexist.B. The script is executed and both the channels are used for the script execution.C. The new channel, CHI, is Ignored because a channel has been configured already.D. ration parameter DC1 is overridden because a new channel is allocated in RMAN RUN block.
You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test database. Which two statements are true regarding the activities performed during the test execution of SQLs in a SQL Tuning Set?()A.Every SQL statement in the STS is considered only once for executionB.The SQL statements in the STS are executed concurrently to produce the execution plan and execution statisticsC.The execution plan and execution statistics are computed for each SQL statement in the STSD.The effects of DDL and DML are considered to produce the execution plan and execution statistics
Which statement describes the effect of the execution of the above PL/SQL block?() A. The plan baselines are verified with the SQL profiles.B. All fixed plan baselines are converted into nonfixed plan baselines.C. All the nonaccepted SQL profiles are accepted into the plan baseline.D. The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
Examine the structure of the STUDENTS table:You need to create a report of the 10 students who achieved the highest ranking in the course INT SQL and who completed the course in the year 1999.Which SQL statement accomplishes this task?()A.B.C.D.
ExaminethefollowingPL/SQLblock:SETSERVEROUTPUTONSETLONG10000ECLAREreportclob;BEGINreport:=DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE();DBMS_OUTPUT.PUT_LINE(report);END;WhichstatementdescribestheeffectoftheexecutionoftheabovePL/SQLblock?()A.TheplanbaselinesareverifiedwiththeSQLprofiles.B.Allfixedplanbaselinesareconvertedintononfixedplanbaselines.C.AllthenonacceptedSQLprofilesareacceptedintotheplanbaseline.D.ThenonacceptedplansintheSQLManagementBaseareverifiedwiththeexistingplanbaselines.
YouneedtocreateatriggertolocatetheProductreportintheRpt_Server,runthereport,andtestthestatusofthereport.Whichthreebuilt-inswouldyouusetoaccomplishthistask?() A.RUN_PRODUCTB.SET_REPORT_OBJECT_PROPERTYC.RUN_REPORT_OBJECTD.FIND_REPORT_OBJECTE.REPORT_OBJECT_STATUSF.COPY_REPORT_OBJECT_OUTPUT
Whichbuilt-inwouldyoureferenceinyourtriggercodetoremoveareportfromtheReportsServerqueuedynamically?() A.FIND_REPORT_OBJECTB.CANCEL_REPORT_OBJECTC.REPORT_OBJECT_STATUSD.SET_PROPERTYOBJECT_PROPERTY
A new report process containing a complex query is written, with high impact on the database. You wantto collect basic statistics about query, such as the level of parallelism, total database time, and the number of I/O requests.For the database instance STATISTICS_LEVEL, the initialization parameter is set to TYPICAL and theCONTROL_MANAGEMENT_PACK_ACCESS parameter is set to DIAGNOSTIC+TUNING.What should you do to accomplish this task?()A. Execute the query and view Active Session History (ASH) for information about the query.B. Enable SQL trace for the query.C. Create a database operation, execute the query, and use the DBMS_SQL_MONITOR. REPORT_SQL_MONITOR function to view the report.D. Use the DBMS_APPLICATION_INFO.SET_SESSION_LONGOPS procedure to monitor query execution and view the information from the V$SESSION_LONGOPS view.
Which are SRW package procedure or function could you use to create and then drop a temporary table in the sales report?()A、SRW.BREAK B、SRW.SET_ALTER C、SRW.REFERENCE D、SRW.DO_SQL E、SRW.RUN_REPORTF、SRW.SET_FIELD
A new report process containing a complex query is written, with high impact on the database. You wantto collect basic statistics about query, such as the level of parallelism, total database time, and the number of I/O requests. For the database instance STATISTICS_LEVEL, the initialization parameter is set to TYPICAL and theCONTROL_MANAGEMENT_PACK_ACCESS parameter is set to DIAGNOSTIC+TUNING. What should you do to accomplish this task?()A、Execute the query and view Active Session History (ASH) for information about the query.B、Enable SQL trace for the query.C、Create a database operation, execute the query, and use the DBMS_SQL_MONITOR. REPORT_SQL_MONITOR function to view the report.D、Use the DBMS_APPLICATION_INFO.SET_SESSION_LONGOPS procedure to monitor query execution and view the information from the V$SESSION_LONGOPS view.
Examine the following PL/SQL block: DECLARE my_plans pls_integer; BEGIN my_plans := DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE (sql_id= ?9twu5t2dn5xd?; END; Which statement is true about the plan being loaded into the SQL plan baseline by the above command?()A、 It is loaded with the FIXED status.B、 It is loaded with the ACCEPTED status.C、 It is not loaded with the ENABLED status.D、 It is not loaded with the ACCEPTED status.
You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test database. Which two statements are true regarding the activities performed during the test execution of SQLs in a SQL Tuning Set?()A、 Every SQL statement in the STS is considered only once for execution.B、 The SQL statements in the STS are executed concurrently to produce the execution plan and execution statistics.C、 The execution plan and execution statistics are computed for each SQL statement in the STS. D、 The effects of DDL and DML are considered to produce the execution plan and execution statistics.
Which of the following commands will fail?() A、 report schemaB、 report need backupC、 report need backup days 3D、 report userE、 report obsolete
You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test database. Which two statements are true regarding the activities performed during the test execution of SQLs in a SQL Tuning Set?()A、Every SQL statement in the STS is considered only once for executionB、The SQL statements in the STS are executed concurrently to produce the execution plan and execution statisticsC、The execution plan and execution statistics are computed for each SQL statement in the STSD、The effects of DDL and DML are considered to produce the execution plan and execution statistics
Which statement describes the effect of the execution of the above PL/SQL block?()A、The plan baselines are verified with the SQL profiles.B、All fixed plan baselines are converted into nonfixed plan baselines.C、All the nonaccepted SQL profiles are accepted into the plan baseline.D、The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
Examine the following PL/SQL block: SET SERVEROUTPUT ON SET LONG 10000 ECLARE report clob; BEGIN report := DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE(); DBMS_OUTPUT.PUT_LINE(report); END; Which statement describes the effect of the execution of the above PL/SQL block?() A、 The plan baselines are verified with the SQL profiles.B、 All fixed plan baselines are converted into nonfixed plan baselines.C、 All the nonaccepted SQL profiles are accepted into the plan baseline.D、 The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
Examine the command: SQL DBMS_STATS.SET_TABLE_PREFS(’SH’, ’CUSTOMERS’, ’PUBLISH’, ’false’); Which statement describes the effect of the above command()A、Automatic statistics collection is stopped for the CUSTOMERS table.B、Statistics for the CUSTOMERS table are locked and cannot be overwritten.C、Existing statistics for the CUSTOMERS table become unusable for the query optimizer.D、Subsequently, statistics gathered on the CUSTOMERS table are stored as pending statistics.
Which built-in would you reference in your trigger code to remove a report from the Reports Server queue dynamically?()A、FIND_REPORT_OBJECT B、CANCEL_REPORT_OBJECT C、REPORT_OBJECT_STATUS D、SET_PROPERTY OBJECT_PROPERTY
单选题A new report process containing a complex query is written, with high impact on the database. You wantto collect basic statistics about query, such as the level of parallelism, total database time, and the number of I/O requests. For the database instance STATISTICS_LEVEL, the initialization parameter is set to TYPICAL and theCONTROL_MANAGEMENT_PACK_ACCESS parameter is set to DIAGNOSTIC+TUNING. What should you do to accomplish this task?()AExecute the query and view Active Session History (ASH) for information about the query.BEnable SQL trace for the query.CCreate a database operation, execute the query, and use the DBMS_SQL_MONITOR. REPORT_SQL_MONITOR function to view the report.DUse the DBMS_APPLICATION_INFO.SET_SESSION_LONGOPS procedure to monitor query execution and view the information from the V$SESSION_LONGOPS view.
单选题Examine the following PL/SQL block: DECLARE my_plans pls_integer; BEGIN my_plans := DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE (sql_id= ?9twu5t2dn5xd?; END; Which statement is true about the plan being loaded into the SQL plan baseline by the above command?()A It is loaded with the FIXED status.B It is loaded with the ACCEPTED status.C It is not loaded with the ENABLED status.D It is not loaded with the ACCEPTED status.
单选题Examine the command: SQL DBMS_STATS.SET_TABLE_PREFS(’SH’, ’CUSTOMERS’, ’PUBLISH’, ’false’); Which statement describes the effect of the above command()AAutomatic statistics collection is stopped for the CUSTOMERS table.BStatistics for the CUSTOMERS table are locked and cannot be overwritten.CExisting statistics for the CUSTOMERS table become unusable for the query optimizer.DSubsequently, statistics gathered on the CUSTOMERS table are stored as pending statistics.
单选题Which are SRW package procedure or function could you use to create and then drop a temporary table in the sales report?()ASRW.BREAK BSRW.SET_ALTER CSRW.REFERENCE DSRW.DO_SQL ESRW.RUN_REPORTFSRW.SET_FIELD
单选题Which statement describes the effect of the execution of the above PL/SQL block?()AThe plan baselines are verified with the SQL profiles.BAll fixed plan baselines are converted into nonfixed plan baselines.CAll the nonaccepted SQL profiles are accepted into the plan baseline.DThe nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
单选题Which of the following commands will fail?()A report schemaB report need backupC report need backup days 3D report userE report obsolete
多选题You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test database. Which two statements are true regarding the activities performed during the test execution of SQLs in a SQL Tuning Set?()AEvery SQL statement in the STS is considered only once for execution.BThe SQL statements in the STS are executed concurrently to produce the execution plan and execution statistics.CThe execution plan and execution statistics are computed for each SQL statement in the STS.DThe effects of DDL and DML are considered to produce the execution plan and execution statistics.
单选题The following parameter are set for your Oracle 12c database instance: OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES=FALSE OPTIMIZER_USE_SQL_PLAN_BASELINES=TRUE You want to manage the SQL plan evolution task manually. Examine the following steps: 1. Set the evolve task parameters. 2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function. 3. Implement the recommendations in the task by using the DBMS_SPM.IMPLEMENT_EVOLVE_TASK function. 4. Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function. 5. Report the task outcome by using the DBMS_SPM.REPORT_EVOLVE_TASK function. Identify the correct sequence of steps:()A2,4,5B2,1,4,3,5C1,2,3,4,5D1,2,4,5