• 053(四十六)


    226、

    226.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.

    227、

    227.You plan to control idle sessions that are blocking other sessions from performing transactions. 
    Your requirement is to automatically terminate these blocking sessions when they remain idle for a specified amount of time.
    How would you accomplish this task?
    A. Set metric threshold
    B. Implement Database Resource Manager
    C. Enable resumable timeout for user sessions
    D. Add directives to Automatic Database Diagnostic Monitor (ADDM)

    228、

    228.Evaluate the following statements:
    CREATE TABLE purchase_orders 
    (
    po_id NUMBER(4),
    po_date TIMESTAMP, 
    supplier_id NUMBER(6),
     po_total NUMBER(8,2),
    CONSTRAINT order_pk PRIMARY KEY(po_id)
    ) 
    PARTITION BY RANGE(po_date)
    (
    PARTITION Q1 VALUES LESS THAN (TO_DATE(?1-apr-2007?d-mon-yyyy?), 
    PARTITION Q2 VALUES LESS THAN (TO_DATE(?1-jul-2007?d-mon-yyyy?), 
    PARTITION Q3 VALUES LESS THAN (TO_DATE(?1-oct-2007?d-mon-yyyy?), 
    PARTITION Q4 VALUES LESS THAN (TO_DATE(?1-jan-2008?d-mon-yyyy?)
    );
    CREATE TABLE purchase_order_items 
    (
    po_id NUMBER(4) NOT NULL, 
    product_id NUMBER(6) NOT NULL, 
    unit_price NUMBER(8,2), 
    quantity NUMBER(8), 
    CONSTRAINT po_items_fk FOREIGN KEY(po_id) REFERENCES purchase_orders(po_id)
    ) 
    PARTITION BYREFERENCE(po_items_fk);
    What are the two consequences of the above statements? (Choose two.)
    A. Partitions of PURCHASE_ORDER_ITEMS have system-generated names.
    B. Both PURCHASE_ORDERS and PURCHASE_ORDER_ITEMS tables are created with four partitions each.
    C. Partitions of the PURCHASE_ORDER_ITEMS table exist in the same tablespaces as the partitions of the PURCHASE_ORDERS table.
    D. The PURCHASE_ORDER_ITEMS table inherits the partitioning key from the parent table by automatically duplicating the key columns.
    E. Partition maintenance operations performed on the PURCHASE_ORDER_ITEMS table are automatically reflected in the PURCHASE_ORDERS table.

    229、

    229.Which statements are true regarding SecureFile LOBs? (Choose all that apply.)
    A. The amount of undo retained is user controlled.
    B. SecureFile LOBs can be used only for nonpartitioned tables.
    C. Fragmentation is minimized by using variable-sized chunks dynamically.
    D. SecureFile encryption allows for random reads and writes of the encrypted datA. 
    E. It automatically detects duplicate LOB data and conserves space by storing only one copy.

    230、

    230.You plan to use Flashback Drop feature to recover a dropped table SALES_EMP. No other table withthe same name exists in the schema.
    You query RECYCLEBIN and find multiple entries for the SALES_EMP table as follows: You then issue the following statement to recover the table:

    SQL> FLASHBACK TABLE sales_emp TO BEFORE DROP;
    What would be the outcome of the precedent statement?
    A. It retrieves the latest version of the table from the recycle bin
    B. It retrieves the oldest version of the table from the recycle bin
    C. It retrieves the version of the table for which undo information is available
    D. It returns an error because the table name is not specified as per the names in the OBJECT_NAME column
  • 相关阅读:
    如何使DIV居中
    #ifdef DEBUG的理解
    iOS程序启动画面的制作
    ios4支持高分辨率的一些总结(转)
    将旧的推送通知从通知中心移除掉的三种方法
    Mac锁屏设置快捷键
    湖北黑客因盗窃域名被刑事拘留 涉嫌诈骗犯罪
    php连接Access数据库错误及解决方法
    Cannot send session cache limiter – headers already sent
    php代码注意事项
  • 原文地址:https://www.cnblogs.com/huanhuanang/p/5429671.html
Copyright © 2020-2023  润新知