Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
100% found this document useful (1 vote)
851 views

SQL Server Architecture

Microsoft SQL Server is a relational database management system that uses a client-server architecture. The SQL Server database engine runs as a Windows service and clients connect to it using Tabular Data Stream protocol. It supports both system and user databases that can be managed using tools like SQL Server Management Studio. Security is provided through authentication at the operating system, server and database level using logins and users. Routine maintenance of databases includes tasks such as backup, integrity checks and index management.

Uploaded by

Pavan Patil
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
851 views

SQL Server Architecture

Microsoft SQL Server is a relational database management system that uses a client-server architecture. The SQL Server database engine runs as a Windows service and clients connect to it using Tabular Data Stream protocol. It supports both system and user databases that can be managed using tools like SQL Server Management Studio. Security is provided through authentication at the operating system, server and database level using logins and users. Routine maintenance of databases includes tasks such as backup, integrity checks and index management.

Uploaded by

Pavan Patil
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 27

Microsoft SQL Server

Administration
SQL Server
Architecture

Database Server

Results
Results
Transact-SQL
Transact-SQL
Application
Application

Client

SQL Server

Relational
DataBase
Management
System

Client / Server
Client

Server

SQL
SQLServer
Server
Open
OpenData
Data
Database
Interface
Database Interface
Services
Services
Network
Network
NetworkLibrary
Library
NetworkLibrary
Library
Application
Application

Tabular Data Stream


(TDS)

SQL Server Client Network


Utility

SQL Server Network Utility

Databases
System Databases
master
model

pubs

tempdb

msdb

distribution

northwind

User Databases
6

SQL Server Client Tools

SQL Enterprise Manager

SQL Query Analyzer

Service Manager

Server & Client Network Utility

Performance Monitor

SQL Profiler

Index Tuning Wizard

Data Transformation Services

Database Files
Database

Data
Data(file)
(file)

.mdf
.mdf or
or .ndf
.ndf

Tables, Indexes
Data
Page (8 KB)
Max row size = 8092 bytes

Log
Log (file)
(file)
.ldf
.ldf

Extent
(8 contiguous
8-KB pages)
8

Storage Engine

Data Cache & Proc cache

Cache hit ratio / free buffers

Transaction log

Lazy Writer

Lock Manager

Log Writer

Checkpoint / log truncation

Background task

Windows Services

Login Authentication,
Database User Accounts
Windows
WindowsNT
NT
Group
GroupUser
User

Windows
WindowsNT
NT
Verifies
VerifiesPassword
Password

SQL
SQLServer
ServerAssigns
AssignsLogins
Logins
to
toUser
UserAccounts
Accountsand
andRoles
Roles

Windows
WindowsNT
NT
SQL
SQL
SQLServer
Server

SQL
SQLServer
Server
Login
LoginAccount
Account

Database
Database
User
UserAccount
Account

SQL Server
Verifies Password
Database
DatabaseRole
Role

11

SQL Server connect

12

Connecting to DB Engine

Database Properties

14

Server Databases

Database Security Level

Operating System
Login

Database Server
Database Server Login
Server Roles

User Database
Database User
Group

Object Level
Object level Permission

16

Database Server Security

Database Security

Server Properties

New Database

Other components

Database Objects

New Database creation

Common System Procedures


and System Tables

System stored procedures

sp_help, sp_helpindex

sp_helpdb, sp_helpfile/filegroup

sp_who, sp_lock

sp_depends, sp_recompile

sp_readerrorlog

System tables

sysobjects, sysindexes, sysprocesses

System functions

Object_name/id, index_col

24

SQL Server Maintenance Tasks

Back Up Database Task

Check Database Integrity Task

Execute SQL Server Agent Job Task

Execute T-SQL Statement Task

History Clean up Task

Maintenance clean up Task

Notify operator Task

Rebuild Index Task

Reorganize Index Task

Shrink Database Task

Update Statistic Task


25

Summary

SQL Server Architecture

SQL Server connectivity.

SQL Server System Database functionality.

SQL Server User Database creation.

Windows Server Services for SQL Server.

SQL Server services like Database Engine, Analysis Services ,


Integration Services and Reporting Service overview.

SQL Server Replication overview.

SQL Server Maintenance Task.

26

QUESTIONS ??????

Thank you

27

You might also like