首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of SQL Server 2000 computer. The server contains a database named Inventory. The database has a set of
You are the administrator of SQL Server 2000 computer. The server contains a database named Inventory. The database has a set of
admin
2009-05-19
22
问题
You are the administrator of SQL Server 2000 computer. The server contains a database named Inventory. The database has a set of tables that track the location of parts. The tables are configured as shown in the Database Schema exhibit.
You examine the indexes in the PartsLocations table. The indexes are configured as shown in the Indexes exhibit.
You also examine the contiguity of the PK_partsLocations index and receive the following results:
DBCC SHOWCONTIG scanning ’PartsLocations’ table...
Table: ’PartsLocations’ (1); index ID: 1, database ID: 6
TABLE level scan performed.
- Pages Scanned................................: 3000
- Extents Scanned..............................: 750
- Extent Switches..............................: 502
- Avg. Pages per Extent........................: 4.0
- Scan Density [Best Count:Actual Count].......: 33.33% [1:3]
- Logical Scan Fragmentation...................: 33.33%
- Extent Scan Fragmentation....................: 33.33%
- Avg. Bytes Free per Page.....................: 1166.0
- Avg. Page Density (full).....................: 85.77%
You need to improve the performance of the queries that join this table to the Parts table and the Locations table. What should you do?
选项
A、Re-create the PK_PartsLocations index as a clustered index.
B、Re-create the IX_PartsLocations_PartsID as a clustered index.
C、Re-create the IX_PartsLocations_LocationId as a clustered index.
D、Re-create the PK_PartsLocations index as a nonclustered index.
答案
A
解析
Explanation:The output of the DBCC SHOWCONTIG shows that the clustered index of the table is fragmented. Both Logical Scan Fragmentation and Extent Scan Fragmentation are above 10%. The clustered index PK_PartsLocations should be rebuilt.
Note: In general, you need to do very little in terms of index maintenance. However, indexes can become fragmented. You can use the DBCC SHOWCONTIG command to report on the fragmentation of an index.
You can use either the Extent Scan Fragmentation value or the Logical Scan Fragmentation value to determine the general level of fragmentation in a table. Logical Scan Fragmentation and, to a lesser extent, Extent Scan Fragmentation values give the best indication of a table’s fragmentation level. Both these values should be as close to zero as possible (although a value from 0% through 10% may be acceptable).
Incorrect Answers:
B, C: There already exists a clustered index, the PK_PartsLocations index. A table can only contain one clustered index.
D: A clustered index is faster that a non-clustered index. We should rebuild the clustered index, not create a nonclustered index instead.
转载请注明原文地址:https://kaotiyun.com/show/muhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
Inthe1930s,anAmericanmeatcompanycameoutwithaspicedhamproductsoldinacan.Beforelong,Spam,asitwascalled,be
[A]Enduringproblemssuchaswar,poverty,andviolenceultimatelyspringfromhumannature,whichnotechnologicalinnovation
[A]Enduringproblemssuchaswar,poverty,andviolenceultimatelyspringfromhumannature,whichnotechnologicalinnovation
Itneverrainsbutitpours.Justasbossesandboardshadfinallysortedouttheirworstaccountingandcompliancetroubles,an
CigarettesmokingisahealthhazardofsufficientimportanceintheUnitedStatestowarrantappropriateremedialaction.Itwa
AlmosteveryyearsincetheendofthefinancialcrisishasstartedwithrosyexpectationsamongAmericanforecasters,andthis
Youliveinaroomincollegewhichyousharewithanotherstudent.Youfinditverydifficulttoworktherebecauseyourroomma
YouhavejustcomebackfromUKasamemberofaSino-Britishculturalexchangeprogram.Writeane-mailtoyourBritishcolle
DrRichardBergland,abrainresearcherattheHarvardMedicalSchool,haswrittenapapersuggestingthathumanbrainisbasica
NextmonthBritonswillhaveyetmoresmartphonestochoosefrom,whendevicesfromWiko,atwo-year-oldFrenchcompany,goons
随机试题
奥氏体不锈钢与珠光体钢焊接时,由于电弧的高温加热作用,整个焊接熔池的化学成分是非常均匀的。()
肾结核X线检查主要依靠
尿蛋白定量检查常选用的防腐剂是
男,64岁,散步时突然自觉腹部不适、恶心、头晕、出虚汗、心慌,急就诊,查体:P118次/分;BPl00/60mmHg;心律整,面色苍白,腹部广泛压痛,尤以右侧腹明显,轻度肌紧张,既往有肝炎后肝硬化史,但无出血史,亦未做进一步检查。最可能诊断是
根据公司法的规定,公司不得收购本公司的股份,但是,有下列情形之一的除外()
根据《现金管理暂行条例》规定,下列经济业务中,不能用现金支付的是()。
根据道氏理论,市场波动的趋势分为()。Ⅰ.主要趋势Ⅱ.次要趋势Ⅲ.短暂趋势Ⅳ.长期趋势
迈克卡等人将复述策略、精细加工策略和组织策略统称为______。(2016.福建)
来自不同的语言群体和文化的人需要彼此交流,就必须寻找交流工具。在一个层面上,他们可以依赖受过特殊训练的专业人员,这些人可以熟练使用两种以上的语言来作口译和笔译。但这是不方便的,花费的时间和代价是昂贵的。因此,在整个历史上,不断出现通用语言,在古代世界和中世
设二次型χTAχ=χ12+4χ22+χ32+2aχ1χ2+2bχ1χ3+2cχ2χ3,矩阵B=,满足AB=0.①用正交变换化χTAχ为标准形,写出所作变换.②求(A-3E)6.
最新回复
(
0
)