Sie sind auf Seite 1von 25

Overview of SQL Server

Vu Tuyet Trinh
trinhvt-fit@mail.hut.edu.vn

Hanoi University of Technology


1

P2-3

Introduction to SQL Server

Client

SQL Server
Results
Results
Query
Query

OLTP
OLAP

Client Application

Microsoft

Relational Database
Management System

SQL Server Goal

Microsoft

Outline

Introduction to SQL Server


Relational Data Model
Exploring SQL Server Architecture

Programming Languages

Data Access Architectures


SQL Server Services & Tools
Transact-SQL (T-SQL)
CLR

SQL Server Editions


Evolution of SQL Server
Summary

Microsoft

Relational Data Model


Entities

Attributes

Relationship

Microsoft

Relational Database

Basic Concepts of a Relational Database


Entities

Tables

Attributes
Fields
Relations

Microsoft

Basic concepts
Database ~ a collection
of tables.
Table ~ information about
a single entity
Primary key ~ (set of)
column(s) that uniquely
identifies a record.
Foreign key ~ (set of)
column(s) used to link table
together
Microsoft

Studen
t Id

Name

Suburb

1108

Robert

Kew

3936

Glen

Bundoora

8507

Norman

Bundoora

8452

Mary

Balwyn

Takes
SID

SNO

1108

21

1108

23

8507

23

8507

29

Database Design: Main Ideas

Objective

Ensuring data completeness


Avoiding data redundancies
Facilitating data access

Solution

Normalization

Referential Integrity

Microsoft

Reducing redundancies and improving data modification


performance
Renormalizations is often done to enhance reporting performance (at
the expense of disk space and redundancy)
Maintains the logical relationships between database objects

Example

Microsoft

Outline

Introduction to SQL Server


Relational Data Model
Exploring SQL Server Architecture

Data Access Architectures


SQL Server Services & Tools

SQL Server Editions


Evolution of SQL Server
Summary

Microsoft

Data Access Architectures

Client / Server architecture

N-tier architecture

Data functionalities on server-side


Visual functionalities on client-side
Separating different layers based on data-related processing
such
Some layers: data storage, data access, business functionalities,
visualization (interface)

Service Oriented Architecture (SOA)

Microsoft

Client/Server Architecture
Client

SQL Server

Results
Results

OLTP
OLAP

Client Application

Microsoft

Query
Query

Relational Database
Management System

N-tier Architecture

Microsoft

Service-Oriented Architecture

Microsoft

P18

SQL Server Services


MSSQLServer
Service
SQLServerAgent
Service
Microsoft Distributed
Transaction Coordinator

Data

Management
Transaction and Query
Processing
Data Integrity
Jobs
Alerts
Operators

Distributed

Transaction
Management

Server
Microsoft Search
Microsoft

Full-Text

Catalogs
Full-Text Indexes

Microsoft

Transact-SQL (T-SQL)

Implementation of Entry-Level ANSI ISO Standard


Composing of 3 categories
Data Definition Language Statements (DDL)

Data

Control Language Statements (DCL)

Data

Manipulation Language Statements (DML)

Microsoft

CLR Integration

Lets you write your database queries using .NET


Any .NET language (C#, VB, C++)
Create and debug using Visual Studio IDE

Microsoft

SQL Server Editions

Enterprise (Developer) Edition

Standard Edition

Workgroup Edition

SQL Server Express Edition

SQL Server Everywhere Edition

Microsoft

Evolution of SQL Server


SQL Server
6.5
Data
warehousing
Internet
support
Differentiation
from Sybase
SQL Server

Cross-release
objective
Microsoft

SQL Server
7.0
Re-architecture
of relational
server
First to include
OLAP in
database
Auto tuning
Ease-of-use

SQL Server
2000

SQL Server
2005

Reliability and
scalability
advancements
Deep XML
support
Data
warehousing
SQL Server CE
64 bit support

Enterprise-class
scalability
Programmability
advancements
End-to-end
business
intelligence
Manageability
Support for
multiple types of
data

Realibility & Security


Integrated Business Intelligence

SQL Server
2008
Secure trusted
platform for data
Productive
policy-based
management
Optimized and
predictable
system
performance
Dynamic
development
Beyond
relational data
Pervasive
Business Insight

Performance and Scalability


Automatic Tuning

Your Data Any Place, Any Time

Microsoft

Microsoft Data Platform Vision

Microsoft

Microsoft

Summary

SQL Server ~ a database management system

Supporting relational data model


Supporting data services and tools for database administration

SQL Server ~ the core of a new generation data platform

Exploited in client/server, n-tier, service-orientes architectures


being extensible and flexible data stored

Microsoft

extensible relational data


XML
unstructured data

Supporting .net

24

Microsoft

Das könnte Ihnen auch gefallen