首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of a SQL Server 2000 computer. The server contains a database named Contracts. The server is configure
You are the administrator of a SQL Server 2000 computer. The server contains a database named Contracts. The server is configure
admin
2009-05-19
21
问题
You are the administrator of a SQL Server 2000 computer. The server contains a database named Contracts. The server is configured as shown in the server configuration exhibit.
The database files are configured as shown in the database properties exhibit.
The database developers have been creating new tables and indexes without specifying a filegroup.
The primary filegroup is reaching its maximum capacity.
You want the developers to continue adding new objects, but you do not want then to change the way they create objects. You do not want to run out of disk space. You also want to minimize the time it takes to administer the database.
What should you do?
选项
A、Back up the existing objects on the PRIMARY filegroup. Drop them from the database. Re-create them on the SECONDARY filegroup.
B、Set the file growth on the PRIMARY filegroup to UNLIMITED.
C、Set the PRIMARY filegroup so that it is read-only.
D、Set the SECONDARY filegroup as the default filegroup.
答案
D
解析
Explanation: By setting the secondary filegroup to the default filegroup, user data will be added to this filegroup and the database would be allowed to grow.
Note: In SQL Server 2000 a database is mapped to a set of operating-system files, which stores all data and objects in the database, such as tables, stored procedures, triggers, and views.
In addition to the log file, there are two operating-system files: the primary data file, which contains the startup information for the database and is used to store data, and the secondary data file, which contains all of the data that is not part of the primary data file. If the primary file can hold all of the data in the database, databases do not need to have secondary data files but every database must have one primary data file.
Some databases may be large enough to need multiple secondary data files or to use secondary files on separate disk drives to spread data across multiple disks. These files can be placed into different filegroups. This allows files to be grouped together for administrative and data allocation/placement purposes. The filegroup that contains the primary file is the PRIMARY filegroup.
This filegroup contains the primary data file and any other files that are not put into another filegroup. User-defined filegroups are called SECONDARY filegroups and are any filegroups that are specifically created by the user when first creating or later altering the database. One filegroup is designated as the DEFAULT filegroup.
When objects are created in the database without specifying to which filegroup they belong, they are assigned to the DEFAULT filegroup. By default, the PRIMARY filegroup is designated the DEFAULT filegroup. The DEFAULT filegroup can be changed using the ALTER DATABASE statement. This allows any objects that do not have a filegroup specified when they are created are allocated to the data files in the new DEFAULT filegroup.
However, allocation for the system objects and tables remains within the PRIMARY filegroup, not the new DEFAULT filegroup.
Incorrect Answers:
A: The database startup information and the system objects and tables must remain in the PRIMARY filegroup. These database objects cannot be moved to a SECONDARY filegroup.
B: The FILEGROWTH property can only be specified for operating-system files, i.e., primary or secondary data files. The FILEGROWTH property cannot be specified for a filegroup.
C: SQL Server 2000 allows filegroups to be marked as read-only. A filegroup marked read-only cannot be modified. Any user-defined filegroup, i.e., SECONDARY filegroup can be marked as read-only. However, the PRIMARY filegroup cannot be marked as read-only as it contains the system objects and tables. Theses include the tempdb and deleted database tables.
转载请注明原文地址:https://kaotiyun.com/show/cuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
Ofallthegoodsandservicestradedinthemarketeconomy,pharmaceuticalsareperhapsthemostcontentious.Thoughproducedby
WhentheresidentsofBuenosAireswanttochangethepesostheydonottrustintothedollarstheydo,theygotoacueva,or"
In2016,manyshoppersoptedtoavoidthefreneticcrowdsanddotheirholidayshoppingfromthecomfortoftheircomputer.But
MireilleGuiliano,achampagnecompanyexecutive,capturedtheattentionoffrustrateddieterswithherjoyoflifeinthe2005
MireilleGuiliano,achampagnecompanyexecutive,capturedtheattentionoffrustrateddieterswithherjoyoflifeinthe2005
MireilleGuiliano,achampagnecompanyexecutive,capturedtheattentionoffrustrateddieterswithherjoyoflifeinthe2005
NextmonthBritonswillhaveyetmoresmartphonestochoosefrom,whendevicesfromWiko,atwo-year-oldFrenchcompany,goons
GivingmillionsofexistingPayPalcustomerstheabilitytobuyattheclickofabuttonhasenormouspotentialforincreasing
随机试题
蛋白质一热能营养不良患儿临床上最先出现的症状是
痔切除术后能促进炎症吸收,缓解肛门括约肌痉挛的护理措施是
在工程网络中,工作W的最早开始时间为第28d,其持续时间为9d.。该工作有三项紧后工作,它们的最迟开始时间分别为第40d、第43d、第48d,则工作W的总时差为()d。
总体而言,金融市场的基本功能包括()。
职务权力范畴的基础性权力包括()。
案例介绍:一位32岁的妈妈为儿子的问题前来咨询。下面是一段咨询对话:心理咨询师:请坐,你需要哪方面的帮助?孩子妈妈:大夫,你一定要管管这个孩子,这孩子太不听话了。心理咨询师:你根据什么说他不听话呢?孩子妈妈:在学校里,每当老
TCP/IP是一个协议族,它的体系结构分为4层:应用层、网际层、网络接口层和(1),其中ARP协议属于(2)。为了在源主机和目的主机之间传送数据,IP协议需要确定源主机和目的主机是否在同一个网络中。如果不在同一网络时,则必须通过(3)进行通信。
给定程序中,函数fun的功能是:计算出形参s所指字符串中包含的单词个数,作为函数值返回。为便于统计,规定各单词之间用空格隔开。例如,形参s所指的字符串为:ThisisaClanguageprogram,函数的返回值为6。请在程序
CellPhoneLetsYourSecretOutYourcellphoneholdssecretsaboutyou.Besidesthenamesand【51】thatyou’veprogrammedin
______carewouldhavepreventedit.
最新回复
(
0
)