首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
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
56
问题
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://jikaoti.com/ti/MwO7FFFM
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
MusicalTrainingCanImproveCommunicationSkillsAmericanscientistssaymusicaltrainingseemstoimprovecommunicationsk
Writealettertoamuseum’sstafftoaskforsomeinformationaboutahistoricalexhibition.Youshouldincludethedetailsyou
Youliveinaroomincollegewhichyousharewithanotherstudent.Youfinditverydifficulttoworktherebecauseyourroomma
Inthissection,youareaskedtowriteanessaybasedonthefollowinginformation.Makecommentsandexpressyourownopinion.
SomepeoplesaythattheInternetprovidespeoplewithalotofvaluableinformation.Othersthinkaccesstosomuchinformation
Theideaisasaudaciousasitaltruistic:provideapersonallaptopcomputertoeveryschoolchild—particularlyinthepoorestp
Whethertheeyesare"thewindowsofthesoul"isdebatable;thattheyareintenselyimportantininterpersonalcommunicationis
Parentsarenottheonlyonesresponsiblefortheirchildren.Oursocialresponsibilityisatitsgreatestwhenparentsareunab
Tanyaisthesecurityadministratorforalargedistributedretailcompany.Thecompany’snetworkhasmanydifferentnetworkdev
Thefollowingscenariowillbeusedforquestions29and30.Johnisanetworkadministratorandhasbeentoldbyoneofhisnet
随机试题
某机场建设工程位于丘陵地带,飞行区指标为4D。跑道结构为:沥青混凝土柔性道面面层;石灰粉煤灰稳定碎石基层。施工工期比较紧张。由于工期紧迫,施工单位编制的施工组织设计经项目经理部经理签批后开始准备施工。施工正值雨季,施工单位做了雨期施工准备,购置了防雨设备,
女性,37岁,1年前诊断为再生障碍性贫血,经治疗好转。2个月来乏力、头晕加重,间有酱油色尿。查:血红蛋白60g/L,白细胞4×109/L,血小板60×109/L,网织红细胞84%,骨髓增生活跃,细胞外铁阴性。对该患者下述检查最有意义的是
有关体液的描述,正确的是
A.法定代表人或企业负责人B.质量管理人员C.企业质量管理部门负责人D.企业质量负责人在药品批发企业中,人员资质要求为“应当是具有大学本科学历、执业药师资格和3年以上药品经营质量管理工作经验”的是()。
药品监督管理部门经监督抽验发现,某医院使用的人血白蛋白注射液中的白蛋白含量仅为7.02%(g/ml),应()。
某患者在就诊过程中,护士没有询问患者有无青霉素过敏史,即为患者做青霉素试验,造成患者休克死亡。护士的医疗过失行为所占的比重是()。
会计是以()为主要计量单位,核算与监督一个单位的经济活动的一种经济管理工作。
某造纸企业2001年实现销售收入100万元,实际发生广告费支出5万元,则该项企业2001年计算应纳税所得额时可以税前扣除广告费为( )。
【福泽谕吉】北京大学2003年世界近现代史真题
以下关于“以事实为依据,以法律为准绳”的司法原则,理解不正确的是()
最新回复
(
0
)