Escolar Documentos
Profissional Documentos
Cultura Documentos
Vu Tuyet Trinh
trinhvt-fit@mail.hut.edu.vn
P2-3
Client
Results
SQL Server
Query
OLTP OLAP
Client Application
Microsoft
Performance
Transaction Isolation
Reporting
Data Analysis
Microsoft
Outline
Introduction to SQL Server Relational Data Model Exploring SQL Server Architecture
Data Access Architectures SQL Server Services & Tools Transact-SQL (T-SQL) CLR
Programming Languages
Microsoft
Relational Database
Takes
SID 1108 1108 8507 8507 Name Systems Database VB Algebra Dept CSCE CSCE CSCE Maths SNO 21 23 23 29
Attributes
Subject
No
Relationship
21 23 29 18
Microsoft
Attributes
Fields Relations
Microsoft
Basic concepts
Database ~ a collection of tables.
Student
Id 1108 3936 8507 8452 Name Robert Glen Norman Mary Suburb Kew Bundoora Bundoora Balwyn
Takes
SID 1108 1108 8507 8507 SNO 21 23 23 29
Objective
Solution
Normalization
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
Referential Integrity
Microsoft
Example
Microsoft
Outline
Introduction to SQL Server Relational Data Model Exploring SQL Server Architecture
Microsoft
N-tier architecture
Separating different layers based on data-related processing such Some layers: data storage, data access, business functionalities, visualization (interface)
Microsoft
Client/Server Architecture
Client SQL Server
Results
OLTP OLAP
Microsoft
N-tier Architecture
Microsoft
Service-Oriented Architecture
Microsoft
P18
Data Management Transaction and Query Processing Data Integrity Jobs Alerts Operators Distributed Transaction Management
Microsoft
Transact-SQL (T-SQL)
Implementation of Entry-Level ANSI ISO Standard Composing of 3 categories Data Definition Language Statements (DDL)
Data
Data
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
Workgroup Edition
SQL Server Express Edition SQL Server Everywhere Edition
Microsoft
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
Cross-release objective
Microsoft
Microsoft
Microsoft
Microsoft
Summary
Supporting relational data model Supporting data services and tools for database administration
Exploited in client/server, n-tier, service-orientes architectures being extensible and flexible data stored
Supporting .net
Microsoft
24
Microsoft