首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of a SQL Server computer. Users report that the database times out when they attempt to modify data. Y
You are the administrator of a SQL Server computer. Users report that the database times out when they attempt to modify data. Y
admin
2009-05-19
72
问题
You are the administrator of a SQL Server computer. Users report that the database times out when they attempt to modify data. You use the Current Activity window to examine locks held in the database as shown in the following screenshot.
You need to discover why users cannot modify data in the database, but you do not want to disrupt normal database activities. What should you do?
选项
A、Use the spid 52 icon in the Current Activity window to discover which SQL statement is being executed
B、Use the sp_who stored procedure to discover who is logged in as spid 52
C、Use SQL Profiler to capture the activity of the user who is logged in as spid 52
D、Use System Monitor to log the locks that are granted in the database
答案
A
解析
Explanation: The current activity window in SQL Server Enterprise Manager can be used to perform ad hoc monitoring of an instance of SQL Server. This allows for the quick analysis of the volume and general types of activity on the system and can indicate current blocked and blocking transactions, currently connected users on an instance of SQL Server and the last statement executed and locks that are in effect on the database.
In the screen shot of current activity window the icon, labeled spid 51, indicates that a database lock is in place; the second icon, labeled spid 52, can be used to identify the process that is blocking one or more connections; and the third icon, labeled spid 53, can be used to identify the process that is being blocked by another connection
Incorrect Answers:
B: The system stored procedure sp_lock can be used to return a result set that contains information about resources that are locked and the sp_who stored procedure provides information about current SQL Server 2000 users and processes. The information returned by the sp_who procedure can be filtered to return only current non-idle processes. This makes it possible to identify which resources are being locked and which processes are responsible for creating those locks. These stored procedures require more resources and more administrative effort than the Current Activity window. It is therefore not the best answer.
C: The SQL profiler is not the best tool to immediately solve the locking problem. It could be used at a later moment if a long-term solution to the problem is required. SQL profiler would require more system resources and might impact normal database activities.
Note: SQL Profiler is a graphical tool that allows system administrators to monitor events in an instance of SQL Server. Data pertaining to an event can be captured and saved to a file or SQL Server table to be analyzed at a later date. It can be is used to step through problem queries to find the cause of the problem; to find and diagnose slow-running queries; to capture the series of SQL statements that led to a problem; and to monitor the performance of SQL Server to tune workloads.
D: SQL Server provides objects and counters that can be used by System Monitor in a Windows 2000 or by Performance Monitor in Windows NT 4.0 to monitor the system performance of computers running an instance of SQL Server. However, these counters are used for statistics and alerts and they cannot, in a direct way, be used to track down the cause of the locking problem.
转载请注明原文地址:https://www.kaotiyun.com/show/KuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
Menandwomendothinkdifferently,atleastwheretheanatomyofthebrainisconcerned,accordingtoanewstudy.Thebrainis
[A]Butworkisunderwaytogetcomputerstocapturehumanlifeandrememberitaspeopledo—recallingbitsofexperiencethata
Thenewaircraftrepresentsa$250mbetbyBombardierthatMexicocouldprovidenotjustroutinelabourbutmanufacturingthat
Youruniversityisgoingtoholdareadingcontest.Writeanoticetoprovidethestudentswhowouldliketoattendwithrelevan
EricHansenwritesabouttravelasaparticipatingenthusiastratherthanamereobserver.【T1】Itgivesthesenineessays,based
Inthefollowingtext,somesentenceshavebeenremoved.ForQuestions41-45,choosethemostsuitableonefromthelistA-Gto
WhileAmericanshavebecomeevermoredependentuponelectricityintheirdailylives,acrucialpartofthesystemthatsupport
Adealisadeal—except,apparently,whenEntergyisinvolved.Thecompany,amajorenergysupplierinNewEngland,provokedjus
对MSN常规选项进行设置,使登录到Windows时自动运行Messenger(R),联系人联机时显示通知,收到电子邮件时通知我。
在用户管理组administrators中删除lusi用户。
随机试题
村民某甲因养殖需要资金20万元,向某乙借款10万元,以自己的一套价值10万元的音响设备作抵押,双方立有抵押字据但未办理登记。某甲又向某丙借款10万元,以该音响设备质押,双方立有质押字据,并将音响设备交付某丙占有。后因不可抗力,某甲严重亏损,不能及时偿还借款
A.长吸式呼吸B.喘息样呼吸C.陈一施呼吸D.比奥呼吸E.深慢呼吸在脑桥上、中部之间横断脑干并同时切断双侧颈迷走神经,动物将出现
关于肺脓肿的手术治疗指征,下列哪项说法是错误的
A左归丸B右归丸C真武汤D归脾汤E八珍汤治疗脾肾阳虚型贫血宜选
取得经理层人员任职资格但未实际任职的人员,在( )情形下,应当在任职前重新申请取得经理层人员的任职资格。
取保候审时犯罪嫌疑人、被告人提出保证人的,就不必交纳保证金。()
政府下发一个文件,有人发现文件中有个地方用词不当,这样会造成严重的后果,领导现在派你去处理这个事情,你如何处理?
Youngpeoplealwayssufferinrecessions.Employersstop【C1】______thembecausetheyareeasiertosack.Butin【C2】______episodes
下列关于线程的叙述中,正确的是
A、Itisextremelydangeroustoflyinthedark.B、Noiseregulationsrestrictthehoursofairportoperation.C、Someofitsrunwa
最新回复
(
0
)