Microsoft SQL Server Architecture

Slides:



Advertisements
Similar presentations
Todays Goal – AlwaysOn in 60 Minutes Where well start:
Advertisements

By: Jose Chinchilla July 31, Jose Chinchilla MCITP: SQL Server 2008, Database Administrator MCTS: SQL Server 2005/2008, Business Intelligence DBA.
...your options for ‘High Availability’ with SQL.
Burt King We will cover: Essentials --No command line needed here (mott) What is SQL Server How does it come to life What are the.
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
Recovery CPSC 356 Database Ellen Walker Hiram College (Includes figures from Database Systems by Connolly & Begg, © Addison Wesley 2002)
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
FlareCo Ltd ALTER DATABASE AdventureWorks SET PARTNER FORCE_SERVICE_ALLOW_DATA_LOSS Slide 1.
©2006 ITT Educational Services Inc. Course Name: IT390 Business Database Administration Unit 5 Slide 1 IT390 Business Database Administration Unit 5 :
SQL Server Data Protection and High Availability Anil Desai.
Session - 15 RECOVERY CONTROL - 1 Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Module 5 Understanding SQL Server 2008 R2 Recovery Models.
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
Modification is sent by application to SQL Server Modification is sent by application to SQL Server 1 Data pages are located in, or.
Chapter 2 Administrating DB Engine. Database Engine  The Database Engine is the core service for storing, processing, and securing data.  It provides.
Backup & Recovery Concepts for Oracle Database
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Building Highly Available Systems with SQL Server™ 2005 Vineet Gupta Evangelist – Data and Integration Microsoft Corp.
SQL Server 2008 Implementation and Maintenance Chapter 7: Performing Backups and Restores.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
Chapter 2: Designing Physical Storage MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)
Chapter 11: Designing a Data Recovery Solution for a Database MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study.
It is one of the techniques to create a stand by server. Introduced in SQL 2000,enhanced in It is a High Availability as well as Disaster recovery.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
DATABASE MIRRORING  Mirroring is mainly implemented for increasing the database availability.  Is configured on a Database level.  Mainly involves two.
1 Microsoft Exchange 2000 Server Maintenance and Troubleshooting System Maintenance and Monitoring Database Operation and Maintenance Backup, Restore,
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
Module 6: Implementing SQL Server Replication in an Enterprise Environment.
MS SQL by: Bryan Bankhead CIS 407. General Concepts  Backing up and Restoring databases and transaction logs is a way that SQL Server provides protection.
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
Microsoft Virtual Academy Module 8 Managing the Infrastructure with VMM.
1 Chapter Overview Understanding Data Restoration Issues Understanding the Types of Database Backups Understanding the Restoration Process.
High Availability in DB2 Nishant Sinha
Connect with life Vinod Kumar Technology Evangelist - Microsoft
Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Backup and Recovery - II - Checkpoint - Transaction log – active portion - Database Recovery.
Data Disaster Recovery Planning Greg Fibiger 1/7/2016.
Virtual Machine Movement and Hyper-V Replica
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
CommVault Architecture
Partial Database Availability
Sponsors.
SQL Backups for Beginners by Mark Gordon
Database Administration
Transaction Log Fundamentals
Curacao SQL Saturday June 11, 2016
Navigating the options for Data Redundancy
AlwaysOn Mirroring, Clustering
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Building Effective Backups
The Nitty-Gritty of Database Backups
Introduction of Week 6 Assignment Discussion
SQL Backups for Beginners by Mark Gordon
Designing Business Intelligence Solutions with Microsoft SQL Server
Peter Shore SQL Saturday Cleveland 2016
Transaction Log Fundamentals
Backup to Basics Tom Fox
High Availability/Disaster Recovery Solution
Backup & Recovery.
Designing Database Solutions for SQL Server
Presentation transcript:

Microsoft SQL Server Architecture Tom Hamilton – America’s Channel Database CSE

Common SQL Server Versions Product Overview SQL Server 2008 SQL Server 2012

SQL Server Components Databases Database Files and File Groups Transaction Logs Backup and Recovery Microsoft Clusters Protocols Disaster Recovery

SQL Server Databases System databases User databases Master Model MSDB Resource Tempdb User databases

SQL Server Files Binaries Datafiles (.mdf, .ndf) Transaction log files (.ldf) Backup files and snapshot files File groups

SQL Server 2005 New Feature: Data Partitioning Using File Groups Resources: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql90/html/sql2k5partition.asp http://www.microsoft.com/sql/bi/ProjectREAL/default.mspx http://msdn.microsoft.com/en-us/library/ms190787

SQL Server Transaction Log When the end of the logical log reaches the end of the physical log file, the new log records wrap around to the start of the physical log file.

SQL Server Recovery Model Architectures Three Models: Simple: Truncate occurs on checkpoint (default in SQL2000) No “roll-forward” capability Data loss acceptable Bulk Logged: All operations are logged except bulk operations (BCP, BULK, etc) (DSS environments) Roll forward capability Some data loss acceptable Full: All ops are logged (Default for SQL Server 2005) Full roll forward/back Least amount of data loss possible

SQL Server Recovery Model Architectures Description Work Loss Exposure Recover to point in time? Simple No log backups Changes since the most recent backup are unprotected Can recover only to the end of a backup Full Requires log backups Normally none Can recover to a specific point in time Bulk logged If the log is damaged or bulk-logged operations occurred since the most recent log backup, changes since the last backup must be redone Point in time is not supported

SQL Server 2005 New Feature: DB Snapshots – Copy on write Key Points from SQL Books Online (BOL) Intended for reporting to a point in time at mirror site or locally Performance is reduced due to increased I/O on the source database resulting from a copy-on-write operation to the snapshot every time a page is updated. Snapshots of the model, master, and temp databases are prohibited. Specifications of the database snapshot files cannot be changed. Files cannot be dropped from a snapshot. Can’t backup or restore snapshots. Can’t attach or detach snapshots. Can’t clone a snapshot. Before reverting a database, consider the following:

Microsoft Cluster Server Implementation Considerations Hardware Software Network

Protocols FCP iSCSI SCSI/NFS? SMB

SQL Server 2005 New Feature: DB Mirroring Database Failover Very fast failover – less than 3 seconds Automatic or manual failover Works with dissimilar hardware and storage Sync and async modes supported More info: http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx This is a great solution but will not be released until a later service pack. Key points: First, explain principal and mirror and witness Relationships can be bidirectional Customer view:

Microsoft SQL Server Mirror Vs. SnapMirror

Microsoft SQL Server Mirror Vs. SnapMirror Data transfers Licenses Server-server vs. controller-controller Reversible sync Failover Database only vs. everything Go for win-win

New in SQL Server 2012 Availability Groups SMB http://msdn.microsoft.com/en-us/library/cc645581.aspx SMB http://msdn.microsoft.com/en-us/library/hh759341.asp

SQL Server Replication Transactional Replication Merge Replication Snapshot replication Replication is a set of technologies for copying and distributing data and database objects from one database to another and then synchronizing between databases to maintain consistency. Using replication, you can distribute data to different locations and to remote or mobile users over local and wide area networks, dial-up connections, wireless connections, and the Internet. Transactional replication is typically used in server-to-server scenarios that require high throughput, including: improving scalability and availability; data warehousing and reporting; integrating data from multiple sites; integrating heterogeneous data; and offloading batch processing. Merge replication is primarily designed for mobile applications or distributed server applications that have possible data conflicts. Common scenarios include: exchanging data with mobile users; consumer point of sale (POS) applications; and integration of data from multiple sites. Snapshot replication is used to provide the initial data set for transactional and merge replication; it can also be used when complete refreshes of data are appropriate. With these three types of replication, SQL Server provides a powerful and flexible system for synchronizing data across your enterprise.