zoukankan      html  css  js  c++  java
  • 053(五十六)

    276、

    276.The following command is executed to create the baseline template:
    SQL> EXECUTE
    DBMS_WORKLOAD_REPOSITORY.CREATE_BASELINE_TEMPLATE(START_TIME=> 
    TO_TIMESTAMP(SYSDATE+2),
    END_TIME=>TO_TIMESTAMP(SYSDATE+10),
    BASELINE_NAME=>'Mybase4',
    TEMPLATE_NAME=>'Mytemp4',
    EXPIRATION=>NULL);
    Which statement is true about the effect of the above command?
    A. It creates a baseline template that never expires.
    B. It produces an error because no snapshot information is provided to create the baseline.
    C. It creates a baseline template that expires after the Automatic Workload Repository (AWR) retention period.
    D. It creates a repeating baseline template that repeats after the Automatic Workload Repository (AWR) retention period.
    Answer: A
    
    expiration => 30 表示该 baseline 将在30天后自动删除,expiration =>null表示,永不过期
    View Code

    277、

    277.The BOOKINGS table contains online booking information. When a booking is confirmed, the details are transferred to an archival table BOOKINGS_HIST and deleted from the BOOKINGS table. 
    There is no fixed time interval between each online booking and its confirmation. 
    Because sufficient space is not always available from the delete operations the high-water mark (HWM) is moved up and many rows are inserted below the HWM of the table. 
    The BOOKINGS table has Automatic Segment Space Management (ASSM) and row movement enabled. The table is accessible in 24x7 mode.
    What is the most efficient method to reclaim the space released by the delete operations in the BOOKINGS table?
    A. Perform EXPORT, DROP, and IMPORT operations on the BOOKINGS table sequentially
    B. Shrink the BOOKINGS table by using the ALTER TABLE... SHRINK SPACE command
    C. Move the BOOKINGS table to a different location by using the ALTER TABLE... MOVE command
    D. Deallocate the space in the BOOKINGS table by using the ALTER TABLE ... DEALLOCATE UNUSED command
    Answer: B
    View Code

    278、

    278.You issued the following command:
    CREATE GLOBAL TEMPORARY TABLE admin_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT DELETE ROWS TABLESPACE tbs_t1;
    An index is then created on the ADMIN_WORK_AREA temporary table.
    Which two statements are true regarding the TBS_T1 tablespace in the above command? (Choose two.)
    A. It stores only the temporary table but not its indexes.
    B. It stores both the temporary table as well as its indexes.
    C. It must be a nondefault temporary tablespace for the database.
    D. It can be a default or nondefault temporary tablespace for the database.
    E. It must be the default temporary tablespace of the user who issues the command.
    Answer: BD
    View Code

    279、

    279.Identify the activities performed as part of the Automatic SQL Tuning process in the maintenance window? (Choose all that apply.)
    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 tunin
    Answer: ABCE
    View Code

    280、View the Exhibit to examine the replay settings for replay parameters. What is the implication for setting the values for replay parameters? (Choose all that apply.)

    A. The COMMIT order in the captured workload is preserved during replay.
    B. The value 100 in the THINK_TIME_SCALE parameter attempts to make the replay client shorten the think time between calls.
    C. The value 100 in the CONNECT_TIME_SCALE parameter attempts to connect all sessions as captured.
    D. The value 100 in the THINK_TIME_SCALE parameter attempts to match the captured user think time while replaying.
    E. The value 100 in the CONNECT_TIME_SCALE parameter attempts to connect all sessions immediately as soon as the replay begins.
    Answer: ACD
    View Code
  • 相关阅读:
    最长递增子序列 LIS 时间复杂度O(nlogn)的Java实现
    动态规划算法(后附常见动态规划为题及Java代码实现)
    2个字符串的最长公共子串
    VS2010常用快捷键
    错误代码errno值的含义
    几个常用I/O函数用法(printf,fprintf等)
    查看CPU位数的方法
    关于函数指针的总结
    日本标点符号的输入总结
    共享内存及信号量的几个函数介绍
  • 原文地址:https://www.cnblogs.com/huanhuanang/p/5445585.html
Copyright © 2011-2022 走看看