Cover image for MCSE training kit : Microsoft SQL Server 2000 system administration
Title:
MCSE training kit : Microsoft SQL Server 2000 system administration
Personal Author:
Publication Information:
Redmond, Wash : Microsoft Press, 2001
Physical Description:
xxviii, 689 p. : ill. ; 23 cm.
ISBN:
9780735612471
General Note:
"Exam 70-228."

Includes index

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010310212 QA76.3 R32 2001 Open Access Book Gift Book
Searching...

On Order

Summary

Summary

Designed for the Microsoft Certified Professional (MCP) exam, this instruction book presents lessons and exercises on installing, configuring, and troubleshooting SQL Server 2000. Attention is given to topics like database options, Data Transformation Services, replication services, security, back-


Table of Contents

About This Bookp. xvii
Chapter 1 Overview of SQL Server 2000p. 1
Lesson 1 What Is SQL Server 2000?p. 1
The SQL Server 2000 Environmentp. 2
SQL Server 2000 Componentsp. 2
SQL Server 2000 Relational Database Enginep. 4
SQL Server 2000 Analysis Servicesp. 4
Application Supportp. 4
Additional Componentsp. 5
SQL Server 2000 Editionsp. 7
Integration with Windows 2000 and Windows NT 4.0p. 10
Lesson 2 What Are the SQL Server 2000 Components?p. 12
Server Componentsp. 13
Client-Based Administration Tools and Utilitiesp. 14
Client Communication Componentsp. 14
SQL Server Books Onlinep. 18
Lesson 3 What Is the Relational Database Architecture?p. 19
System and User Databasesp. 19
Physical Structure of a Databasep. 20
Logical Structure of a Databasep. 21
Lesson 4 What Is the Security Architecture?p. 23
Authenticationp. 23
Authorizationp. 25
Chapter 2 Installing SQL Server 2000p. 27
Lesson 1 Planning to Install SQL Server 2000p. 28
What Is the Minimum Hardware Required?p. 28
Exceeding Minimum Computer Hardware Requirementsp. 31
Lesson 2 Deciding SQL Server 2000 Setup Configuration Optionsp. 32
Determining the Appropriate User Account for the SQL Server and SQL Server Agent Servicesp. 32
Practice: Creating a Dedicated Windows 2000 User Accountp. 34
Choosing an Authentication Modep. 34
Determining Collation Settingsp. 35
Practice: Determining Your Windows Collationp. 37
Selecting Network Librariesp. 37
Deciding on a Client Licensing Modep. 38
Lesson 3 Running the SQL Server 2000 Setup Programp. 39
Running the SQL Server 2000 Setup Programp. 40
Understanding Installation Typesp. 41
Selecting a Setup Typep. 42
Practice: Installing a Default Instance of SQL Server 2000p. 48
Lesson 4 Using Default, Named, and Multiple Instances of SQL Server 2000p. 49
Installing Multiple Instances of SQL Server 2000p. 50
Using Multiple Instances of SQL Server 2000 Effectively and Appropriatelyp. 51
Understanding Shared Components Between Instancesp. 51
Understanding Unique Components Between Instancesp. 51
Working with Default and Named Instances of SQL Server 2000p. 52
Lesson 5 Performing Unattended and Remote Installations of SQL Server 2000p. 53
Performing an Unattended Installation of SQL Server 2000p. 53
Creating Setup Initialization Files for SQL Server 2000p. 53
Practice: Performing an Unattended Installation of a Named Instance of SQL Server 2000p. 55
Performing a Remote Installation of SQL Server 2000p. 57
Lesson 6 Troubleshooting a SQL Server 2000 Installationp. 58
Reviewing SQL Server 2000 Setup Program Log Filesp. 59
Accessing SQL Server 2000 Troubleshooting Information Onlinep. 59
Reviewing the SQL Server Error Log and the Windows Application Logp. 60
Practice: Reviewing the SQL Server Error Log and the Windows Application Logp. 60
Chapter 3 Preparing to Use SQL Server 2000p. 63
Lesson 1 Reviewing the Results of Installationp. 64
What Files and Folders Were Added?p. 64
What Permissions Were Set in the NTFS File Systemp. 67
Practice: Reviewing the Files and Folders That Were Createdp. 68
What Registry Keys Were Addedp. 70
What Permissions Were Set on Registry Keysp. 71
Practice: Reviewing Permissions on Registry Keysp. 73
What Programs Were Added to the Start Menup. 74
Lesson 2 Starting, Stopping, Pausing, and Modifying SQL Server 2000 Servicesp. 75
What Is the Default Configuration for Each SQL Server Service?p. 75
Starting, Stopping, and Pausing SQL Server 2000 Servicesp. 76
Practice: Starting SQL Server Servicesp. 79
Changing the SQL Server or SQL Server Agent Service Account After Setupp. 80
Lesson 3 Working with Osql, SQL Query Analyzer, and SQL Server Enterprise Managerp. 82
Working with Osqlp. 82
Practice: Using Osql to Query SQL Server 2000 Instancesp. 84
Working with SQL Query Analyzerp. 85
Practice: Using SQL Query Analyzer to Query SQL Server 2000 Instancesp. 87
Working with SQL Server Enterprise Managerp. 89
Practice: Working with the SQL Server Enterprise Manager MMC Consolep. 91
Chapter 4 Upgrading to SQL Server 2000p. 95
Lesson 1 Preparing to Upgradep. 96
Working with Multiple Versions of SQL Server on the Same Computerp. 96
Choosing the Appropriate Upgrade Process and Methodp. 97
Determining Hardware and Software Requirementsp. 99
Preparing for the Actual Upgradep. 100
Lesson 2 Performing a Version Upgrade from SQL Server 7.0p. 101
Performing a Version Upgradep. 101
Performing Post-Upgrade Tasksp. 103
Manually Upgrading Meta Data Services Tables and the Repository Databasep. 103
Lesson 3 Performing an Online Database Upgrade from SQL Server 7.0p. 104
Performing an Online Database Upgradep. 104
Performing Post-Upgrade Tasksp. 110
Lesson 4 Performing a Version Upgrade from SQL Server 6.5p. 111
Performing a Version Upgradep. 111
Troubleshooting a SQL Server 6.5 Upgradep. 118
Specifying a Backward Compatibility Level for Upgraded Databasesp. 119
Chapter 5 Understanding System and User Databasesp. 121
Lesson 1 Understanding the Database Architecturep. 122
Introducing Data Filesp. 122
Practice: Viewing the Properties of a Data Filep. 123
Allocating Space for Tables and Indexesp. 124
Storing Index and Data Pagesp. 125
Lesson 2 Understanding the Transaction Log Architecturep. 127
Introducing Transaction Log Filesp. 128
How the Transaction Log Worksp. 129
Introducing Recovery Modelsp. 132
Practice: Viewing the Properties of a Transaction Log and a Databasep. 133
Lesson 3 Understanding and Querying System and Database Catalogsp. 134
Introducing System Tablesp. 134
Retrieving System Informationp. 136
Practice: Querying System Tables Directlyp. 136
Practice: Querying System Tables Using System Stored Proceduresp. 137
Practice: Querying System Tables Using System Functionsp. 140
Practice: Querying System Tables Using Information Schema Viewsp. 141
Chapter 6 Creating and Configuring User Databasesp. 143
Lesson 1 Creating a User Databasep. 144
Creating a User Databasep. 144
Using SQL Server Enterprise Manager to Create a User Databasep. 147
Practice: Creating a Database Using the Create Database Wizard in SQL Server Enterprise Managerp. 151
Practice: Creating a Database Directly Using SQL Server Enterprise Managerp. 154
Using the CREATE DATABASE Transact-SQL Statement to Create a User Databasep. 155
Practice: Creating a Database in SQL Query Analyzer Using the CREATE DATABASE Transact-SQL Statementp. 157
Scripting Databases and Database Objects Using SQL Server Enterprise Managerp. 158
Practice: Generating a Transact-SQL Script to Re-create the TSQLDB Databasep. 159
Lesson 2 Setting Database Optionsp. 161
Introducing Database Optionsp. 161
Viewing Database Option Settingsp. 161
Modifying Database Optionsp. 162
Lesson 3 Managing User Database Size Using Automatic File Growth Appropriatelyp. 163
Practice: Configuring Automatic Filegrowth Settings Using SQL Server Enterprise Managerp. 164
Using Automatic File Shrinkage Appropriatelyp. 165
Controlling Data File Size Manuallyp. 165
Practice: Modifying Data File Size Using SQL Server Enterprise Managerp. 166
Controlling Transaction Log File Size Manuallyp. 167
Creating Additional Data and Transaction Log Filesp. 168
Lesson 4 Placing Database Files on Multiple Disksp. 170
Introducing RAIDp. 170
Introducing Filegroupsp. 170
Configuring Your SQL Server 2000 Disk Subsystem for Performance, Fault Tolerance, and Recoverabilityp. 172
Moving Data and Transaction Log Filesp. 174
Chapter 7 Populating a Databasep. 179
Lesson 1 Transferring and Transforming Datap. 180
Importing Datap. 180
DTS Data Transformationsp. 181
Introducing the Data Transfer Toolsp. 182
Lesson 2 Introducing Microsoft Data Transformation Services (DTS)p. 183
Understanding a DTS Packagep. 183
DTS Package Storagep. 188
Introducing DTS Toolsp. 188
Lesson 3 Transferring and Transforming Data with DTS Graphical Toolsp. 190
Using the DTS Import/Export Wizardp. 190
Practice: Transferring Tables and Data from the Northwind Database Using the DTS Import/Export Wizardp. 198
Using DTS Designerp. 202
Practice: Creating a Data Transfer and Transform Package Using DTS Designerp. 208
Extending DTS Package Functionalityp. 213
Lesson 4 Working with DTS Packagesp. 215
Understanding DTS Package Storage Optionsp. 215
Using DTS Package Execution Utilitiesp. 217
Using DTS Package Logs and Exception Filesp. 217
Performing Disconnected Editsp. 218
Lesson 5 Using the Bulk Copy Program (Bcp) and the BULK INSERT Transact-SQL Statementp. 218
Copying Data in Bulk Using Text Filesp. 219
Using Bcpp. 219
Practice: Importing Data Using Bcpp. 220
Using the BULK INSERT Transact-SQL Statementp. 222
Optimizing Bulk Copy Operationsp. 222
Chapter 8 Developing a Data Restoration Strategyp. 225
Lesson 1 Understanding Data Restoration Issuesp. 226
Lesson 2 Understanding the Types of Database Backupsp. 231
Lesson 3 Understanding the Restoration Processp. 235
Chapter 9 Backing Up and Restoring SQL Serverp. 243
Lesson 1 Understanding Backup Terms, Media, and Devicesp. 244
Defining Termsp. 244
Selecting Backup Mediap. 244
Creating Permanent Backup Devicesp. 246
Practice: Creating Backup Devices Using Transact-SQLp. 248
Lesson 2 Backing Up Databases, Files, Filegroups, and Transaction Logsp. 249
Perform Backups Using SQL Server Enterprise Managerp. 249
Practice: Backing Up the master Database Using the Create Database Backup Wizardp. 254
Practice: Backing Up the msdb Database Directly Using SQL Server Enterprise Managerp. 259
Perform Backups Using Transact-SQLp. 260
Practice: Performing Backups Using Transact-SQLp. 262
Lesson 3 Restoring a User Databasep. 264
Determining the Data Restoration Sequencep. 265
Practice: Retrieving Backup Media Informationp. 267
Performing Restorations Using SQL Server Enterprise Managerp. 268
Practice: Performing a Complete Database Restorationp. 273
Practice: Performing a Database Restoration to a Specified Point in Timep. 278
Performing Restorations Using Transact-SQLp. 281
Practice: Performing Restorations Using Transact-SQLp. 283
Lesson 4 Restoring and Rebuilding System Databasesp. 285
Restoring the Master Databasep. 285
Rebuilding the System Databasesp. 287
Chapter 10 Managing Access to SQL Server 2000p. 289
Lesson 1 Understanding the Authentication Processp. 290
Understanding the SQL Server 2000 Authentication Processp. 290
Comparing Windows Authentication and SQL Server Authenticationp. 291
Selecting a SQL Server 2000 Authentication Modep. 293
Practice: Switching SQL Server 2000 Authentication Modesp. 295
Understanding Security Account Delegationp. 295
Lesson 2 Understanding the Authorization Processp. 298
Understanding Server-Wide Permissionsp. 298
Understanding Database-Specific Permissionsp. 299
Lesson 3 Creating and Managing Loginsp. 302
Granting Access Using SQL Server Enterprise Managerp. 302
Practice: Creating a Login Using the Create Login Wizardp. 306
Practice: Creating a Login Directly Using SQL Server Enterprise Managerp. 311
Granting Access Using Transact-SQL Statementsp. 314
Practice: Granting SQL Server 2000 and Database Access Using Transact-SQLp. 318
Viewing Access Informationp. 319
Practice: Viewing SQL Server 2000 Access Informationp. 324
Chapter 11 Managing SQL Server Permissionsp. 329
Lesson 1 Granting Database-Specific Permissionsp. 330
Implementing Permissionsp. 330
Practice: Creating and Testing Permission Conflictsp. 332
Managing Statement Permissionsp. 333
Practice: Granting and Testing Statement Permissionsp. 337
Managing Object Permissionsp. 340
Viewing Permissionsp. 346
Practice: Granting and Testing Object Permissionsp. 346
Lesson 2 Using Application Rolesp. 351
Understanding Application Rolesp. 351
Creating Application Rolesp. 352
Activating and Using Application Rolesp. 353
Practice: Creating and Testing Application Rolesp. 353
Lesson 3 Designing an Access and Permissions Strategyp. 355
Permitting Administrator Accessp. 355
Using Windows Groups and SQL Server 2000 Server Rolesp. 356
Providing SQL Server 2000 Accessp. 356
Providing Database Accessp. 357
Using Fixed Database Roles for Administrative Accessp. 357
Providing Data Accessp. 357
Chapter 12 Performing Administrative Tasksp. 361
Lesson 1 Performing Configuration Tasksp. 362
Configuring Windows 2000 (and Windows NT 4.0)p. 362
Configuring the SQL Server Servicep. 365
Configuring the Service Accountp. 374
Configuring the SQL Server Agent Servicep. 375
Registering SQL Server 2000 Instances with SQL Server Enterprise Managerp. 378
Sharing Registration Informationp. 383
Lesson 2 Setting Up Additional Featuresp. 384
Setting Up SQL Mail and SQLAgentMailp. 385
Setting Up Linked Serversp. 389
Practice: Setting Up and Testing a Linked Server Configurationp. 393
Creating an ODBC SQL Server Data Sourcep. 396
Configuring SQL Server XML Support in IISp. 399
Practice: Creating an IIS Virtual Directoryp. 404
Lesson 3 Performing Maintenance Tasksp. 406
Updating Distribution Statisticsp. 406
Maintaining Indexesp. 407
Maintaining Full-Text Indexesp. 407
Chapter 13 Automating Administrative Tasksp. 411
Lesson 1 Defining Operatorsp. 412
Methods of Notificationp. 412
Fail-Safe Operatorsp. 413
Creating Operatorsp. 413
Creating a Fail-Safe Operatorp. 415
Practice: Creating Operators and Setting a Fail-Safe Operatorp. 416
Lesson 2 Creating Jobsp. 418
Implementing Jobsp. 418
Creating Jobsp. 422
Practice: Creating a Job Using the Create Job Wizardp. 426
Practice: Creating a Job Using SQL Server Enterprise Manager Directlyp. 431
Using Transact-SQLp. 433
Reviewing Jobs and Job Historyp. 434
Practice: Reviewing and Modifying a Job and Viewing Job Historyp. 437
Lesson 3 Configuring Alertsp. 439
Defining Alertsp. 440
Configuring Alertsp. 442
Practice: Creating an Event Alert Using the Create Alert Wizardp. 446
Practice: Creating a Performance Condition Alert Using SQL Server Enterprise Manager Directlyp. 450
Reviewing Alerts and Alert Historyp. 452
Lesson 4 Creating a Database Maintenance Planp. 453
Using the Database Maintenance Plan Wizardp. 454
Viewing and Modifying Database Maintenance Plansp. 460
Using the Sqlmaint Utilityp. 462
Lesson 5 Creating Multiserver Jobsp. 462
Creating Master and Target Serversp. 463
Creating Jobs for Target Serversp. 466
Monitoring Jobs on Target Serversp. 467
Practice: Creating a Multiserver Jobp. 470
Chapter 14 Monitoring SQL Server Performance and Activityp. 475
Lesson 1 Developing a Performance Monitoring Methodologyp. 476
Establishing Monitoring Goalsp. 476
Determining Resources and Activities to Monitorp. 478
Lesson 2 Choosing Among Monitoring Toolsp. 479
Using System Monitorp. 480
Using Task Managerp. 481
Using SQL Profilerp. 482
Using SQL Query Analyzerp. 484
Using the SQL Server Enterprise Manager Current Activity Windowp. 485
Using Transact-SQLp. 485
Using SNMPp. 488
Lesson 3 Performing Monitoring Tasksp. 489
Monitoring Resource Usagep. 489
Practice: Monitoring System Resources Using System Monitor and Task Managerp. 498
Monitoring Stored Procedures, Transact SQL Batches, and User Activityp. 499
Practice: Monitoring SQL Batches and Stored Proceduresp. 503
Monitoring Current Locking and User Activityp. 504
Practice: Monitoring Blocking Problems Using the Current Activity Window and System Stored Proceduresp. 509
Chapter 15 Using SQL Server Replicationp. 513
Lesson 1 Introducing Replicationp. 514
Describing Replicationp. 514
Understanding the Types of Replicationp. 517
Selecting a Physical Replication Modelp. 521
Choosing Replication Implementation Toolsp. 522
Lesson 2 Planning for Replicationp. 523
Planning for Replication Securityp. 523
Filtering Published Datap. 524
Choosing Initial Snapshot Optionsp. 525
Lesson 3 Implementing Replicationp. 526
Configuring Distributor and Publisher Propertiesp. 526
Practice: Configuring a Distributorp. 534
Creating a Publicationp. 535
Practice: Creating a Transactional Publicationp. 545
Practice: Creating a Merge Publicationp. 553
Configuring Push Subscriptionsp. 556
Practice: Creating a Push Subscriptionp. 563
Configuring a Pull Subscriptionp. 565
Practice: Creating a Pull Subscriptionp. 571
Lesson 4 Monitoring and Administering Replicationp. 573
Monitoring with Replication Monitorp. 573
Practice: Monitoring Replicationp. 577
Reviewing and Modifying Distributor Propertiesp. 578
Reviewing and Modifying Publication Propertiesp. 579
Reviewing and Modifying Replication Agent Profilep. 580
Reviewing and Modifying Subscription Propertiesp. 582
Practice: Resolving Conflicts Interactively Using Windows Synchronization Managerp. 589
Chapter 16 Maintaining High Availabilityp. 593
Lesson 1 Using Standby Serversp. 594
Using a Standby Serverp. 594
Automating Log Shippingp. 596
Practice: Creating a Standby Serverp. 604
Monitoring Log Shippingp. 607
Practice: Monitoring Log Shippingp. 611
Bringing a Standby Server Onlinep. 612
Practice: Bringing a Standby Server Online as the Primary Serverp. 613
Lesson 2 Using Failover Clusteringp. 615
Introducing MSCSp. 616
Creating a Virtual Server on a Server Clusterp. 617
Appendixp. 621
Glossaryp. 637
Indexp. 667