Portable DBA: SQL Server
Presents a field guide for SQL Server DBAs. This book contains reference information that DBA's need in an easy to carry and read format. It provides answers to commonly asked questions.
1131595501
Portable DBA: SQL Server
Presents a field guide for SQL Server DBAs. This book contains reference information that DBA's need in an easy to carry and read format. It provides answers to commonly asked questions.
37.0 In Stock
Portable DBA: SQL Server

Portable DBA: SQL Server

Portable DBA: SQL Server

Portable DBA: SQL Server

Paperback

$37.00 
  • SHIP THIS ITEM
    In stock. Ships in 1-2 days.
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

Presents a field guide for SQL Server DBAs. This book contains reference information that DBA's need in an easy to carry and read format. It provides answers to commonly asked questions.

Product Details

ISBN-13: 9780072230161
Publisher: McGraw-Hill/Osborne Media
Publication date: 01/21/2004
Series: Networking Ser.
Pages: 339
Product dimensions: 5.95(w) x 8.96(h) x 0.77(d)

Table of Contents

Acknowledgmentsxi
Introductionxi
1SQL Server Overview1
Defining SQL Server1
SQL Server Communications2
Transact-SQL: The Language of SQL Server3
SQL Server and the Windows Family of Servers3
SQL Server Editions and Components4
SQL Server Components5
SQL Server Services7
SQL Server Databases8
SQL Server Tools9
2Installing, Configuring, and Upgrading SQL Server13
Hardware and Software Requirements13
Preparing to Install SQL Server14
Understanding Licensing15
Character Sets, Sort Orders, and Collations17
Multiple Instance Support in SQL Server 200020
SQL Server Startup Account Selection22
Authentication Mode Selection23
Networking Library Selection25
Installing SQL Server26
SQL Server Attended Installation27
Automating SQL Server Installation28
Remote Installation of SQL Server30
Testing the Installation31
Upgrading to SQL Server 200031
Troubleshooting SQL Server Installation32
Applying SQL Server Service Packs34
Completing Installation and Upgrade35
3SQL Server Security37
SQL Server Security Model37
Configuring SQL Server Authentication Modes38
SQL Server 2000 and Kerberos39
Managing SQL Server Logins42
Managing Logins with Enterprise Manager42
System Stored Procedures for Managing Logins44
Default Logins46
Getting Information on Logins46
Database Access with Users and Roles46
Assigning Logins to Database Users47
Roles in SQL Server49
Controlling Access with Permissions59
Permission Management Commands59
SQL Server Permission Categories60
Obtaining Information on Permissions66
Security Management Recommendations66
4Creating and Managing Databases69
SQL Server Storage Structure69
Transactions Explained70
Devices in Previous Releases of SQL Server72
Creating Databases73
Planning File Placement75
Managing Database Files79
Managing File Growth and Numbers of Data Files79
Filegroups in SQL Server81
Shrinking Databases and Database Files82
Retrieving File Information84
Setting Database Options84
Dropping Databases90
The DBA Responsibility Truly Begins90
5Creating and Managing Database Objects91
SQL Server Database Objects91
Managing Tables and Data Types93
SQL Server Scalar and User-Defined Data Types93
Creating and Managing Tables98
Managing Indexes103
Why (Not to) Create Indexes?103
SQL Server Data Retrieval Overview104
Creating and Dropping Indexes106
Managing Views108
Creating, Altering, and Dropping Views109
Programming in Transact-SQL111
Transact-SQL Programming Language Elements112
Stored Procedures112
User-Defined Functions116
Enforcing Integrity118
Constraints118
Triggers123
SQL Server Defaults126
SQL Server Rules128
6Database Backups131
Understanding the SQL Server Recovery Models131
Factors Affecting Your Choice of Recovery Model132
Setting the Recovery Model133
Understanding and Planning SQL Server Backups134
Backup Types135
The Backup Process140
Creating Backup Devices140
Performing Full Backups141
Performing Differential Backups143
Backing Up the Transaction Log144
Backing Up Files and Filegroups145
Backing Up a Database Using Enterprise Manager145
Performing Dumps in SQL Server 6.5146
Automating SQL Server Backups148
7Restoring and Recovering Databases149
Overview of SQL Server Recovery149
Restoring and Recovering Databases151
Pre-Restoration Tasks152
Restoring a User Database156
Restoring and Recovering System Databases163
8Loading and Extracting Data167
SQL Server Tools for Extraction, Transformation, and Load167
The Data Transformation Service170
The DTS Import/Export Wizard173
The DTS Designer175
The Copy Database Wizard178
Using DTS for ETL179
The BCP Utility180
Using Bulk Insert184
Attaching and Detaching Databases186
Using sp_detach_db and sp_attach_db187
Using sp_certify_removable and sp_create_removable188
Automating Data Loads189
9Automating SQL Server Administration193
SQL Automation--An Overview193
SQL Server Agent and Automating Administration194
Configuring the SQL Agent Mail Service196
Managing Operators197
Defining a Fail-Safe Operator200
Creating SQL Server Jobs201
The Importance of the Job Owner203
Defining Job Steps204
Scheduling Jobs207
Setting Notification210
Monitoring Job History210
Creating and Managing SQL Server Alerts211
Creating Alerts on Events212
Adding User-Defined Events214
Creating Alerts on Performance Conditions215
Defining Multi-Server Administration216
10Performance Tuning Part 1: Monitoring SQL Server Performance219
Factors Affecting SQL Server Performance219
The Pyramid of Performance220
Defining a Performance Baseline224
Tools for Monitoring SQL Server Performance225
Windows Event Viewer226
Windows System Monitor and Performance Logs and Alerts226
SQL Profiler231
Monitoring Real-Time SQL Server Activity233
Automating SQL Performance Monitoring236
11Performance Tuning Part 2: Tuning SQL Server237
Goals of Database Tuning237
Tools for Tuning SQL Server238
Windows System Monitor239
Execution Plans and the Query Optimizer240
SQL Server Query Optimizer240
Determining the Execution Plan in Use242
Optimizing Queries250
Using Indexes to Cover a Query252
Tuning Indexes254
12SQL Server Replication259
Replication and Distributed Data259
SQL Server Replication Architecture261
SQL Server Replication Models262
Replication Mechanics267
SQL Server Replication Types269
Designing and Planning Replication273
What Data Should be Published273
Who Receives the Data and How Often273
Considering Physical Network Characteristics274
Choosing the Type and Number of Subscribers275
Considering Storage Space275
Data Definition Considerations277
Configuring SQL Server Replication279
Configuring a Distributor279
Configuring Publishing283
Configuring Subscribers287
Monitoring Replication289
13Managing Distributed Databases291
Working with Distributed Data291
Working with Ad Hoc Queries292
Configuring and Managing Linked Servers294
Securing Linked Server Connections297
14Clustering and Log Shipping305
Clustering SQL Server305
Installing SQL Server in a Clustered Environment307
Administering SQL Server in a Cluster314
Standby Servers and Log Shipping318
Configuring a Production Database for Log Shipping318
Monitoring Log Shipping323
Switching Roles324
Removing Log Shipping325
Index327
From the B&N Reads Blog

Customer Reviews