Course 10361 Incomplete!!! Flashcards
(52 cards)
Who creates and manages databases?
Both database administrators and developers.
How are databases moved from the development environment to the production environment?
Organizations create SQL Server 2008 R2 databases in a development environment and then generate a script that will be passed on to a database administrator to run on a production computer running SQL Server 2008 R2. Understanding the different methods of creating a database by using Transact-SQL and SQL Server Management Studio is important. This course will explore the planning issues that are involved prior to creating the database.
When is the best time to optimize performance of a database?
Although there are many ways to improve the performance of SQL Server 2008 R2, the database creation stage is the best opportunity to implement the logical and physical design for optimal performance.
What types of databases are created when you install SQL Server 2008 R2?
The first type is a system database, which is created automatically. Each system database performs different functions and stores information about SQL Server 2008 R2 or one of its specific components. System databases also store metadata related to SQL Server 2008 R2.
The second type is the user-defined database. These databases are created manually by a database developer. User-defined databases typically hold business data that can be queried and modified.
What are the types of databases?
master msdb model tempdb distribution Mssqlsystemresource
What is the name of the type of database that is the template for all new user-defined databases?
model
What is the name of the database that stores temporary objects?
tempdb
What type of database stores information about the jobs, alerts and operators that are defined in the SQL Server Agent?
msdb
What kind of database is created when replication is enabled and configured?
distribution
What is the name of the hidden, read-only system database? What is another name for it?
Mssqlsystemresource, aka Resource database
Which database to SQL Server is like Windows registry is to Windows?
master
Where do features such as SQL Server Integration Services, Service Broker, and DAtabase mail store metadata?
msdb
Where is information about all the databases in an instance of SQL Server 2008 stored?
master. This data is known as metadata.
What is used as the basis of a new user-defined database and how is it produced?
A copy of the model database is used as the template for the new database. It is then renamed as the database name defined in the CREATE DATABASE statement. Metadata about the new database is stored in the master database before the new database is created.
Who is tempdb available to?
All users connected to SQL Server.
What does the distribution database store?
Metadata and history data for all types of replication and transaction for transactional replication.
What contains all system objects that are included n SQL Server 2008?
Mssqlsystemresource
What happens if the master database becomes corrupt and what is a recommended safety measure?
If the master database becomes corrupted, it prevents SQL Server 2008 from running. It is recommended that a backup of the master database be taken every time a new database is added or removed from the instance of SQL Server 2008.
When are temporary objects removed from tempdb?
When a connection that creates a temporary object disconnects or if the server restarts. If the tempdb database becomes corrupt, it is recreated with SQL Server restarts.
What is the SQL Server Agent responsible for?
Scheduled automation of jobs and the firing of alerts.
What two files are created when you create a user-defined database?
MDF, LDF
What does the MDF store and how many can you have?
MDF is the primary data file that stores the data. You can define only one MDF.
What does the LDF store?
The LDF file is the transaction log file that stores a record of the transactions that have been issued against the SQL Server.
Where is it recommended you put the MDF and LDF files?
As a minimum requirement, it is recommended that the LDF file is stored on a faster, separate disk than the MDF file.
Ideally, each disk is on a separate controller. This improves data throughput and disk I/O for information that is read and written to the database.