Deleting inactive SQL Instances
PaulL
Posts: 1 New member
Hi, Is it possible to delete a uninstalled SQL instance from SQLMonitor? A few months ago we decided to uninstall a SQL instance and still it's visible in SQL Monitor.
Tagged:
Answers
Thanks for posting on the Redgate forums.
The instance will be removed when the purge settings delete all of the data from the SQL Monitor repository.
You can check your purge settings on Configuration>Purging.
Dan Bainbridge
Product Support Engineer | Redgate Software
Thanks for posting on the Redgate forums.
The instance will be removed when the purge settings delete all of the data from the SQL Monitor repository.
You can check your purge settings on Configuration>Purging.
Dan Bainbridge
Product Support Engineer | Redgate Software
First, take a backup of the data repository (RedGateMonitor database by default) in case anything should go awry.
Then, we will need to find the entry for that instance in the repository in the settings.SqlServers table - which will look like:
SELECT * FROM settings.SqlServers AS ss
WHERE Name = 'FirstNodeName\' OR Name = 'SecondNodeName\';
DELETE FROM settings.SqlServers
WHERE Id = '<theIdFromFirstNodeAbove>' OR
Id = '<theIdFromSecondNodeAbove>';
This worked for me and was given as a solution by the support team in the past.
Good luck!