While tuning a SQL statement, th

题目

While tuning a SQL statement, the SQL Tuning Advisor finds an existing SQL profile for the statement that has stale statistics available. What would the optimizer do in this situation?()

  • A、It updates the existing SQL profiles with current statistics.
  • B、It makes the statistics information available to GATHER_STATS_JOB
  • C、It initiates the statistics collection process by running GATHER_STATS_JOB
  • D、It logs a warning message in the alert log so that the DBA can perform statistics collection manually.
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You run the SQL Tuning Advisor (STA) to tune a SQL statement that is part of a fixed SQL plan baseline. The STA generates a SQL profile for the SQL statement, which recommends that you accept the profile. Which statement is true when you accept the suggested SQL profile?()

A. The tuned plan is not added to the SQL plan baseline.

B. The tuned plan is added to the fixed SQL plan baseline as a fixed plan.

C. The tuned plan is added to the fixed SQL plan baseline as a nonfixed plan.

D. The tuned plan is added to a new nonfixed SQL plan baseline as a nonfixed plan.


参考答案:C

第2题:

Which of the following cannot be used as input to the SQL Tuning Advisor?() (Choose all that apply.)

A. A single SQL statement provided by a user

B. An existing SQL Tuning Set (STS)

C. A preprocessed Database Replay workload

D. A schema name

E. SQL statement identified in EM as using excessive resources


参考答案:C, D

第3题:

View the Exhibit to examine the Automatic SQL Tuning result details.Which action would you suggest for the selected SQL statement in the Exhibit?()

A. Accept the recommended SQL profile.

B.Collect statistics for the related objects.

C. Run the Access Advisor for the SQL statement.

D. Run the Segment Advisor for recommendations.


参考答案:C

第4题:

Which of the following advisors within the Oracle advisory framework will analyze a single SQL statement and make recommendations for performance improvement?()

  • A、SQL Repair Advisor
  • B、SQL Optimizer
  • C、SQL Access Advisor
  • D、SQL Tuning Advisor

正确答案:D

第5题:

Which of the following identifies and creates an index to minimize the DB time for a particular SQL statement?()  

  • A、 The SGA Tuning Advisor
  • B、 The SQL Access Advisor
  • C、 The SQL Tuning Advisor
  • D、 The Memory Advisor

正确答案:C

第6题:

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


参考答案:A, C

第7题:

While tuning a SQL statement, the SQL Tuning Advisor finds an existing SQL profile for the statement that has stale statistics available. What would the optimizer do in this situation?()

  • A、It updates the existing SQL profiles with current statistics
  • B、It makes the statistics information available to GATHER_STATS_JOB
  • C、It initiates the statistics collection process by running GATHER_STATS_JOB
  • D、It logs a warning message in the alert log so that the DBA can perform statistics collection manually

正确答案:B

第8题:

Identify the activities performed as part of the Automatic SQL Tuning process in the maintenance window?()

A. generating the SQL profile

B. testing and accepting the SQL profile

C. generating a list of candidate SQLs for tuning

D. adding tuned SQL plans into the SQL plan baseline

E. tuning each SQL statement in the order of importance

F. generating baselines that include candidate SQLs for tuning


参考答案:A, B, C, E

第9题:

Which statement is true when you run the SQL Tuning Advisor with limited scope?()

  • A、Access path analysis is not performed for the SQL statements.
  • B、SQL structure analysis is not performed for the SQL statements.
  • C、SQL Profile recommendations are not generated for the SQL statements.
  • D、The staleness and absence of the statistics are not checked for the objects in the query supplied to the SQL Tuning Advisor.

正确答案:C

第10题:

Which of the following cannot be used as input to the SQL Tuning Advisor?() (Choose all that apply.)

  • A、A single SQL statement provided by a user
  • B、An existing SQL Tuning Set (STS)
  • C、A preprocessed Database Replay workload
  • D、A schema name
  • E、SQL statement identified in EM as using excessive resources

正确答案:C,D

更多相关问题