Is I/O Frozen in VSS backup increase base on the size ?

KC2022JAN-0951 61 Reputation points
2022-11-13T02:37:33.607+00:00

Hello,

I find out while performing VSS method backup process, 2 error message appear in ERROR log:-

I/O is frozen on database XXXX. No user action is required. However, if I/O is not resumed promptly, you could cancel the backup.
I/O was resumed on database XXXX. No user action is required.

These 2 messages gap was less than a second.
However I would like to know if increasing of database size, will this I/O frozen time increase ?
And then if I configure Mirroring, SQL Always-On, Multi A-Z, any impact to I/O frozen time ?

Appreciate your input.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,071 questions
Windows for business | Windows Server | Devices and deployment | Set up, install, or upgrade
0 comments No comments
{count} votes

Accepted answer
  1. Prrudram-MSFT 28,366 Reputation points Microsoft Employee Moderator
    2022-11-14T06:51:59.253+00:00

    Hello @KC2022JAN-0951 ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    This sequence of messages would be present for all databases which got backed-up. These messages indicate that SQL Server has frozen the IO so that snapshots can be taken for the volume. This is coordination between VSS and SQL Server so that consistent database backup is taken across the volumes.

    Message 1: I/O is frozen on database XXXX. No user action is required. However, if I/O is not resumed promptly, you could cancel the backup.
    I/O was resumed on database XXXX. No user action is required.

    Message 2: I/O was resumed on database XXXX. No user action is required.

    Answering the particular questions:

    Q) I would like to know if increasing of database size, will this I/O frozen time increase?
    The total time taken for I/O freeze doesn't depend on the size of the DB, it depends on the rate at which the activity of SQL transactions that happens on the DB. If the SQL DB is too busy processing the transactional data(reads/writes) then the I/O freeze might experience failures.

    Q) If I configure Mirroring, SQL Always-On, Multi A-Z, any impact to I/O frozen time?
    No, it won't have any direct impact on I/O frozen time. As mentioned in the above answer, it depends on how busy the server is. Please see the below explanation on what happens during I/O frozen time during a VSS snapshot.

    What happens during a VSS snapshot?
    The Volume Shadow Copy Service tells the writers to temporarily freeze application write I/O requests (read I/O requests are still possible) for few seconds that are required to create the shadow copy of the Databases. The application freeze is not allowed to take longer than 60 seconds.

    Hope this helps!

    --please don't forget to upvote and accept as answer if the reply is helpful--

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.