7.3.0.383 Issue: Refreshing Connection for 20m & counting
PDinCA
Posts: 642 Silver 1
Just upgraded the SQL Cluster's 7.2.x to 7.3 and am STILL waiting for the only connection defined to the UI to refresh, while actually RDP'd to the primary node.
The server components were installed first, then the UI started, which gave me the updates-ready notification, so downloaded, installed and started the updated UI. Said YES to the Cache Compress that appears compulsory.
I can see jobs, in progress, but the green-spinner just keeps on spinning...
UI is utterly unusable for any Activity Monitoring.
Failing the cluster over/rebooting is not an option.
Actions:
D.O.A. can we say?
Windows Server 2008 R2 Enterprise SP1 Build 7601.
SQL Server 2012 Enterprise CU5.
===== TWO UPDATES=====
1. UI also fails for the same server from my laptop - Windows-8 Pro.
2. Trust you received the {sa} DUMP generated by the utter failure of the UI to refresh the Activity tab for the connection?
The server components were installed first, then the UI started, which gave me the updates-ready notification, so downloaded, installed and started the updated UI. Said YES to the Cache Compress that appears compulsory.
I can see jobs, in progress, but the green-spinner just keeps on spinning...
UI is utterly unusable for any Activity Monitoring.
Failing the cluster over/rebooting is not an option.
Actions:
-
1. Open the UI.
2. Click on the Server.
3. Wait forever.
D.O.A. can we say?
Windows Server 2008 R2 Enterprise SP1 Build 7601.
SQL Server 2012 Enterprise CU5.
===== TWO UPDATES=====
1. UI also fails for the same server from my laptop - Windows-8 Pro.
2. Trust you received the {sa} DUMP generated by the utter failure of the UI to refresh the Activity tab for the connection?
Jesus Christ: Lunatic, liar or Lord?
Decide wisely...
Decide wisely...
Comments
We've had one or two reports of this in the latest version and I'm not sure the underlying cause has been identified so far. In short, it seems like the local data store is encountering trouble after the cache compress.
You may find it springs into life after some time - how long have you left it?
If it's still not working after being left alone for ages, the quickest way to get things working again is to let it create a fresh file. It'll import history from SQL Server, but you'll lose the more detailed history specific to SQL Backup (such as compression rates etc.)
To do this, stop the SQL Backup service, and then locate the data.sdf file. On a cluster, this is usually installed to a shared folder between the nodes somewhere, and on a single server would be in c:\programdata\red gate\sql backup\data\<instance name>. Rename / move the file elsewhere, and then start the service again. A new file should get created, and things should come back to life.
Redgate Software
I don't care about the detailed stats as I'll have a fresh set after the cache is rebuilt and the daily Full backups have run. Thanks for the workaround.
MINOR POTENTIAL PROBLEM: one of the SQL Backup instances is on a cluster and the cluster manage is aware of the service - do NOT want to accidentally fail the beast over Any advice?
Can we say NO to the Cache Compress? I have FIVE more machines to upgrade and don't want to have to fudge around on all ten machines, so far...
Decide wisely...
Redgate Software
Hi,
You can delete the server.dat and {number}.dat files from:
C:\Users\USER.NAME\AppData\Local\Red Gate\SQL Backup\Server Data (on the workstation, not server) to bypass the cache compact step.
The path mentioned in a previous post is on the machine hosting SQL Server and performance will dramatically improve if you purge it, however I would clear the local cache files at the same time for good measure.
I recall you've had problems in the past with the UI - if you note the size of your .sdf and .dat files before purging them, I'll make sure our test files are at least this large if they're not already.
Thanks,
Development
Red-Gate Software
The 1.dat is only 12,669 KB.
I don't have a server.dat file.
I have a localDataCache.dat file of 31KB, though.
Do I delete the latter?
On the Server, the 1.dat is 25,548 KB, 2.dat is 30 KB and localDataCache.dat is 30 KB.
Please advise.
Decide wisely...
I'd start by just removing the numbered .dat file and the localDataCache.dat. If you delete the servers.dat you'll need to re-add your servers into the console.
Redgate Software
Decide wisely...
Redgate Software
Activity History is at 10 minutes and counting...
I can see the Jobs, no problem.
Next steps, please, as this version is definitely broken...
Decide wisely...
Redgate Software
I was waiting for advice on the data.sdf file on the SQL Cluster due to the configuration of the SQL Backup Service with respect to the cluster manager.
Apologies for misleading you all, I didn't delete THAT file, just the client files.
Decide wisely...
I didn't delete the data.sdf files on the stand-alone Dev and QA Servers and the Activity History just came up fine, immediately after adding the servers to the new laptop.
Only the CLUSTER Activity History is now a problem.
Decide wisely...
If it turns out that one does need removing then I guess the issue is indeed that stopping the service may fail the cluster over as the backup is seen as a cluster resource... on the installation notes here it does seem that we recommend a policy to restart it on the *current* node though, rather than failing over, so you may be OK. The other thing is whether you can temporarily remove / ignore the SQL Backup service from the clustering side of things. I'd test this out myself, but unfortunately I don't have a cluster here to try it on
Redgate Software
Decide wisely...
It also incurred a SQL "Long Running Query" Alert from SQL Monitor - the query ran for 8718.0400001 seconds!!!
Decide wisely...
Maintenance plan for History Cleanup is now configured, executed, and we're down to 30-days.
Decide wisely...
Did you manage to remove the file in the end?
Redgate Software
I deployed the server bits to three more production servers that have only 30-day history retention and had no issues at all. Their backup schedules are very similar to the 6-month-retention machine, BTW.
The fact that SQL Monitor kicked out a Long Running Query Alert for sqbdata as the underlying process tells me that the issue lies in THAT process and that the volume of data gave it a two hour twenty five minute headache!
Decide wisely...
Customers should not be forced to delete important backup history as a workaround for a poorly performing SQL Backup process.