Monitor error, SqlDatabaseSampler
TeunvdBiggelaar
Posts: 12 Bronze 1
Hi all,
Last week i've updated to version 13.0.39 and I noticed that a few servers are getting a "monitoring error" on the Overview page.
When i click on the message this is the error message:
Did anyone experience this before?
Last week i've updated to version 13.0.39 and I noticed that a few servers are getting a "monitoring error" on the Overview page.
When i click on the message this is the error message:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. When I deepdive on the server i get all the metrics and it appears green. |
Did anyone experience this before?
Tagged:
Answers
I´m having the same problem after updating to 13.0.39:
Hoping for a fix asap as I really like the Index-tab.
What version of SQL Server are these instances you are seeing the problem with?
Kind regards,
Alex
Have you visited our Help Center?
For me it is SQL Server 2019 CU22, but I have other instances with the same version that shows correctly.
Cheers, Signe
Microsoft SQL Server 2019 (RTM-CU22-GDR) (KB5029378) - 15.0.4326.1 (X64) Aug 18 2023 14:05:15 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) (Hypervisor)
Do you get the error if you run this query against the target SQL instance that you see the error for in SQL Monitor?
And if so, what is returned by the subquery here:
And how have you configured things to get this result?
Kind regards,
Alex
Have you visited our Help Center?
It is a named instance with logshipping, so it has a couple of databases in restoring mode. The default instance on the cluster has been uninstalled, maybe there are some remains of this that could somehow be the culprit?
Cheers, Signe
I forgot to take out the "ls." when I took that subquery out of the main one above it, apologies for that. I've edited it above but it is here again corrected now:
Are any of the databases in restoring mode that are a part of log shipping the secondary for multiple different primaries? We're trying to understand how the subquery could return more than one entry unless the seoncdary_database was in there multiple times, but that should only occur if it is the secondary for multiple primaries which, though seems possible to set, doesn't make sense.
Kind regards,
Alex
Have you visited our Help Center?
There´s only one primary logshipping to the instance, 5 databases with transaction logshipping and one with merge replication (yes, it sucks, but I hope to get rid of it rather soon...
Cheers//Signe
Hi Alex,
The first query returned the same error as in SQL Monitor.
The 2nd query doesn't work on it's own because its missing the db.name reference from the other part of the query, and in my case I have 3 logshipped databases on that host which are in a (Standby / Read-Only) state therefor.
Thanks, Teun
Apologies for the continued failure on the subquery - too much haste!
We've identified the problem and it is due to there being more than one log shipped database on the same instance. The fix is in progress and should be available in the next release, likely tomorrow UK time.
I will update here further when that is available.
Kind regards,
Alex
Have you visited our Help Center?
We have upgraded to 13.0.39.27122 and seeing the same issue:
However, the server has no log shipping databases.
I will wait for the expected release to see if that helps
SQL Monitor version 13.0.40 is now available with a fix for this issue. You can download it here: https://download.red-gate.com/checkforupdates/SQLMonitorWeb/SQLMonitorWeb_13.0.40.27471.exe
Kind regards,
Alex
Have you visited our Help Center?
One small remark, since a few releases the finish button stays greyed out if you patch the basemonitor server. Maybe something for a next release as well ?
Keep up the good work!
Great to hear that fixed the SqlDatabaseSampler issue!
For the other, does this only happen on the Base Monitor only installer or do you also see this happening when you run the main installer for web and BM?
Kind regards,
Alex
Have you visited our Help Center?
Cheers//Signe
The team has merged a fix for the Base Monitor only installer "Finish" button remaining greyed out. This will go out in the next release!
Kind regards,
Alex
Have you visited our Help Center?