This document announces an upcoming webinar on September 24th about configuring applications to take advantage of SQL Server AlwaysOn readable secondary replicas. It provides background on SQL Server high availability and disaster recovery technologies, an overview of AlwaysOn availability groups, and how to configure applications and use active secondary replicas for read scaling and backup operations. The webinar will include a demonstration of implementing an AlwaysOn availability group and testing readable secondaries.
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Configurando Aplicaciones para Réplicas de Lectura de SQL-Server AlwaysOn - Carlos Rojas
1. Configurando Aplicaciones para Réplicas de
Lectura de SQL-Server AlwaysOn
24 de Septiembre (12 pm GMT -5)
Carlos Rojas
Resúmen:
Cómo configurar SQL-Server y Aplicaciones .NET
para aprovechar la funcionalidad de Lectura de las
Réplicas en AlwaysOn de SQL-Server
Próximos Eventos
Indices columnares en SQL Server
2014
1 de Octubre
José L. Rivera
Power BI para office 365
8 de Octubre
Jorge Castañeda
Introducción a SSIS con BIML
15 de Octubre
Guillermo Caicedo
Está por comenzar:
2. Configurando Aplicaciones para Réplicas de
Lectura de SQL-Server AlwaysOn
24 Setiembre 2014
Carlos Rojas Vargas
MVP | MCSA | MCITP | MCTS | MCPD | MCSE | MCT
Consultor Senior CMA / Trainer CTE
SQL-Server Users Group – Costa Rica
http://sqlugcr.net
3. History of SQL-based Data Redundancy
SQL Backup and Restore (SQL Server 6.5)
SQL Log Shipping (SQL Server 7.0)
SQL Transactional Replication (SQL Server 7.0)
SQL Failover Cluster (SQL Server 7.0)
- HADR Enhancements (SQL Server 2000)
SQL Snapshot (SQL Server 2005)
SQL Mirroring (SQL Server 2005)
- HADR Enhancements (SQL Server 2008 & R2)
SQL AlwaysOn (SQL Server 2012)
SQL AlwaysOn Enhanced (SQL Server 2014)
4. AlwaysOn Technologies in
SQL Server 2012/2014
AlwaysOn Failover Cluster
Instance
• Server-level protection
Windows Server
Failover Cluster
Windows Server
Failover Cluster
AlwaysOn Availability Group
• Database-level protection
8. A Flexible Solution
AlwaysOn provides the flexibility of different HA
configurations
Synchronous
Data Movement
A
Asynchcronous
Data Movement
A
A
A
Shared Storage, regional and geo secondaries
A
A
A
Direct attached storage local, regional and geo target
9. High Availability Summary
High Availability and Disaster
Recovery
SQL Server Solution
Potential
Data Loss
(RPO)
Potential
Recovery
Time (RTO)
Automatic
Failover
Readable
Secondaries
AlwaysOn Availability Group - synchronous-commit
Zero Seconds Yes(4) Yes
AlwaysOn Availability Group - asynchronous-commit
Seconds Minutes No Yes
AlwaysOn Failover Cluster Instance NA(5) Seconds
-to-minutes
Yes NA
Database Mirroring(2) - High-safety (sync +
witness)
Zero Seconds Yes NA
Database Mirroring(2) - High-performance (async) Seconds(6) Minutes(6) No NA
Log Shipping Minutes(6) Minutes
-to-hours(6)
No Not during
a restore
Backup, Copy, Restore(3) Hours(6) Hours
-to-days(6)
No Not during
a restore
10. Application Failover
Availability Groups Listener allow applications to failover seamlessly to any secondary
Application reconnects using a virtual name after a failover to a secondary
ServerA ServerB ServerC
HR
DB
AG_HR
HR
DB
HR_VNN
Primary Secondary
HR
DB
Primary SSeeccoonnddaarryy
Application retry during failover
-server HR_Listener;-catalog
HRDB
Connect to new primary once
failover is complete
and the listener is online
12. AlwaysOnActive Secondary
• IT efficiency and cost-effectiveness is critical for businesses
Idle hardware is not an option anymore
• AlwaysOnActive Secondary enables efficient utilization of high availability hardware
resources thereby improving overall IT efficiency
• Active Secondary can be utilized for
Balancing read-only workloads
Offloading Backup Operations
13. SQLservr.exe SQLservr.exe
InstanceA
DB1 DB2
Readable secondary allow offloading read queries to secondary
Close to real-time data, latency of log synchronization
impact data freshness
Backups in Secondary Replicas
DB1 DB2
Primary Secondary
InstanceB
Secondary Primary
Reports
Backups
Reports
Backups
AlwaysOn Availability Groups
14. Active Secondary
Enabling Backup On Secondary
Backups can be
done on any replica
of a database
Backups on
primary replica still
works
Log backups done
on all replicas form
a single log chain
Database
Recovery Advisor
makes restores
simple
R/W workload
Primary
Backups
Secondary
Backups
Secondary
Backups
15. Read-Only Client Connectivity
Read-Only client connection behavior determined by Availability Replica
Option+ ApplicationIntent Property
ApplicationIntent is a connection property
Replica option determines whether a replica is enabled for read access when in a secondary role
Read-Only Routing enables redirection of client connection to new secondary
on role change
Enable seamless redirection of application connection across replicas without manual intervention
16.
17.
18.
19. Demo
SQL-Server Always On
View Clustering Services 2012R2
Implementing AlwaysOn
High Availability Group (HAG)
Testing Readable Secondaries
20. Manténgase conectado a nosotros!
Visítenos en http://globalspanish.sqlpass.org
20
/SpanishPASSVC
lnkd.in/dtYBzev
/user/SpanishPASSVC
/SpanishPASSVC
22. Planning on attending PASS Summit 2014?
• The world’s largest gathering of SQL Server & BI professionals
• Take your SQL Server skills to the next level by learning from the world’s
SQL Server experts, in 190+ technical sessions
• Over 5000 attendees, representing 2000 companies, from 52 countries,
ready to network & learn
Ask your Chapter Leader how to
save $150 off registration!
$1,895
UNTIL SEPTEMBER 26,
2014
23. Join me for a sneak peek of PASS Summit 2014
24 free SQL Server and BI training webcasts
Content delivered by PASS Summit speakers & experts from around the
world
5 Session Tracks, covering Application & Database Development to
Professional Development
A taste of what you can expect at PASS Summit 2014 in November
www.24HoursofPASS.com
24. Upcoming SQLSaturdays
Upcoming North America Events Upcoming International Events
• Sep 6 #320 Raleigh
• Sep 13 #300 Kansas City
• Sep 20 #331 Denver
• Sep 20 # 340 San Diego
• Sep 27 #334 Boston (BI Edition)
• Sep 27 #318 Orlando
• Sep 27 #342 Mobile
• Sep 13 # 323 Paris
• Sep 20 #290 Kiev
• Sep 20 #310 Dublin
• Sep 27 #325 São Paulo
• Sep 27 #343 Medellin
• Oct 04 #335 Athens
• Oct 04 #336 Holland (Utrecht)
• Oct 04 #344 Tirana
Visit www.sqlsaturday.com to
register for an event near you!
25. 25
Volunteering with PASS
Volunteer Today!
Now it’s easier than ever to volunteer with PASS.
Let us know your volunteer preferences by updating the
“MyVolunteering” section of your MyPASS profile.
PASS would not exist without our passionate, dedicated,
and hardworking volunteers from around the globe.
26. 26
PASS Volunteer Awards
Outstanding Volunteer Award
Do you know a volunteer that has gone
above and beyond recently?
Nominate them for the monthly OVA.
VolunteerRecognition@sqlpass.org
PASSion Award
The highest of PASS accolades presented
yearly to a volunteer.
Nominations open now!
http://www.sqlpass.org/Community/Volunteers
/PASSionAward.aspx
27. Stay Involved!
• Sign up for a free membership today at sqlpass.org
• Linked In: http://www.sqlpass.org/linkedin
• Facebook: http://www.sqlpass.org/facebook
• Twitter: @SQLPASS
• PASS: http://www.sqlpass.org
28. Indices columnares en SQL Server 2014
1 de Octubre (12 pm GMT -5)
José L. Rivera
Resúmen:
Los índices columnares, disponibles desde SQL Server
2012, prometen ser una herramienta fundamental para
obtener alto rendimientos en consultas de altos
volúmenes de datos. Estos índices introducen un nuevo
paradigma de construcción y uso el cual estaremos
discutiendo en esta sesión. Veremos sus características
principales y como tomar ventaja de los mismos en
nuestros entornos laborales.
Próximo Evento
Notas del editor
Why Redundancy?
A business might tolerate 1 percent of temporary performance degradation, but can’t stand on for 1 percent of data loss when you consider the scenario of a financial institution that processes stock trades.
That’s why Microsoft has come a long way to implement a number of features in SQL Server to achieve High Availability and Disaster Recovery in an effort to make SQL Server a truly enterprise class database system.
SQL Backup and Restore is Microsoft’s earliest attempt for disaster recovery in SQL Server version 6.5.
In SQL Server 7.0, Microsoft implemented Log Shipping, Transactional Replication, and SQL Failover Cluster.
In SQL Server 2005, Microsoft introduced SQL Snapshot, SQL Mirroring.
And AlwaysOn High Availability and Disaster is among the top features that Microsoft is going to offer to its customers in SQL Server 2012
Welcome & Self Intro
In this section, we will briefly take a look of previous SQL High Availability and Disaster Recovery solutions, including:
SQL Backup and Restore
SQL Snapshot
SQL Log Shipping
SQL Transactional Replication
SQL Mirroring
SQL Failover Cluster
Most importantly, we will examine what are the pros and cons for each solution. With that, you will have a clear understanding why SQL 2012 AlywasyOn has been implemented in the way it is.
Availability Group:
Before you can configure High Availability and Disaster Recovery on a SQL Server database, there are some prerequisites. The first is that the server running the database must be set up as a Window cluster node. Because of this requirement, the operating system running under a High Availability and Disaster Recovery database must be Windows Server Enterprise edition or higher.
The SQL Server instance itself does not need to be clustered; only the operating system needs to be.
After setting up a Windows cluster, you need to install a normal non-clustered instance of Microsoft SQL 2012 on each node of the cluster.