From the V$SESSION_LONGOPS view, you find that some of the database users have long/x7frunning queries that consume a lot of CPU time. This causes performance problems for other users in the database, who have much shorter queries.  You would like to mak

题目

From the V$SESSION_LONGOPS view, you find that some of the database users have long/x7frunning queries that consume a lot of CPU time. This causes performance problems for other users in the database, who have much shorter queries.  You would like to make sure that the users with large queries do not use all the CPU time, but you still do not want to terminate them with an error message. Which method would you follow to achieve this?()

  • A、set the CPU time per call in the users profile
  • B、set the CPU time per session in the users profiles
  • C、set the CPU levels for the users’ group using Resource Manager
  • D、set the TIMED_STATISTICS parameter to TRUE in the parameter file

相似考题
更多“From the V$SESSION_LO”相关问题
  • 第1题:

    Vessels to which Annex V to MARPOL 73/78 applies may discharge garbage containing plastics ______.

    A.5 nautical miles from nearest land

    B.12 nautical miles from nearest land

    C.25 nautical miles from nearest land

    D.None of the above


    正确答案:D

  • 第2题:

    变量v_time=’23-MAY-00’, 如下那条语句返回值为’01-JAN-00’?()

    • A、select round(v_time,’DAY’) from dual
    • B、select round(v_time,’YEAR’) from dual
    • C、select round(v_time,’MONTH’) from dual
    • D、A select round(to_char(v_time,’yyyy’)) from dual

    正确答案:A

  • 第3题:

    有关系模式:学生表(学号,姓名,所在系),建立统计每个系的学生人数的视图的正确语句是()

    • A、CREATE VIEW v1AS SELECT所在系,COUNT(*)FROM学生表GROUP BY所在系
    • B、CREATE VIEW v1AS SELECT所在系,SUM(*)FROM学生表GROUP BY所在系
    • C、CREATE VIEW v1(系名,人数)AS SELECT所在系,SUM(*)FROM学生表GROUP BY所在系
    • D、CREATE VIEW v1(系名,人数)AS ELECT所在系,COUNT(*)FROM学生表GROUP BY所在系

    正确答案:D

  • 第4题:

    In what view are you likely to see the following output?()   SID SERIAL# EVENT SECONDS_IN_WAIT  121 269 RMAN backup & recovery I/O 2  129 415 SQL*Net message from client 63 130 270 SQL*Net message from client  

    • A、 V$SESSION_EVENT
    • B、 V$SESSION
    • C、 V$WAITS
    • D、 V$WAITSTAT
    • E、 V$SYSSTAT

    正确答案:B

  • 第5题:

    Your network includes the following elements: VMware ESX 3.5 serversWindows Server 2008 R2 Hyper-V serversMicrosoft System Center Virtual Machine Manager (VMM) 2008 R2 with the Subsystem for UNIX-based Applications feature installed You run several ESX-hosted virtual machines (VMs) from an NFS share, and you run several Hyper-V VMs from a Windows file share. You need to migrate the ESX-hosted VMs to Hyper-V.  Which two actions should you perform?()

    • A、Shut down the VMs
    • B、Copy the .vmx and .vmdk files to the VMM library
    • C、Copy the .vmx and .vmdk files from the NFS share to the Windows file share
    • D、Run the New-V2V PowerShell cmdlet and point to the .vmx files

    正确答案:A,D

  • 第6题:

    单选题
    No person on board any vessel to which Annex V to MARPOL 73/78 applies may discharge garbage of any type when().
    A

    less than 12 nautical miles from PRC

    B

    less than 12 nautical miles from nearest land

    C

    in the navigable waters of the PRC

    D

    less than 25 nautical miles from nearest land


    正确答案: C
    解析: 暂无解析

  • 第7题:

    单选题
    当需要查询日志文件所有组及其成员的名称和文件位置,可以使用()方式。
    A

    SELECT * FROM V$LOGFILE

    B

    SELECT * FROM V$LOG

    C

    SELECT * FROM V$LOGHISTORY

    D

    SELECT * FROM V$DBA


    正确答案: C
    解析: 暂无解析

  • 第8题:

    单选题
    Given the following DDL and INSERT statements: CREATE VIEW v1 AS SELECT col1 FROM t1 WHERE col1 > 10; CREATE VIEW v2 AS SELECT col1 FROM v1 WITH CASCADED CHECK OPTION; CREATE VIEW v3 AS SELECT col1 FROM v2 WHERE col1 < 100; INSERT INTO v1 VALUES(5); INSERT INTO v2 VALUES(5); INSERT INTO v3 VALUES(20); INSERT INTO v3 VALUES(100); How many of these INSERT statements will be successful?()
    A

    0

    B

    1

    C

    2

    D

    3


    正确答案: A
    解析: 暂无解析

  • 第9题:

    单选题
    当需要返回当前用户的名字,可以执行如下()SQL语句。
    A

    SELECT user FROM V$DBA

    B

    SELECT user FROM dual

    C

    SELECT name FROM dual

    D

    SELECT name FROM V$DBA


    正确答案: B
    解析: 暂无解析

  • 第10题:

    单选题
    SGA是一块巨大的共享内存区域,被看成是Oracle数据库的一个大缓冲池,如果需要查看SGA的大小信息,可以使用如下()语句。
    A

    SELECT SGA FROM V$DBA

    B

    SELECT * FROM V$DBA

    C

    SELECT * FROM V$SGA

    D

    SELECT size FROM V%DBA


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    A view is created with the following statement:CREATE VIEW v1 AS SELECT col1, col2, col3 FROM t1 WHERE col4 > 1000 ; When will DB2 access the data from table T1 for view V1?()
    A

    When view V1 is created

    B

    Each time the REFRESH VIEW v1 statement is executed

    C

    Each time an SQL statement is executed against view V1

    D

    Only the first time an SQL statement is executed against view V1


    正确答案: A
    解析: 暂无解析

  • 第12题:

    单选题
    In what view are you likely to see the following output?()   SID SERIAL# EVENT SECONDS_IN_WAIT  121 269 RMAN backup & recovery I/O 2  129 415 SQL*Net message from client 63 130 270 SQL*Net message from client
    A

     V$SESSION_EVENT

    B

     V$SESSION

    C

     V$WAITS

    D

     V$WAITSTAT

    E

     V$SYSSTAT


    正确答案: A
    解析: 暂无解析

  • 第13题:

    Other than through the Purchase Orders application, how can Purchase Orders be created in IBM Maximo Asset Management V6.2?()

    • A、 from an approved Lease, Rental, Master, or Purchase contract
    • B、 from a Purchase Requisitions Create PO action, create the approved Purchase Order
    • C、 from a Purchase Requisition, a Request for Quotation, a Master Contract, or a reorder process
    • D、 from a Purchase Requisition, a Request for Quotation, a Purchase Contract, or a reorder process

    正确答案:D

  • 第14题:

    V5.x系统中,用SQL语句查询Sybase版本的语句是()

    • A、select ##version
    • B、select ##version from master
    • C、select @@version from master
    • D、select @@version

    正确答案:D

  • 第15题:

    A database user SMITH tries to query the V$SESSION view and fails to access it as follows: SQL> connect smith/smith  Connected.  SQL> SELECT * FROM v$session;  SELECT * FROM v$session *  ERROR at line 1:  ORA-00942: table or view does not exist  Which are the two possible solutions to enable SMITH to query the data in V$SESSION()

    • A、granting SELECT privilege to SMITH on V$SESSION
    • B、granting SELECT privilege to SMITH on V_$SESSION
    • C、asking the user SMITH to run the catalog.sql script
    • D、granting SELECT privilege to SMITH on V$FIXED_TABLES
    • E、setting the O7_DICTIONARY_ACCESSIBILITY parameter to TRUE
    • F、creating a view based on V$SESSION and granting SELECT privilege to SMITH on the view that was created

    正确答案:B,F

  • 第16题:

    The following query will provide what information about transportable tablespaces for the current database?() select d.platform_name "Source", t.platform_name  "Compatible Targets", endian_format  from v$transportable_platform t, v$database d  where t.endian_format = (select endian_format  from v$transportable_platform t, v$database d  where d.platform_name = platform_name);  

    • A、 The list of target platforms having the same endian format as the source database
    • B、 The list of target platforms requiring endian conversion
    • C、 The list of target platforms that will not require endian conversion
    • D、 The list of all target platforms that can receive transportable tablespaces from the source database
    • E、 None of the above

    正确答案:A,C

  • 第17题:

    单选题
    A vessel to which Annex V to MARPOL 73/78 applies is 24 nautical miles from the nearest land. Which type of garbage is prohibited from being discharged? ()
    A

    Glass

    B

    Crockery

    C

    Metal

    D

    Dunnage


    正确答案: A
    解析: 暂无解析

  • 第18题:

    单选题
    关于两个表对应的不匹配查询的正确语句为()
    A

    SELECT[ccode]FROM[GL_accsum]where not exists(SELECT*FROM[code]group by ccode having[ccode]=[GL_accsum].[ccode])

    B

    SELECT[ccode]FROM[GL_accsum]v where ccode not in(SELECTccodeFROM[code] where[ccode]=[v].[ccode])

    C

    C.select ccode from[GL_accsum]a left join code bon A.[ccode]=[b].[ccode] where B.ccode is null

    D

    D.select ccode codes from[GL_accsum]a join code bon A.[ccode]=[b].[ccode] where B.ccode is null


    正确答案: C
    解析: 暂无解析

  • 第19题:

    单选题
    Vessels to which Annex V to MARPOL 73/78 applies may discharge garbage containing plastics ().
    A

    5 nautical miles from nearest land

    B

    12 nautical miles from nearest land

    C

    25 nautical miles from nearest land

    D

    None of the above


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    “客户”表和“贷款”表的结构如下:客户(客户号,姓名,出生日期,身份证号)贷款(贷款编号,银行号,客户号,贷款金额,贷款性质)建立视图统计每个客户贷款的次数,正确的SQL语句是(  )。
    A

    CREATE VIEW v_dk AS SELECT客户号,count(*)AS次数
    FROM贷款

    B

    CREATE VIEW v_dk AS SELECT客户号,count(*)AS次数
    FROM贷款COMPUTE BY客户号

    C

    CREATE VIEW v_dk AS SELECT客户号,count(*)AS次数
    FROM贷款ORDER BY客户号

    D

    CREATE VIEW v_dk AS SELECT客户号,count(*)AS次数
    FROM贷款GROUP BY客户号


    正确答案: B
    解析:
    使用GROUP BY短语按客户号分组统计每个客户贷款的次数。B项,COMPUTE BY用来生成合计;C项,ORDER BY用来对查询结果排序。

  • 第21题:

    单选题
    假设需要查询Oracle数据文件的文件名和存储位置,可以使用如下()方式。
    A

    SELECT name,status FROM V$datafile

    B

    SELECT name,status FROM V$userfile

    C

    SELECT name,status FROM V$DBA

    D

    SELECT name,status FROM V$ctrlfile


    正确答案: A
    解析: 暂无解析

  • 第22题:

    多选题
    The following query will provide what information about transportable tablespaces for the current database?() select d.platform_name "Source", t.platform_name  "Compatible Targets", endian_format  from v$transportable_platform t, v$database d  where t.endian_format = (select endian_format  from v$transportable_platform t, v$database d  where d.platform_name = platform_name);
    A

    The list of target platforms having the same endian format as the source database

    B

    The list of target platforms requiring endian conversion

    C

    The list of target platforms that will not require endian conversion

    D

    The list of all target platforms that can receive transportable tablespaces from the source database

    E

    None of the above


    正确答案: D,B
    解析: 暂无解析

  • 第23题:

    单选题
    当需要查询Oracle的控制文件的名称、位置和状态时,可以使用()语句。
    A

    SELECT name FROM V$CONTROLFILE

    B

    SELECT name FROM V$CTRLLFILE

    C

    SELECT name FROM V$USERFILES

    D

    SELECT name FROM V$DBAFILE


    正确答案: D
    解析: 暂无解析

  • 第24题:

    单选题
    变量v_time=’23-MAY-00’, 如下那条语句返回值为’01-JAN-00’?()
    A

    select round(v_time,’DAY’) from dual

    B

    select round(v_time,’YEAR’) from dual

    C

    select round(v_time,’MONTH’) from dual

    D

    A select round(to_char(v_time,’yyyy’)) from dual


    正确答案: B
    解析: 暂无解析