OCP-1Z0-052-V8.02-52题

AI权益加码!Claude Code、Cursor等20+工具免费用! 购周边限时加赠Coding Plan Lite,畅享主流AI工具!学习进阶更高效! 阅读详情

52. View the Exhibits and examine lock waits.  

Users HR and SH complain that their transactions on one of the application tables, EMP, are waiting for

response. 

Which action would you take to release the lock and enable users HR and SH to continue with their

transactions?

A.Kill the session of the user SCOTT with session ID118. 

B.Issue manual checkpoint using the ALTER SYSTEM command.

C.Modify the profile used by user SCOTT to reduce the CONNECT_TIME limit.

D.Flush the Shared Pool to remove the SQL statement causing "wait" in memory.

Answer: A  

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/12652569



 有冲突的锁定请求以分层布局的形式显示,其中持有锁的会话位于顶部,下面是排队请求锁的所有会话。由图上可知,SCOTT是持有锁的会话。HR和SH是排队请求锁的会话。

对于冲突中涉及的每个会话,会显示用户名、会话ID 和会话已等待的秒数。选择会话 ID 可查看会话当前正在执行或请求的实际SQL 语句。
自动数据库诊断监视器(ADDM) 还会自动检测锁冲突,并且会就低效的锁定趋势提出建议。

为了解决锁冲突,应该:
• 提交或回退持有锁的会话
• 终止持有锁的会话(在紧急情况下)

要解决锁冲突,持有锁的会话必须释放锁。让会话释放锁的最好方式是与用户联系,要求用户完成事务处理。
紧急情况下,管理员可以通过单击“Kill Session (终止会话)”按钮来终止持有锁的会话。
ALTER SYSTEM KILL SESSION '118,2597' IMMEDIATE
终止会话后,当前事务处理中的所有工作都会丢失(回退)。会话被终止的用户必须再次登录,然后重做被终止的会话自上次提交以来所做的所有工作。
【跟我学oracle18c】第五十三天:Database 2 Day + Performance Tuning Guide: 3.2配置(ADDM自动数据库诊断监视器 手头的18c的em中没找到awr功能,只有一个awr的报告按钮,但是不能使用 手头的10G截图如下: 10G的快照界面   3.2 Configuring Automatic Database Diagnostic Monitor This section contains the following topics: Setting Initialization Par... 阅读详情

相关推荐

Oracle10g数据库自动诊断监视工具(ADDM)使用指南

[size=large][b]第一章 ADDM简介[/b][/size] 在Oracle9i及之前,DBA们已经拥有了很多很好用的性能分析工具,比如,tkprof、sql_trace、statspack、set event 10046&10053等等。这些工具能够帮助DBA很快的定位性能问。但这些工具都只给出一些统计数据,然后再由DBA们根据自己的经验进行优化。 那能不能由...

迷失代码 315

【SAP消息号KI280

SAP消息号KI280 PS:相同的消息号可能会出现在不同的业务场景,条条大道通罗马,仅供学习交流参考! SAP消息号KI280 1、业务场景: 内部订单入账F-02入账时报错:为2021.11.17 创建科目66020000作为控制范围 GW01中成本要素; 2、解决办法: FS00检查这个科目并不是成本要素导致的,FI到CO过账需要一个初级成本要素作为桥梁,FS00或KA01将其维护为初级成本要素; ...

MRwugang的博客 2197

46.Which two statements are true about the Automatic Database Diagnostic Monitor (ADDM)? (Choose two

46.Which two statements are true about the Automatic Database Diagnostic Monitor (ADDM)? (Choose two.)

dwj19830118的专栏 1682

52.View the Exhibits and examine lock waits. Users HR and SH complain that their transactions on one

52.View the Exhibits and examine lock waits. Users HR and SH complain that their transactions on one of the application tables, EMP, are waiting for response. Which action would you take to release the lock and enable users HR and SH to continue with their

dwj19830118的专栏 1047

C 语言学习笔记

B站up Micro_Frank C语言大师系列课程笔记

g_c_m_g的博客 1129

OCP-1Z0-052-V8.02-187

187. Which two statements describe good practices for an application developer to reduce locking conflicts in Oracle database? (Choose two.) A.Avoid coding unnecessary long-running transactions. B.

一抹曦阳-Oracle 8843

153.View the Exhibits and examine the structures of the PRODUCTS and SALES tables.

153.View the Exhibits and examine the structures of the PRODUCTS and SALES tables.

dwj19830118的专栏 1110

OCP-1Z0-052-V8.02-176

176. You executed this command to create a temporary table: SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT PRESERVE ROWS;  Which statem

一抹曦阳-Oracle 9538

OCP-1Z0-052-V8.02-48

48. The job to gather optimizer statistics for objects runs as part of the automatic maintenance window in your database instance. At a certain point of time, the maintenance window closes before the

一抹曦阳-Oracle 1万+

exhibits展品-初步数据库设计

<br />表结构<br />

afeiqiang的专栏 896

OCP|052OCP最新库解析(052--小麦苗解答版

OCP|052OCP最新库解析(052--小麦苗解答版 OCP最新库解析历史连接(052): http://mp.weixin.qq.com/s/b...

coco3600的博客 429

Create account 892000 for 2015/12/10 as a cost element in controlling area 1800 Message no. KI280

Create account 892000 for 2015/12/10 as a cost element in controlling area 1800 Message no. KI280 出现情况:第三方单独采购采购申请转采购订单 Diagnosis Account 892000 is a profit and loss account. You assigned it to an

一抹曦阳-Oracle 5865

OCP-1Z0-052-V8.02-188

188. You receive complaints from users regarding the high waiting time for their transactions. On investigation, you find that some users are not committing their transactions though they are not pe

一抹曦阳-Oracle 9938

Application的Lock问

今天终于找到了方法,那就是Application.Lock()。这个在ASP里就已经用到的方法。现在竟然还需要别人提醒。晕。。。   public void InsertVisitStatBrowse(string sessionID, int companyID, string viewURL,string fromURL,string fromEngine,string t

软若石(I Will Get What I Want.)Asp.Net,Ajax,C#,Javascript 4040

OCP-1Z0-052-V8.02-110

110. Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressed mode for an installation? A.Run the root.sh script. B.Create the oraInst.loc file. C.

一抹曦阳-Oracle 1万+

OCP-1Z0-052-V8.02-51

51. In a system, large online transaction processing (OLTP) jobs run during the daytime that require a large database buffer cache. In the night, the system supports batch jobs that require a highe

一抹曦阳-Oracle 1万+

OCP-1Z0-053-V12.02-310

310.The RVPC user can do which of the following? (Choose all that apply.) A. Register databases if granted the register database privilege B. See all databases in the recovery-catalog schema C. See

一抹曦阳-Oracle 5734

OCP-1Z0-052-V8.02-108

108. You are installing Oracle Database 11g on your server. During the installation Oracle Universal Installer (OUI) prompts you to enter the path of the inventory directory and also prompts you to s

一抹曦阳-Oracle 9302

OCP-1Z0-051-V9.02-103

103. Examine the structure of the TRANSACTIONS table: name          Null          Type TRANS_ID      NOT NULL      NUMBER(3) CUST_NAME                  VARCHAR2(30) TRANS_DATE                 DATE

一抹曦阳-Oracle 9464
上一篇: OCP-1Z0-052-V8.02-50题
下一篇: OCP-1Z0-053-V12.02-162题
Riveore
博客等级 码龄19年 1801粉丝 1432原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值