Sie sind auf Seite 1von 28

Module 1

Introduction to SQL Server 2008 R2 and its Toolset

Module Overview
Introduction to the SQL Server Platform Working with SQL Server Tools

Configuring SQL Server Services

Lesson 1: Introduction to the SQL Server Platform


SQL Server Architecture SQL Server Components SQL Server Instances SQL Server Editions SQL Server Versions

SQL Server Architecture


Complete set of enterprise-ready technologies and tools

More than a simple relational database management system

Manage organizational data


Derive value from information within the data High performance High availability Secure Scalable

Low total cost of ownership Highly integrated platform

Productive management and development tooling

SQL Server Components


Not just a database engine Relational and Business Intelligence Components

SQL Server Components

Database Engine
Integration Services Master Data Services Data Mining PowerPivot

Analysis Services
Reporting Services StreamInsight Full-Text Search Replication

SQL Server Instances


Many SQL Server components are instance-aware

Database Engine

Analysis Services / Data Mining


Reporting Services

Instances allows for isolation of


Administration and Security Configuration Performance, Service Level Agreements Versions, Collations

Can assist with upgrade scenarios Two instance types


Default instance Named instances

SQL Server Editions


Premium Editions Parallel Data Warehouse Core Editions Enterprise Other Editions Express Developer Web Compact Workgroup SQL Azure Standard Datacenter

SQL Server Versions


Version 1.0 1.1 4.2 4.21 6.0 6.5 7.0 2000 2005 2008 Release Year 1989 1991 1992 1994 1995 1996 1998 2000 2005 2008

2008 R2 vNext

2010 TBD

Lesson 2: Working with SQL Server Tools


Connecting from Clients and Applications Software Layers for Connections

SQL Server Management Studio


Demonstration 2A: SQL Server Management Studio Business Intelligence Development Studio

Demonstration 2B: Business Intelligence Development

Studio

Books Online Demonstration 2C: Books Online

Connecting from Clients and Applications


Client applications and tools connect via protocols to end-points

Tabular Data Stream (TDS) protocol

SQL Native Access Client (SNAC)


Transported by TCP/IP, Named Pipes, or Shared Memory

Users (or the applications) must be authenticated by SQL

Server

Windows logins Windows groups SQL Server logins

Connection is made to a server and a database

Can be the name of the server or a named instance

Software Layers for Connections

CLIENT

SERVER Endpoints

OLE DB

ODBC TDS

SNAC
Network Libraries

Relational Engine

SQL OS

Storage Engine

SQL Server Management Studio


Integrated environment for working with SQL Server

Querying data

Configuring servers
Managing servers Administering databases

Graphical tools for working with many SQL Server

components

Connect to Database Engine, Analysis Services, Reporting

Services, Integration Services, SQL Server Compact

Project system with rich script editors

Scripts to automate common tasks and deployment

Demonstration 2A: SQL Server Management Studio


In this demonstration you will see how to work with SQL

Server Management Studio

Business Intelligence Development Studio


Integrated environment for developing BI objects Based on Visual Studio 2008 with project templates

Analysis Services project


Integration Services project Reporting Services project

Demonstration 2B: Business Intelligence Development Studio


In this demonstration you will see how to work with SQL

Server Business Intelligence Development Studio

Books Online
Primary reference for SQL Server Can be installed offline and online

Constantly updated
Most commands include examples Pages available for earlier versions

Demonstration 2C: Books Online


In this demonstration you will see how to work with SQL

Server Business Books Online

Lesson 3: Configuring SQL Server Services


SQL Server Configuration Manager SQL Server Services

Network Ports and Listeners


Creating Server Aliases Other SQL Server Tools

Demonstration 3A: SQL Server Profiler

SQL Server Configuration Manager


Manages services associated with SQL Server Manages network protocols and ports exposed by SQL

Server

Manages network protocols and ports used by client

applications on the server when connecting to the same or other servers

SQL Server Services


Many SQL Server components provide operating system

services

Instance-aware components provide a service per instance Services have identities within Windows

Avoid excessive privileges

Services can be configured to auto-start

Network Ports and Listeners


Each protocol has Server and client

configurable properties configurations available

Creating Server Aliases


Aliases can be used as an abstraction for a client

Server Name

Protocol
Port or network configuration

Multiple aliases can point to the same server

Other SQL Server Tools


SQL Server Profiler Database Engine Tuning Advisor

Master Data Services Configuration Manager


Reporting Services Configuration Manager SQL Server Error and Usage Reporting

PowerShell Provider
SQL Server Management Objects (SMO)

Demonstration 3A: SQL Server Profiler


In this demonstration, you will see how SQL Server Profiler

can capture traces of statements executed

Lab 1: Introduction to SQL Server and its Toolset


Exercise 1: Verify SQL Server Component Installation Exercise 2: Alter Service Accounts for New Instance Exercise 3: Enable Named Pipes Protocol for Both

Instances

Exercise 4: Create Aliases for AdventureWorks and

Proseware

Challenge Exercise 5: Ensure SQL Browser is Disabled and

Configure a Fixed TCP/IP Port (Only if time permits)

Estimated time: 30 minutes

Virtual machine User name Password

623XB-MIA-SQL1 AdventureWorks\Administrator Pa$$w0rd

Lab Scenario
Adventureworks is a global manufacturer, wholesaler and retailer of cycle products. The owners of the company have decided to start a new direct marketing arm of the company. It has been created as a new company named Proseware, Inc. Even though it has been set up as a separate company, it will receive some IT-related services from the existing Adventureworks company and will be provided with a subset of the corporate Adventureworks data. The existing Adventureworks company SQL Server platform has been moved to a new server that is capable of supporting both the existing workload and the workload from the new company. In this lab, we are ensuring that the additional instance of SQL Server has been configured appropriately and making a number of additional required configuration changes.

Lab Review
Why does the Reporting Services encryption key need to

be backed up? port?

How can SQL Server be configured to use a different IP

Module Review and Takeaways


Review Questions Best Practices