20
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

Embed Size (px)

Citation preview

Page 1: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

1

Chapter Overview

• Performing Configuration Tasks

• Setting Up Additional Features

• Performing Maintenance Tasks

Page 2: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

2

Windows 2000 Configuration

• Maximizing throughput for network operations

• Optimizing performance for background operations

• Configuring virtual memory

Page 3: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

3

SQL Server Service Configuration

• Generally self-tuning and self-regulating.

• Connection limits can be set to limit load.

• Default database properties can be configured.

• Memory settings can be configured for running multiple applications on a server or for a dedicated server.

• Processor settings can improve multiprocessor performance.

• Server settings can modify default server behavior.

Page 4: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

4

Active Directory Integration

• Registering a SQL Server instance.

• Registering databases and publications.

• Using the MSSQLServerADHelper service.

• SQL Server service account must be either a local administrator or a member of the Power Users group.

Page 5: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

5

Additional Permissions for Additional Functionality

• Running operating system commands for nonmembers of the sysadmin server role

• Publishing and registering objects with the Active Directory database

• Creating operating system and ActiveX Script jobs for nonmembers of the sysadmin server role

• Restarting SQL Server Agent service automatically if it stops unexpectedly

• Running SQL Server Agent jobs automatically when processor is idle

Page 6: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

6

SQL Agent Service Configuration

• Error log properties

• Enabling the auto-restart feature

• Configuring a centralized reporting server

• Defining when a processor is considered idle

• Modifying the SQL Server Agent security context

Page 7: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

7

Registering Instances with Enterprise Manager

• Registration required to manage with SQL Server Enterprise Manager.

• Local instances are registered automatically.

• Registered directly or by using Register SQL Server wizard.

• Registration properties include authentication mode, login information, display of system databases and autostart upon connection.

• Registration information can be shared or private.

Page 8: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

8

SQL Mail

Page 9: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

9

SQLAgentMail

Page 10: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

10

Configuring a Messaging (Mail) Profile

• SQL Mail requires a mail profile for the SQL Server service domain user account.

• SQLAgentMail requires a mail profile for the SQL Server Agent service domain user account (same profile if same account).

• Log in as the domain user to create the mail profile.

• Use the Mail program in Control Panel to manage the mail profile.

Page 11: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

11

Setting Up SQL Mail

Page 12: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

12

Setting Up SQLAgentMail

Page 13: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

13

Linked Servers

Page 14: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

14

Configuring Linked Servers

• Define the linked server.

• Define user login mappings between local server and linked server.

Page 15: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

15

ODBC Data Source Name (DSN)

• Contains connection and driver information required to connect to SQL Server using ODBC

• Create using the ODBC Data Source Administrator

• Types include user, system, and file

Page 16: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

16

XML Support in SQL Server 2000

Page 17: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

17

Distribution Statistics

• Describe the selectivity and distribution of key values in an index and on selected nonindexed columns.

• Used by the query optimizer to determine efficient execution plans.

• Default is to autocreate and autoupdate statistics.

• Manual updates after significant updates or inserts can be useful.

• Use the Database Maintenance Plan wizard to schedule.

Page 18: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

18

Indexes

• Page splits affect performance and cause fragmentation.

• Use fill factor to leave free space on index pages to minimize page splits.

• Rebuild indexes periodically to reestablish free space on each index page.

• Schedule index rebuilds for nonbusy periods using the Database Maintenance Plan wizard.

Page 19: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

19

Full-Text Indexes

• Indexes of character data from tables stored in the file system.

• Implemented through the Microsoft Search Service.

• A database must be enabled to use full-text indexes.

• Full-text indexes can be kept current as a background task or scheduled task.

• Full or incremental update options are available.

• Server-wide resource use by full-text indexes performing background updates can be limited.

Page 20: 1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks

20

Chapter Summary

• SQL Server generally manages resources dynamically.

• Additional permissions required for advanced functions.

• Register instances for remote administration.

• SQL Mail and SQLAgentMail require a MAPI client and a configured mail profile.

• Enabling linked servers and XML access require additional configuration.

• Distribution statistics, indexes, and full-text indexes must be kept current.