首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
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
35
问题
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://www.kaotiyun.com/show/PuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
In2009theEuropeanCommissioncarriedoutaninvestigationintoMicrosoft.TheAmericansoftwaregianttiedInternetExplorer,
[A]Thefirststepinpreparingamarketingplanisthatofproducingtheinformationnecessaryfordecision-making.Usually,a
[A]Marketforglasscraftsisgrowing[B]Dependenceofcomputerdevelopmentonglass[C]Behindtheadaptabilityofglass[D]
Writealettertooneofyourfriends,apologizingtohim/herforyourmakinghis/hercomputerstopworking.Youshouldwrite
SupposeyouphonedyourfriendMaryseveraltimesyesterdaybutshedidn’tansweryourcallatall.Writeheranemailto1
EricHansenwritesabouttravelasaparticipatingenthusiastratherthanamereobserver.【T1】Itgivesthesenineessays,based
EricHansenwritesabouttravelasaparticipatingenthusiastratherthanamereobserver.【T1】Itgivesthesenineessays,based
MenorcaorMajorca?Itisthattimeoftheyearagain.Thebrochuresarepilingupintravelagentswhilenewspapersandmagazin
TheU.S.PostalService(USPS)continuestobleedredink.Itreportedanetlossof$5.6billionforfiscal2016,the10thst
NextmonthBritonswillhaveyetmoresmartphonestochoosefrom,whendevicesfromWiko,atwo-year-oldFrenchcompany,goons
随机试题
儿童经常说:“我一走路,月亮就跟我走”“花儿开了,因为它想看看我”。他们的思维具有只能前推不能后退的表现。儿童在注意事物的某一方面时往往忽略其他方面,对物体的认识受其形态变化的影响。上述内容说明前运算阶段儿童的认知特点是()。
在实验室衡量一个催化剂的价值时,下列哪个因素不加以考虑()
在54、63、72、74、76、82、88、99这一组数据中,中数是()
复方阿司匹林片的处方组成不包括
A.糖浆B.微晶纤维素C.微粉硅胶D.PEG6000E.硬脂酸镁片中可以作为润滑剂的是
衡量企业对于长期债务利息保障程度的是()。
甲公司2014年年初对A设备投资100000元,该项目2016年年初完工投产,2016年、2017年、2018年年末预期报酬分别为30000元、50000元、60000元,银行存款利率为12%。要求:按单利计算,并按年计息,计算投产后各年预期报酬在2
我国古典音乐中与“楚汉战争”相关的是()。
有甲、乙、丙三辆公交车于上午8:00同时从公交总站出发,三辆车再次回到公交总站所用的时间分别为40分钟、25分钟和50分钟。假设这三辆公交车中途不休息,请问它们下次同时到达公交总站将会是几点?()
HighfieldHouseisneartheseaside.ThecurrentinhabitantsbelongtotheHighfieldfamily.
最新回复
(
0
)