首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
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
95
问题
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
微软认证
相关试题推荐
[A]Marketforglasscraftsisgrowing[B]Dependenceofcomputerdevelopmentonglass[C]Behindtheadaptabilityofglass[D]
Thenewaircraftrepresentsa$250mbetbyBombardierthatMexicocouldprovidenotjustroutinelabourbutmanufacturingthat
[A]"Ijustdon’tknowhowtomotivatethemtodoabetterjob.We’reinabudgetcrunchandIhaveabsolutelynofinancialrewa
AlmosteveryyearsincetheendofthefinancialcrisishasstartedwithrosyexpectationsamongAmericanforecasters,andthis
TheChineseScienceandTechnologyPapersBeingIncludedinSCI收录的中国科技论文A.Studythechartscarefullyandwriteanessayof160
YouwanttocontributetoProjectHopebyofferingfinancialaidtoachildinaremotearea.Writealettertothedepartmentc
Whethertheeyesare"thewindowsofthesoul"isdebatable;thattheyareintenselyimportantininterpersonalcommunicationis
Thehumanbraincontains10thousandmillioncellsandeachofthesemayhaveathousandconnections.Suchenormousnumbersused
InParagraphs1and2,thetextshowsPTK’s______.Skepticalobserversbelievethatancestrytestingfailsto______.
Insectsaredisappearing.Theworldhas25percentfewerterrestrialinsectsnowthanin1990.Thisincludesthosewerelyon
随机试题
甲公司2008年7月1日购入乙公司2008年1月l曰发行的债券,支付价款为2100万元(含已到付息期但尚未领取的债券利息40万元),另支付交易费用15万元。该债券面值为2000万元。票面年利率为4%(票面利率等于实际利率),每半年付息一次,甲公司将其划分为
A.简单随机抽样B.系统抽样C.分层抽样D.整群抽样E.多阶段抽样误差最大的抽样方法是
【2001年第36题】由预制构件(柱、屋架、屋面板)组成的单层单跨工业厂房,其结构的横向计算如下列图所示,应取以下哪个图形?
背景资料某水电站大坝为混凝土双曲拱坝,坝高240m,总库容58亿m3,装机容量6×55万kw,年发电量约172亿kW/h。固结灌浆施工于2004年12月开始施工,2009年3月全部完成。(1)地质情况和岩体质量分级。根据
公司型基金的基金公司负责基金的投资操作和日常管理。()
我国现代农业建设必须面对的现实条件和最大的制约因素是()。
纳税人被工商行政管理机关吊销营业执照后,应当向原税务登记机关申请办理注销税务登记,其期限是自营业执照被吊销之日起()内。
简述学生掌握知识的基本阶段。
"Ibelieveinequalityforeveryone,exceptreportersandphotographers,"MahatmaGandhioncesaid.Journalist-haterslikehimm
IntheUS,pollafterpollhasshownamajorityinfavourofanimalexperimentation,evenwithoutstatementsaboutitsvalue.Wh
最新回复
(
0
)