Sie sind auf Seite 1von 28

Module 1

Introduction to SQL
Server® 2012 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 Analysis Services
Integration Services Reporting Services
Master Data Services StreamInsight
Data Mining Full-Text Search
PowerPivot Replication
Data Quality Services Power View
SQL Server Instances
• Many SQL Server components are instance-aware
• Database Engine / Data Quality Services
• Analysis Services / Data Mining
• Reporting Services / Integration 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 Enterprise

Core Editions
Business Intelligence Standard

Other Editions
Express Compact
Developer SQL Azure
Web
SQL Server Versions

Version Release Year


1.0 1989
1.1 1991
4.2 1992
4.21 1994
6.0 1995
6.5 1996
7.0 1998
2000 2000
2005 2005
2008 2008
2008 R2 2010
2012 2012
Lesson 2: Working with SQL Server Tools
• Connecting from Clients and Applications

• Software Layers for Connections

• SQL Server Management Studio

• Demonstration 2A: Using SQL Server Management Studio

• SQL Server Data Tools

• Demonstration 2B: Using SQL Server Data Tools

• Books Online

• Demonstration 2C: Using 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
Relational Engine

TDS

SQL OS
SNAC

Network Libraries 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: Using SQL Server Management
Studio
In this demonstration you will see how to work with SQL
Server Management Studio
SQL Server Data Tools
• Integrated environment for developing BI objects

• Based on Visual Studio 2010 with project templates


• Analysis Services project
• Integration Services project
• Reporting Services project
Demonstration 2B: Using SQL Server Data Tools
In this demonstration you will see how to work with SQL
Server Data Tools
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: Using 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: Using 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
configurable properties
• Server and client
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

• Data Quality Services Client

• SQL Server Error and Usage Reporting

• PowerShell Provider

• SQL Server Management Objects (SMO)


Demonstration 3A: Using 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 an Alias for AdvDev

• Challenge Exercise 5: Ensure SQL Browser is Disabled and


Configure a Fixed TCP/IP Port (Only if time permits)
Logon information
Virtual machine 10775A-MIA-SQL1

User name AdventureWorks\Administrator


Password Pa$$w0rd

Estimated time: 45 minutes


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?
• How can SQL Server be configured to use a different IP
port?
Module Review and Takeaways
• Review Questions

• Best Practices

Das könnte Ihnen auch gefallen