首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of a SQL Server 2000 computer. The server contains a database that has the torn page detection databas
You are the administrator of a SQL Server 2000 computer. The server contains a database that has the torn page detection databas
admin
2009-05-19
27
问题
You are the administrator of a SQL Server 2000 computer. The server contains a database that has the torn page detection database option enabled. Backups of the database are made daily.
The server loses power for one minute. When power is restored, torn pages are detected. You notice in SQL Server Enterprise Manager that the database is marked suspect.
You need to correct the problem. What should you do?
选项
A、Execute the DBCC CHECKDB statement, and then specify the PHYSICAL_ONLY option.
B、Execute the DBCC CHECKDB statement, and then specify the REPAIR_REBUILD option.
C、Execute the sp_resetstatus stored procedure.
D、Restore the suspect database from backups.
答案
D
解析
Explanation: In SQL Server 2000, the TORN_PAGE_DETECTION option is a database recovery option that allows SQL Server to detect incomplete I/O operations caused by power failures or other system outages. When this option is set to ON, which it is by default, it causes a bit to be reversed for each 512-byte sector in an 8KB database page when the page is written to disk.
If a bit is in the wrong state when the page is later read by SQL Server, the page was written incorrectly and a torn page is detected. Using batterybacked disk caches can ensure that data is successfully written to disk or not written at all. If the torn page is detected the database is marked suspect. When this occurs, the database backup should be restored, and any transaction log backups applied, because the database is physically inconsistent.
Incorrect Answers:
A: The DBCC CHECKDB statement checks the allocation and structural integrity of all the objects in the specified database. This statement can specify the PHYSICAL_ONLY option, which limits the checking to the integrity of the physical structure of the page and record headers, and to the consistency between the pages’ object ID and index ID and the allocation structures.
This check also detects torn pages and common hardware failures that can compromise a user’s data. However, the PHYSICAL_ONLY option is not allowed with any of the DBCC CHECKDB statement’s repair options.
B: The DBCC CHECKDB statement checks the allocation and structural integrity of all the objects in the specified database. This statement can specify repair options. It can specify the REBUILD_FAST option, which performs minor, nontime-consuming repair actions such as repairing extra keys in nonclustered indexes and can be done quickly and without risk of data loss; and it can specify the REPAIR_REBUILD option, which performs all repairs that can done by REPAIR_FAST and as well as includes time-consuming repairs such as index rebuilding. These repairs can also be done without risk of data loss.
C: The sp_resetstatus stored procedure is not a recovery option. It turns off the suspect flag on a database by updating the mode and status columns of the named database in sysdatabases. Because this procedure modifies the system tables, the system administrator must enable updates to the system tables before creating this procedure and the SQL Server 2000 must shut down and restate immediately after executing this procedure.
转载请注明原文地址:https://kaotiyun.com/show/PuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
[A]Thefirststepinpreparingamarketingplanisthatofproducingtheinformationnecessaryfordecision-making.Usually,a
Ofallthegoodsandservicestradedinthemarketeconomy,pharmaceuticalsareperhapsthemostcontentious.Thoughproducedby
[A]Marketforglasscraftsisgrowing[B]Dependenceofcomputerdevelopmentonglass[C]Behindtheadaptabilityofglass[D]
[A]Butworkisunderwaytogetcomputerstocapturehumanlifeandrememberitaspeopledo—recallingbitsofexperiencethata
Writeanessayof160-200wordsbasedonthefollowingdrawing.Inyouressay,youshould1)describethedrawingbriefly,
In2016,manyshoppersoptedtoavoidthefreneticcrowdsanddotheirholidayshoppingfromthecomfortoftheircomputer.But
In2016,manyshoppersoptedtoavoidthefreneticcrowdsanddotheirholidayshoppingfromthecomfortoftheircomputer.But
Herearesomemanagementtoolsthatcanbeusedtohelpyouleadapurposefullife.1.UseYourResourcesWisely.Yourdecisi
MireilleGuiliano,achampagnecompanyexecutive,capturedtheattentionoffrustrateddieterswithherjoyoflifeinthe2005
Adealisadeal—except,apparently,whenEntergyisinvolved.Thecompany,amajorenergysupplierinNewEngland,provokedjus
随机试题
机电产品国际招标采用综合评价法进行评标的,其综合评价法方案应当由()等组成,并作为招标文件必要组成部分对投标人公开。
筏形基础混凝土(使用矿渣水泥)浇筑完毕后,表面应覆盖和洒水养护,最低不少于()天。
某施工企业于2001年9月1日签订了一份大型设备进出口合同,合同约定适用我国法律。设备干2001年12月25日运抵国内某港口,开箱检查时未发现问题。在施工过程中,该设备于2002年3月1日出现重大故障,但供应商拒绝退换。施工单位主张赔偿的诉讼时效截止时间
某公司从欧盟进口一批货物,其包装材料为非针叶木,报检时应提供( )。
人应对自己的正常行为负责,这种负责甚至包括因行为触犯法律而受制裁。但是,人不应该对自己不可控制的行为负责。以下能从上述断定中推出的是()。①人的有些正常行为会导致触犯法律②人对自己的正常行为有控制力③不可控制的行为不可能触犯法律
在新一年的电影节的评比上,准备打破过去的只有一部最佳影片的限制,而按照历史片、爱情片等几种专门的类型分别评选最佳影片,这样可以使电影工作者的工作能够得到更为公平的对待,也可以使观众和电影爱好者对电影的优劣有更多的发言权。根据上述信息,这种评比制度的改革隐
求
Cisco路由器中用于查看路由表信息的命令是()。
A、Meetinginterestingpeopleinthecity.B、Beingabletoenjoybeingoutdoors.C、Drivinginunsettledweather.D、Takinglongdr
Euthanasia(meaning"easydeath"inGreek)istheactofinducingagentle,painlessdeath.Inrecent【B1】______thetermhascom
最新回复
(
0
)