SlideShare a Scribd company logo
1 of 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         Analysis Services
       Integration Services    Reporting Services
       Master Data Services    StreamInsight
       Data Mining             Full-Text Search
       PowerPivot              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   Datacenter


       Core Editions
       Enterprise                Standard


       Other Editions
       Express                   Compact
       Developer                 Workgroup
       Web                       SQL Azure
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
      vNext           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
                                       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: 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
 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

• 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     623XB-MIA-SQL1
User name           AdventureWorksAdministrator
Password            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?
• How can SQL Server be configured to use a different IP
 port?
Module Review and Takeaways
• Review Questions

• Best Practices

More Related Content

What's hot

MySQL Enterprise Edition
MySQL Enterprise EditionMySQL Enterprise Edition
MySQL Enterprise EditionMySQL Brasil
 
Windows Azure for Developers - Building Block Services
Windows Azure for Developers - Building Block ServicesWindows Azure for Developers - Building Block Services
Windows Azure for Developers - Building Block ServicesMichael Collier
 
SQL Server 2016 AlwaysOn Availability Groups New Features
SQL Server 2016 AlwaysOn Availability Groups New FeaturesSQL Server 2016 AlwaysOn Availability Groups New Features
SQL Server 2016 AlwaysOn Availability Groups New FeaturesJohn Martin
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applicationsManish Corriea
 
Java EE microservices architecture - evolving the monolith
Java EE microservices architecture - evolving the monolithJava EE microservices architecture - evolving the monolith
Java EE microservices architecture - evolving the monolithMarkus Eisele
 
Lap around windows azure
Lap around windows azureLap around windows azure
Lap around windows azureManish Corriea
 
Integrating sps 2010 and windows azure
Integrating sps 2010 and windows azureIntegrating sps 2010 and windows azure
Integrating sps 2010 and windows azureManish Corriea
 
Running SSIS 2017 at Scale Everywhere
 Running SSIS 2017 at Scale Everywhere Running SSIS 2017 at Scale Everywhere
Running SSIS 2017 at Scale EverywhereSandy Winarko
 
Microsoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureMicrosoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureKevin Kline
 
Hibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdfHibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdfChristian Beikov
 
The Hybrid Windows Azure Application
The Hybrid Windows Azure ApplicationThe Hybrid Windows Azure Application
The Hybrid Windows Azure ApplicationMichael Collier
 
What's new in SQL Server 2017
What's new in SQL Server 2017What's new in SQL Server 2017
What's new in SQL Server 2017Hasan Savran
 
SharePoint 2010 best practices for infrastructure deployments SharePoint Sat...
SharePoint 2010 best practices for infrastructure deployments  SharePoint Sat...SharePoint 2010 best practices for infrastructure deployments  SharePoint Sat...
SharePoint 2010 best practices for infrastructure deployments SharePoint Sat...Knowledge Cue
 
Building & managing wa app wely
Building & managing wa app   welyBuilding & managing wa app   wely
Building & managing wa app welySpiffy
 
BizSpark Startup Night Windows Azure March 29, 2011
BizSpark Startup Night Windows Azure March 29, 2011BizSpark Startup Night Windows Azure March 29, 2011
BizSpark Startup Night Windows Azure March 29, 2011Spiffy
 
KoprowskiT_SQLSat419_WADBforBeginners
KoprowskiT_SQLSat419_WADBforBeginnersKoprowskiT_SQLSat419_WADBforBeginners
KoprowskiT_SQLSat419_WADBforBeginnersTobias Koprowski
 
Tips to install and manage always on availability groups in sql server 2012 &...
Tips to install and manage always on availability groups in sql server 2012 &...Tips to install and manage always on availability groups in sql server 2012 &...
Tips to install and manage always on availability groups in sql server 2012 &...Antonios Chatzipavlis
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft Private Cloud
 
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionSQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionMark Broadbent
 
Pre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyAntonios Chatzipavlis
 

What's hot (20)

MySQL Enterprise Edition
MySQL Enterprise EditionMySQL Enterprise Edition
MySQL Enterprise Edition
 
Windows Azure for Developers - Building Block Services
Windows Azure for Developers - Building Block ServicesWindows Azure for Developers - Building Block Services
Windows Azure for Developers - Building Block Services
 
SQL Server 2016 AlwaysOn Availability Groups New Features
SQL Server 2016 AlwaysOn Availability Groups New FeaturesSQL Server 2016 AlwaysOn Availability Groups New Features
SQL Server 2016 AlwaysOn Availability Groups New Features
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
 
Java EE microservices architecture - evolving the monolith
Java EE microservices architecture - evolving the monolithJava EE microservices architecture - evolving the monolith
Java EE microservices architecture - evolving the monolith
 
Lap around windows azure
Lap around windows azureLap around windows azure
Lap around windows azure
 
Integrating sps 2010 and windows azure
Integrating sps 2010 and windows azureIntegrating sps 2010 and windows azure
Integrating sps 2010 and windows azure
 
Running SSIS 2017 at Scale Everywhere
 Running SSIS 2017 at Scale Everywhere Running SSIS 2017 at Scale Everywhere
Running SSIS 2017 at Scale Everywhere
 
Microsoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureMicrosoft SQL Server internals & architecture
Microsoft SQL Server internals & architecture
 
Hibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdfHibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdf
 
The Hybrid Windows Azure Application
The Hybrid Windows Azure ApplicationThe Hybrid Windows Azure Application
The Hybrid Windows Azure Application
 
What's new in SQL Server 2017
What's new in SQL Server 2017What's new in SQL Server 2017
What's new in SQL Server 2017
 
SharePoint 2010 best practices for infrastructure deployments SharePoint Sat...
SharePoint 2010 best practices for infrastructure deployments  SharePoint Sat...SharePoint 2010 best practices for infrastructure deployments  SharePoint Sat...
SharePoint 2010 best practices for infrastructure deployments SharePoint Sat...
 
Building & managing wa app wely
Building & managing wa app   welyBuilding & managing wa app   wely
Building & managing wa app wely
 
BizSpark Startup Night Windows Azure March 29, 2011
BizSpark Startup Night Windows Azure March 29, 2011BizSpark Startup Night Windows Azure March 29, 2011
BizSpark Startup Night Windows Azure March 29, 2011
 
KoprowskiT_SQLSat419_WADBforBeginners
KoprowskiT_SQLSat419_WADBforBeginnersKoprowskiT_SQLSat419_WADBforBeginners
KoprowskiT_SQLSat419_WADBforBeginners
 
Tips to install and manage always on availability groups in sql server 2012 &...
Tips to install and manage always on availability groups in sql server 2012 &...Tips to install and manage always on availability groups in sql server 2012 &...
Tips to install and manage always on availability groups in sql server 2012 &...
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
 
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionSQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
 
Pre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctly
 

Viewers also liked

6232 a implementing a microsoft sql server 2008 database
6232 a   implementing a microsoft sql server 2008 database6232 a   implementing a microsoft sql server 2008 database
6232 a implementing a microsoft sql server 2008 databaseguestda4c0ed5
 
Open book & close book
Open book  & close bookOpen book  & close book
Open book & close bookBoom ReeDsmit
 
Open book & close book
Open book  & close bookOpen book  & close book
Open book & close bookBoom ReeDsmit
 
E portfolio intro pages
E portfolio intro pagesE portfolio intro pages
E portfolio intro pagescahebert
 
00 ส่วนนำ1
00 ส่วนนำ100 ส่วนนำ1
00 ส่วนนำ1Ariya Soparux
 

Viewers also liked (7)

6232 a implementing a microsoft sql server 2008 database
6232 a   implementing a microsoft sql server 2008 database6232 a   implementing a microsoft sql server 2008 database
6232 a implementing a microsoft sql server 2008 database
 
Portfolio
PortfolioPortfolio
Portfolio
 
Open book & close book
Open book  & close bookOpen book  & close book
Open book & close book
 
Portfolio
PortfolioPortfolio
Portfolio
 
Open book & close book
Open book  & close bookOpen book  & close book
Open book & close book
 
E portfolio intro pages
E portfolio intro pagesE portfolio intro pages
E portfolio intro pages
 
00 ส่วนนำ1
00 ส่วนนำ100 ส่วนนำ1
00 ส่วนนำ1
 

Similar to 6232 b 01

Session 2: SQL Server 2012 with Christian Malbeuf
Session 2: SQL Server 2012 with Christian MalbeufSession 2: SQL Server 2012 with Christian Malbeuf
Session 2: SQL Server 2012 with Christian MalbeufCTE Solutions Inc.
 
Sql dba 2008 r2 online training
Sql dba 2008 r2 online trainingSql dba 2008 r2 online training
Sql dba 2008 r2 online trainingsssql
 
SQL Server Lecture 1
SQL Server Lecture 1SQL Server Lecture 1
SQL Server Lecture 1Hazem Torab
 
Professional sql server dba online training
Professional sql server dba online trainingProfessional sql server dba online training
Professional sql server dba online trainingsssql
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsMichaela Murray
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup
 
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersSQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersTobias Koprowski
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online trainingsqlmasters
 
Global Azure Bootcamp: Azure service fabric
Global Azure Bootcamp: Azure service fabric Global Azure Bootcamp: Azure service fabric
Global Azure Bootcamp: Azure service fabric Luis Valencia
 
SQL Server Developer 70-433
SQL Server Developer 70-433SQL Server Developer 70-433
SQL Server Developer 70-433jasonyousef
 
azure track -05- windows azure pack deep dive
azure track -05- windows azure pack deep diveazure track -05- windows azure pack deep dive
azure track -05- windows azure pack deep diveITProceed
 
Making Data Scientists Productive in Azure
Making Data Scientists Productive in AzureMaking Data Scientists Productive in Azure
Making Data Scientists Productive in AzureValdas Maksimavičius
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsMichaela Murray
 
Oracle database connection with the .net developers
Oracle database connection with the .net developersOracle database connection with the .net developers
Oracle database connection with the .net developersveerendramb3
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceJavier Villegas
 
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...Amazon Web Services
 

Similar to 6232 b 01 (20)

Session 2: SQL Server 2012 with Christian Malbeuf
Session 2: SQL Server 2012 with Christian MalbeufSession 2: SQL Server 2012 with Christian Malbeuf
Session 2: SQL Server 2012 with Christian Malbeuf
 
Sql dba 2008 r2 online training
Sql dba 2008 r2 online trainingSql dba 2008 r2 online training
Sql dba 2008 r2 online training
 
SQL Server Lecture 1
SQL Server Lecture 1SQL Server Lecture 1
SQL Server Lecture 1
 
Professional sql server dba online training
Professional sql server dba online trainingProfessional sql server dba online training
Professional sql server dba online training
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT Solutions
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
 
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersSQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online training
 
Global Azure Bootcamp: Azure service fabric
Global Azure Bootcamp: Azure service fabric Global Azure Bootcamp: Azure service fabric
Global Azure Bootcamp: Azure service fabric
 
SQL Server Developer 70-433
SQL Server Developer 70-433SQL Server Developer 70-433
SQL Server Developer 70-433
 
azure track -05- windows azure pack deep dive
azure track -05- windows azure pack deep diveazure track -05- windows azure pack deep dive
azure track -05- windows azure pack deep dive
 
Making Data Scientists Productive in Azure
Making Data Scientists Productive in AzureMaking Data Scientists Productive in Azure
Making Data Scientists Productive in Azure
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT Solutions
 
ow.ppt
ow.pptow.ppt
ow.ppt
 
ow.ppt
ow.pptow.ppt
ow.ppt
 
Ow
OwOw
Ow
 
Oracle database connection with the .net developers
Oracle database connection with the .net developersOracle database connection with the .net developers
Oracle database connection with the .net developers
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
 
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
 
Plantilla oracle
Plantilla oraclePlantilla oracle
Plantilla oracle
 

Recently uploaded

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 

Recently uploaded (20)

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 

6232 b 01

  • 1. Module 1 Introduction to SQL Server® 2008 R2 and its Toolset
  • 2. Module Overview • Introduction to the SQL Server Platform • Working with SQL Server Tools • Configuring SQL Server Services
  • 3. Lesson 1: Introduction to the SQL Server Platform • SQL Server Architecture • SQL Server Components • SQL Server Instances • SQL Server Editions • SQL Server Versions
  • 4. 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
  • 5. 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
  • 6. 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
  • 7. SQL Server Editions Premium Editions Parallel Data Warehouse Datacenter Core Editions Enterprise Standard Other Editions Express Compact Developer Workgroup Web SQL Azure
  • 8. 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 vNext TBD
  • 9. 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
  • 10. 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
  • 11. Software Layers for Connections CLIENT SERVER Endpoints OLE DB ODBC Relational Engine TDS SQL OS SNAC Network Libraries Storage Engine
  • 12. 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
  • 13. Demonstration 2A: SQL Server Management Studio • In this demonstration you will see how to work with SQL Server Management Studio
  • 14. 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
  • 15. Demonstration 2B: Business Intelligence Development Studio • In this demonstration you will see how to work with SQL Server Business Intelligence Development Studio
  • 16. Books Online • Primary reference for SQL Server • Can be installed offline and online • Constantly updated • Most commands include examples • Pages available for earlier versions
  • 17. Demonstration 2C: Books Online • In this demonstration you will see how to work with SQL Server Business Books Online
  • 18. 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
  • 19. 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
  • 20. 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
  • 21. Network Ports and Listeners • Each protocol has configurable properties • Server and client configurations available
  • 22. 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
  • 23. 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)
  • 24. Demonstration 3A: SQL Server Profiler • In this demonstration, you will see how SQL Server Profiler can capture traces of statements executed
  • 25. 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 623XB-MIA-SQL1 User name AdventureWorksAdministrator Password Pa$$w0rd
  • 26. 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.
  • 27. 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?
  • 28. Module Review and Takeaways • Review Questions • Best Practices

Editor's Notes

  1. It is sometimes desirable to install more than a single instance of a SQL Server component on a single server.Stress that not all components of SQL Server are instance aware. A particular exception (at present) is Integration Services. Note however that it has been announced that in the next version of SQL Server, Integration Services will become instance aware.Multiple instances can be used when different administrative structures need to be in place for multiple databases or when performance of particular databases needs to be isolated.Named instances can also assist with upgrades as multiple versions of SQL Server can be installed side by side on a single server.Question: Why might you need to separate databases by service level agreement?Answer: Different database applications might need to meet different service level agreements, particularly in relation to recovery time objectives (RTO) and recovery point objectives (RPO).Mention that a single "default" instance can be installed and many "named" instances. (Current limit is 50 on most editions)ReferencesWorking with Multiple Versions and Instances of SQL Server: http://go.microsoft.com/fwlink/?LinkID=209237Considerations for Side-by-Side Instances of SQL Server 2008 R2 and SQL Server 2008: http://go.microsoft.com/fwlink/?LinkID=209238
  2. SQL Server is available in a wide variety of editions. Briefly describe each edition:Parallel Data Warehouse: Uses massively parallel processing (MPP) to execute queries against vast amounts of data quicklyDatacenter: Highest levels of scalability for mission-critical applicationsEnterprise: Highest levels of reliability for demanding workloadsStandard: Reliable, complete data management and Business Intelligence (BI) platformExpress: Free edition for lightweight web and small server based applicationsCompact: Free edition for standalone and occasionally connected mobile applicationsDeveloper: Build, test, and demonstrate all SQL Server functionalityWorkgroup: Run branch applications with secure remote synchronization and management capabilitiesWeb: Secure, cost effective, and scalable platform for public web sites and applicationsSQL Azure: Build and extend SQL Server applications to a cloud based platformQuestion: What would be a good business case example for using a cloud-based service?Answer: Startup companies. (Purchase too many servers and go broke. Purchase too little and go broke).ReferencesMicrosoft SQL Server 2008 R2 Editions: http://go.microsoft.com/fwlink/?LinkID=209239
  3. Students will often ask how long SQL Server has been available. Stress that SQL Server is a platform with a rich history of innovation achieved while maintaining strong levels of stability.Versions 1.0 and 1.1 were OS/2 based, later versions were based on Windows NT and its successors such as Windows Server 2000, Windows Server 2003, Windows Server 2008 and Windows Server 2008 R2.Mention that even though SQL Server has been available for many years, it is rapidly evolving new capabilities and features.Question: Which versions of SQL Server have you worked with?Answer: Answers will vary by student.
  4. Discuss that client applications use a software layer (typically SNAC) to communicate with SQL Server using the TDS protocol. The TDS protocol is carried over either the TCP/IP or Named Pipes protocols for local and remote users or over a Shared Memory protocol (only for users on the same system as the server instance being connected to). There are default configurations for these layers of software when SQL Server is first installed but we will look at how to change these configurations in the next lesson.Briefly mention that there are two ways that users can be authenticated. SQL Server can use their Windows credentials (either individual or as a member of a group) or the user can supply a username and password that is stored in SQL Server. (This is called a SQL Server login).As well as specifying the server to connect to, users typically specify the database that they initially wish to connect to. A default database can be specified for each login though.Mention that Via is also a currently supported protocol but has been deprecated.ReferencesConnecting to the SQL Server Database Engine: http://go.microsoft.com/fwlink/?LinkID=209240
  5. For this slide, walk through the layers of code involved.In a client application, a library such as OLEDB (acronym not longer meaningful) or Open Database Connectivity (ODBC) will be used to start data access.The SQL Native Access Layer (SNAC) translates queries into the Tabular Data Stream (TDS) protocol layered above a network library. (Several network libraries are supported).At the server, an endpoint is exposed for connections and is used to pass commands and data to/from the database engine.The database engine has three core parts: the relational engine that executes queries, the storage engine that deals with how the data is stored, and the SQL OS (operating system) that abstracts much of the underlying hardware and operating system.
  6. Describe how SQL Server Management Studio is based on the Visual Studio 2008 shell. If students are familiar with that version of Visual Studio, much of the interaction within SSMS will already be familiar. If they are not, it is an easy to work with tool that is easy to learn.Stress that SSMS can connect to various SQL Server components, not just the database engine.Some students will prefer graphical admin tools; some will prefer script windows. Mention that SSMS supports both methods of interaction and that when working with scripts, the editors provide a great deal of assistance to the user with options such as online Intellisense.ReferencesFeatures and Tools Overview: http://go.microsoft.com/fwlink/?LinkID=209241
  7. Do not dwell on BIDS at this point, however stress that the full power of Visual Studio is available for creating BI projects and that BIDS has been created by adding project templates to Visual Studio.Mention that Visual Studio does not need to be installed before SQL Server. If an existing installation of VS is present, SQL Server installation will add project templates to it. If no existing VS installation is present, SQL Server installation will first install the "partner" edition of VS (which is basically just the almost empty shell of VS) and then add the required project templates.Note that SQL Server 2008 R2 uses VS 2008 not VS 2010. If VS 2010 is already installed rather than VS 2008, then the partner edition of VS 2008 will be installed side-by-side with VS 2010.ReferencesFeatures and Tools Overview: http://go.microsoft.com/fwlink/?LinkID=209241
  8. Books Online should be regarded as the primary technical reference for SQL Server.Note that for versions up to SQL Server 2008 R2, it can be installed both online and offline. Stress that if it is installed offline, it needs to be updated regularly as it is constantly updated. A common mistake is to install it with the product and then never update it. Updates do not occur when service packs or cumulative updates are applied.Mention that for most T-SQL commands, the examples will often be more useful than the syntax. When you look at the reference page for a statement, however, the syntax is shown at the top and the examples are usually at the bottom.Stress that it is important to refer to the page for the appropriate version of SQL Server. At the top of most pages, it will show the version that it applies to and provide a link to any other versions of the page that are available.ReferencesSQL Server Books Online: http://go.microsoft.com/fwlink/?LinkID=209242Downloading and Updating Books Online: http://go.microsoft.com/fwlink/?LinkID=209840
  9. SQL Server configuration manager has three key rolesmanaging services – this includes identity and manual or auto startmanaging the server's protocols – this relates to the protocols and ports exposed by the instance of SQL Server (stress that by default, no external ports are exposed and only shared memory is configured)managing the client protocols – this is an area that might confuse students. This area is used for configuring how the server connects when it acts as a client. That can mean when connecting to its own server or when connecting to other server instances.Show how both 32-bit and 64-bit options are available for both the network and client configurations.Question: Why would a server system need to have a client configuration node?Answer: Because client applications (including tools and utilities) need to connect to the server and to other servers.Stress that the client configuration only defines the client configuration on that machine and not the clients connecting to it. Many students will be confused by that.ReferencesSQL Server Configuration Manager: http://go.microsoft.com/fwlink/?LinkID=209243
  10. SQL Server Configuration Manager has configurations for the protocols that are exposed by the server and those that are used for making connections.Stress that both 32-bit and 64-bit configurations are available on 64-bit systems and both typically need to be configured.For TCP/IP, each IP address is separately configurable.ReferencesSQL Server Configuration Manager: http://go.microsoft.com/fwlink/?LinkID=209243
  11. Describe how aliases can be used to provide an easy form of connection for clients.In the example shown on the slide, the alias "Marketing" has been set up for the local server ".", named pipes protocol "np“, and named pipe address "\\\\.\\pipe\\MSSQL$PARTNER\\sql\\query". All the client then needs to know is the name of the alias.Note again that both 32-bit and 64-bit configurations for aliases exist. An alias is basically a registry entry and can be pushed out to client systems (like other registry entries) via group policy in Windows.Note that you can use SqlServerAlias class in root\\Microsoft\\SqlServer\\ComputerManagement and PowerShell to manage aliases. ReferencesSQL Server Configuration Manager: http://go.microsoft.com/fwlink/?LinkID=209243
  12. Briefly describe the purpose of each of these tools.Do not dwell on any of them for too long at this point.Mention that Reporting Services Configuration Manager will be used in the lab and that SQL Server Profiler will be shown in the next demonstration.