SQL Server Migrations & Upgrades

Two Most Important Decisions In Disaster Recovery – RPO And RTO

Updated
3 min read
Written by
Mark Varnas
SQL monitoring

If you’ve ever asked yourself (or management) a question—what is the acceptable level of data loss, and how long might it take in case of a disaster?

It means you were thinking about RPO and RTO even without knowing these abbreviations.

RTO – Recovery Time Objective

Recovery Time Objective (or RTO in short) is a number that defines the time that took from disaster occurred until systems were up and running again.

For example, if a disaster on a database happens at noon, and it takes 4 hours for a DBA to restore a new instance, RTO will be equal to 4 hours (RTO and RPO measurement unit is time). If AlwaysOn is used with automatic failover, it will soon switch to an active replica.

Of course, various scenarios should be taken into consideration while measuring the Recovery Time Objective.

RPO – Recovery Point Objective

Recovery Point Objective (or RPO) – a time gap between the last backup being taken, and the disaster happening.

For example, the last database backup was made at 1:00, and the disaster happened at 6:00. RPO, in this case, is 5 hours.

To reduce this number – more frequent backups are needed.

If data is critical, the recommendation is to set transaction log backups to 5 minutes or other small numbers depending on the environment and the actual hardware.

Make a decision

Of course, nobody wants to lose any of their data and wants to have 100% uptime.

However, achieving this may not be easy or inexpensive. Therefore, it might be wise to reconsider business requirements to determine if 99.99999% uptime, rather than 99%, is truly necessary in your case.

Another piece of advice – always do periodic tests of your disaster recovery setup.

Sometimes numbers may look nice in theory.

However, reality may be different, and RPO, RTO may be higher there. Especially if calculations were made on-premises hardware, disaster recovery includes restoring the server environment on the cloud.

Article by
Mark Varnas
Founder | CEO | SQL Veteran
Hey, I'm Mark, one of the guys behind Red9. I make a living performance tuning SQL Servers and making them more stable.

Leave a Comment

Managed SQL Server services, consulting, and emergency support from expert DBAs to improve performance, predictability, and cost.

Get started with Red9 today.

Contact us

Discover More

SQL Server Health Check SQL Server Migrations & Upgrades SQL Server Performance Tuning SQL Server Security SQL Server Tips

Discover what clients are saying about Red9

Red9 has incredible expertise both in SQL migration and performance tuning.

The biggest benefit has been performance gains and tuning associated with migrating to AWS and a newer version of SQL Server with Always On clustering. Red9 was integral to this process. The deep knowledge of MSSQL and combined experience of Red9 have been a huge asset during a difficult migration. Red9 found inefficient indexes and performance bottlenecks that improved latency by over 400%.

Rich Staats 5 stars
Rich Staats
Cloud Engineer
MetalToad

Always willing to go an extra mile

Working with Red9 DBAs has been a pleasure. They are great team players and have an expert knowledge of SQL Server database administration. And are always willing to go the extra mile to get the project done.
5 stars
Evelyn A.
Sr. Database Administrator

Boosts server health and efficiency for enhanced customer satisfaction

Since adding Red9 to the reporting and DataWarehousing team, Red9 has done a good job coming up to speed on our environments and helping ensure we continue to meet our customer's needs. Red9 has taken ownership of our servers ensuring they remain healthy by monitoring and tuning inefficient queries.
5 stars
Andrew F.
Datawarehousing Manager
See more testimonials