Exforsys

SQL Server 2005 Training

  1. SQL Server 2005 - Configuring Replication
  2. SQL Server 2005 Replication Enhancements
  3. SQL Server 2005 - Mirror Server
  4. SQL Server 2005 - Introduction to Data Availability
  5. SQL Server 2005 - Backing up a Database
  6. SQL Server 2005 - Using Database Snapshots
  7. SQL Server 2005 - Disaster Recovery
  8. SQL Server 2005 - Managing Certificates
  9. SQL Server 2005 - Managing Permissions
  10. Managing SQL Server 2005 Security
  11. SQL Server 2005 - Using the Database Tuning Advisor
  12. SQL Server 2005 - Tuning a Database
  13. Maintain indexes in a SQL Server 2005 database
  14. SQL Server 2005 - Defining Indexes
  15. SQL Server 2005 - Database Backup
  16. SQL Server 2005 - Populating the Database
  17. SQL Server 2005 Configuration Manager
  18. SQL Server 2005 - Using the Sqlcmd Utility
  19. Using the SQL Management Objects
  20. Using SQL Sever Management Studio - Part 2
  21. Using SQL Sever Management Studio - Part 1
  22. SQL Server 2005 - Using Event Notifications
  23. SQL Server 2005 - Using DDL Triggers
  24. SQL Server Monitoring Tools - Server Profiler
  25. SQL Server 2005 - Testing Troubleshooting
  26. SQL Server 2005 - Upgrading from earlier versions of SQL Server
  27. SQL Server 2005 Installation - Maintenance Plan Without Using Wizard
  28. SQL Server 2005 - Unattended Installations
  29. SQL Server 2005 Installation - Maintenance Plan Using Wizard
  30. Installing a Second Copy of SQL Server 2005
  31. Planning to Install SQL Server 2005
  32. SQL Server 2005 Installation
  33. SQL server 2005 Editions
  34. SQL Server 2005 Architecture Overview
  35. SQL Server 2005 - Management studio interface Summary Page
  36. SQL Server 2005 - Server Groups
  37. SQL Server 2005 - Registered Servers
  38. SQL Server 2005 Administrative Tools
  39. Developing Client applications in SQL Server 2005
  40. SQL Server Management Objects
  41. NET CLR in SQL Server 2005
  42. Native HTTP Support in SQL Server 2005
  43. XML Data Types in SQL Server 2005
  44. Using XML in SQL Server 2005
  45. Using Notification Services in SQL Server 2005
  46. SQL Server 2005 - Service Broker
  47. Data Manipulation Language (DML) in SQL Server 2005
  48. T-SQL Enhancements in SQL Server 2005
  49. Security Features in SQL Server 2005 for the Developer
  50. SQL Server Architecture and Components
  51. SQL Server 2005 Management Studio
  52. Overview of SQL Server 2005 for the Database Developer
  53. Getting started with SQL Server 2005

Ads


Home arrow Technical Training arrow SQL Server 2005 Training

SQL Server 2005 - Introduction to Data Availability

Author : Exforsys Inc.     Published on: 1st Jan 2006

SQL Server 2005 - Introduction to Data Availability

In this tutorial you will learn about Data Availability in SQL Server 2005 - Failover clustering, Database mirroring, Log shipping, Replication, Introduction to Database Mirroring and advantages of mirroring.

Ads

SQL Server 2005 introduces several high availability solutions to improve the availability of servers and databases. These solutions mask the effect of hardware or software failure and maintain the availability of applications so that users perceive a minimum of downtime.

The options for creating high availability for a server or a database include:

Failover clustering

The failover cluster is a combination of one or more nodes with two or more shared disks. SQL Server and Notification services are installed on Microsoft Cluster Service known as a resource group. The resource group is generally owned by a single node in the cluster at any given point of time. The service has a virtual name that is independent of the node names. This server appears on the network as if it were a separate computer and has the capacity to provide failover from one node to another if the current node becomes unavailable. Though it does not protect against disk failure, it reduces system downtime and provides higher application availability.

Database mirroring

Database mirroring is a software solution for increasing database availability. The mirroring technology can be used to maintain a single mirror database for a corresponding read-write database called principal database. The mirror database is inaccessible to clients but can be used indirectly for reporting purposes by creating a snapshot on the mirror database.

Each mirroring configuration is made up of a principal server, a mirror server and an optimal witness server. The mirror database is maintained up to date with the principal server and failover is instantaneous.

The availability level in database mirroring is tremendous and offers an easy to manage alternative to failover clustering. Compared to log shipping, it is a synchronous configuration and simple failover strategy.

Log shipping

Log shipping operates at database level and is used to maintain one or more standby databases called secondary databases. Each secondary database is created by restoring a full backup of the primary database without recovery. The configuration includes a single primary server and one or more secondary servers and a monitor server. The secondary servers update their secondary databases at regular predetermined intervals from log backups of the primary database. However, in the event of failure of the primary database the secondary database must be manually brought up to the level of the primary database. Secondary databases also have limited availability during restores.

Log shipping nevertheless, provides flexible support for multiple standby databases. Log shipping also allows user specified delay between primary server log backup and restore of the log backup.

Replication

In Replication the primary server allows the DBA to distribute data to one or more secondary servers and allows availability and scalability across these servers. Filters are available to provide subsets of data to subscribers and also allow partitioned updates of data. Three types of replications are possible:-snapshot, transactional and merge. Transactional replication has the lowest latency and is more commonly used. Replication is supported in all editions of SQL Server 2005.

Introduction to Database Mirroring --the concepts of database mirroring

Database mirroring is a software solution to high availability of data. In this technique the principal server is related to a mirror server and the transactions performed in the primary server are mirrored in the mirror server creating a standby database that can be instantly brought online in the event of failure of the primary server. Sometimes a third computer is configured as a witness server to facilitate automatic failover in the event of the principal server becoming unavailable.

Ads

Servers configured to perform mirroring operations are known as a quorum. The process of mirroring provides the following advantages:

  1. Full database redundancy
  2. Near instantaneous failover within 3 seconds
  3. Failover can be performed manually or automatically.
  4. No special hardware requirements.
  5. Ease of manageability as it is easy to set up and can be configured to be self monitoring for automatic failover.
  6. Transparent client redirection


 
This tutorial is part of a SQL Server 2005 Training tutorial series. Read it from the beginning and learn yourself.

SQL Server 2005 Training

  1. SQL Server 2005 - Configuring Replication
  2. SQL Server 2005 Replication Enhancements
  3. SQL Server 2005 - Mirror Server
  4. SQL Server 2005 - Introduction to Data Availability
  5. SQL Server 2005 - Backing up a Database
  6. SQL Server 2005 - Using Database Snapshots
  7. SQL Server 2005 - Disaster Recovery
  8. SQL Server 2005 - Managing Certificates
  9. SQL Server 2005 - Managing Permissions
  10. Managing SQL Server 2005 Security
  11. SQL Server 2005 - Using the Database Tuning Advisor
  12. SQL Server 2005 - Tuning a Database
  13. Maintain indexes in a SQL Server 2005 database
  14. SQL Server 2005 - Defining Indexes
  15. SQL Server 2005 - Database Backup
  16. SQL Server 2005 - Populating the Database
  17. SQL Server 2005 Configuration Manager
  18. SQL Server 2005 - Using the Sqlcmd Utility
  19. Using the SQL Management Objects
  20. Using SQL Sever Management Studio - Part 2
  21. Using SQL Sever Management Studio - Part 1
  22. SQL Server 2005 - Using Event Notifications
  23. SQL Server 2005 - Using DDL Triggers
  24. SQL Server Monitoring Tools - Server Profiler
  25. SQL Server 2005 - Testing Troubleshooting
  26. SQL Server 2005 - Upgrading from earlier versions of SQL Server
  27. SQL Server 2005 Installation - Maintenance Plan Without Using Wizard
  28. SQL Server 2005 - Unattended Installations
  29. SQL Server 2005 Installation - Maintenance Plan Using Wizard
  30. Installing a Second Copy of SQL Server 2005
  31. Planning to Install SQL Server 2005
  32. SQL Server 2005 Installation
  33. SQL server 2005 Editions
  34. SQL Server 2005 Architecture Overview
  35. SQL Server 2005 - Management studio interface Summary Page
  36. SQL Server 2005 - Server Groups
  37. SQL Server 2005 - Registered Servers
  38. SQL Server 2005 Administrative Tools
  39. Developing Client applications in SQL Server 2005
  40. SQL Server Management Objects
  41. NET CLR in SQL Server 2005
  42. Native HTTP Support in SQL Server 2005
  43. XML Data Types in SQL Server 2005
  44. Using XML in SQL Server 2005
  45. Using Notification Services in SQL Server 2005
  46. SQL Server 2005 - Service Broker
  47. Data Manipulation Language (DML) in SQL Server 2005
  48. T-SQL Enhancements in SQL Server 2005
  49. Security Features in SQL Server 2005 for the Developer
  50. SQL Server Architecture and Components
  51. SQL Server 2005 Management Studio
  52. Overview of SQL Server 2005 for the Database Developer
  53. Getting started with SQL Server 2005
 

Comments