首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of a SQL Server 2000 computer. You are configuring a database for an inventory application. The hard d
You are the administrator of a SQL Server 2000 computer. You are configuring a database for an inventory application. The hard d
admin
2009-05-19
133
问题
You are the administrator of a SQL Server 2000 computer. You are configuring a database for an inventory application. The hard disks on your server are configured as shown in the exhibit.
The operating system files are located on drive C. Your database will store a maximum of 6 GB of data and requires a maximum of 2 GB of disk space for the transaction log.
You want to optimize database performance. What should you do?
选项
A、Add a 2-GB transaction log to drive D, a 3-GB data file to drive E, and a 3-GB data file to drive F
B、Add a 1-GB transaction log to drive C, a 1-GB transaction log to drive D, a 3-GB data file to drive E, and a 3-GB data file to drive F
C、Add a 1-GB transaction log to drive E, a 1-GB transaction log to drive F, a 3-GB data file to drive E, and a 3-GB data file to drive F
D、Add a 2-GB transaction log to drive F, a 3-GB data file to drive D, and a 3-GB data file to drive E
答案
D
解析
Explanation: Basically there are two methods to improve performance in this scenario:
Method 1: put the transaction log file on a separate physical disk.
One way to improve performance and recoverability of your database is to place the data files and the transaction log files on separate disk subsystems, and to use dedicated disks for your data files so that data read and write (I/O) requests are not competing with other I/O requests on those disks. This is (A).
Method 2: data files split across two physical disks
Splitting your data files among a number of disks results in increased I/O performance in particular when multiple controllers are used like in this scenario. This is (D).
To decide which is better we must think about the application. This is an inventory system and we can assume that the queries would be more frequent than additions and update of rows. So we should choose method 2 since it gives the best performance for reading data.
Note: Physical database design involves mapping the logical design onto physical media to allow for the data to be physically accessed and maintained as quickly as possible by taking advantage of the available hardware and software features.
It is important to correctly design the database and to take advantage of hardware and software features early in the development cycle of a database application, because making changes to these components at a later stage it is difficult. Placing log files and the data files on different physical disks, and placing the log file of a drive that does not hold the operating system can improve database performance as it allows the frequently written to log file to exist a disk with its own read/write heads.
Incorrect Answers:
A: In an inventory system data is read more frequently and not so many changes are made to the database. We should optimize the data files not the log file.
B: Placing log files and the data files on different physical disks and placing the log file of a drive that does not hold the operating system can improve database performance as it allows the frequently written to log file to exist a disk with its own read/write heads. In this part of the log file is placed on drive C, which would also hold the operating system.
C: Placing log files and the data files on different physical disks can improve database performance as it allows the frequently written to log file to exist a disk with its own read/write heads. In this solution the log file and the data file are placed on the same physical drive.
转载请注明原文地址:https://kaotiyun.com/show/puhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
Chinaplanstospendbillionsofdollarsinthenextfewyearstodevelopmediaandentertainmentcompaniesthatithopescanco
[A]Thefirststepinpreparingamarketingplanisthatofproducingtheinformationnecessaryfordecision-making.Usually,a
Ofallthegoodsandservicestradedinthemarketeconomy,pharmaceuticalsareperhapsthemostcontentious.Thoughproducedby
Rao’s,thelegendaryeastHarlemItalianeatery,ismorethanahundredblocksaboveWallStreet.Butwithaclientelethatincl
Youliveinaroomincollegewhichyousharewithanotherstudent.Youfinditverydifficulttoworktherebecauseyourroomma
Inthissection,youareaskedtowriteanessaybasedonthefollowinginformation.Makecommentsandexpressyourownopinion.
Writeanotepaperaccordingtothesituationbelow:Youareplanningtoinviteaforeignfriendtohavedinnertocelebrate
EricHansenwritesabouttravelasaparticipatingenthusiastratherthanamereobserver.【T1】Itgivesthesenineessays,based
WhileAmericanshavebecomeevermoredependentuponelectricityintheirdailylives,acrucialpartofthesystemthatsupport
在【安全中心】窗口中,设置windows防火墙,允许“文件和打印机共享”。
随机试题
ManypeoplebelievethatAmericanslovetheircarsalmostmorethananythingelse.Theyare【21】aboutcars.Notonlyisthecart
胎盘由胎儿的_______和母体的_______共同构成,其_______面光滑,表面覆有_______,_______面粗糙,可见15~30个_______,胎盘主要具有_______和_______的功能。
下列反映肝细胞损害最敏感的检查指标是()
一座旧厂房改造的超级市场,在该旧厂房建成后4年补办了土地使用权出让,年限为40年,建筑物的经济寿命为50年。这种情况下,计算建筑物折旧的经济寿命应为()年。
()通常指派最高风险管理委员会负责拟定具体的风险管理政策和指导原则。
(2012年)下列各项关于对境外经营财务报表进行折算的表述中,正确的有()。
广告创意要在坚持客观事实的条件下,升华凝练出主题思想与广告语,并且从表象、意象、联想中获取创作的素材,体现出广告创意的()特征
根据画线部分进行仿写。学会宽容,宽容是容纳大树小草的田野,是接受阳光雨的天空,是_____________________;宽容是吹开闭锁保守的清风,是洗涤狭隘自私的雨水,是_____________________。
从整体看,全球电子商务未来发展潜力惊人,而法律监管尚存在许多空白,尤其是如何规范跨国界网上交易,成为电子商务发展的严峻问题。美国和欧盟目前除加强内部立法外,正在加强沟通,力求建立一种为世界各个国家和地区接受的电子商务游戏规则。美国联邦贸易委员会近
Abooklesslifeisa/an【C1】______life.Booksinfluencethedepthand【C2】______oflife.Theymeetthenaturaldesireforfreedo
最新回复
(
0
)