Skip to main content
NetApp Stage KB

Why would a SCSQL CLM take an hour+ to complete?

Views:
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
SNAPX
Last Updated:

 

Applies to

  • SnapCenter, 4.5+
  • SnapCenter Plug-in for Microsoft SQ:L (SCSQL), version 4.5+
  • Clone Lifecycle Management (CLM), version 4.5+

Answer

If the Microsoft SQL Server has to perform recovery operations on the cloned database once it is started, this takes as long as it takes.  To determine if this occurred, review the Application Event Logs on the SQL server that is the destination for the cloned database.  There will be entries like the ones below.
 
11/8/2022 9:54:21 254 Information sql1.demo.netapp.com MSSQLSERVER   3450      Recovery of database '__Clone__0474ee5f-58c7-4fa6-b86e-0d5d261d5414' (13) is 0%% complete (approximately 337528 seconds remain). Phase 2 of 3. This is an informational message only. No user action is required.
 
.
.
.
 
11/8/2022 11:29:22 941 Information sql1.demo.netapp.com  MSSQLSERVER   3450      Recovery of database '__Clone__0474ee5f-58c7-4fa6-b86e-0d5d261d5414' (13) is 99%% complete (approximately 1 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.
 
.
.
.
 
11/8/2022 11:29:24 879 Information sql1.demo.netapp.com MSSQLSERVER   3014      RESTORE DATABASE successfully processed 0 pages in 6396.332 seconds (0.000 MB/sec).

There should be an Information event that explains what process the SQL server was performing during that time.  For instance, the one below indicates transactions were rolled back.

11/8/2022 11:29:23 644 Information sql1.demo.netapp.com MSSQLSERVER   3407      7 transactions rolled back in database '__Clone__0474ee5f-58c7-4fa6-b86e-0d5d261d5414' (13:0). This is an informational message only. No user action is required.

Additional Information

If further details on what occurred during the 'recovery of database' process is required, please open a case with Microsoft.

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.