I noticed today that my SQL database had a constant high cpu usage. My DBA looked into it and found the below sql statement running all the time and using a lot of resources. He added a reccomended index and the problem went away. Thought I would pass this on in case others are experiencing this issue and don't have access to a decent DBA. Another symptom was that anytime I tried to stop my backup to tape job, while idle, it would take over a minute to stop. After stopping the backup to tape job, the SQL load would go away.
Here is the statment. It may contain typos, I am typing this in from a screen shot.
select oib.* from
[dbo][Backup.Model.OIBs] oib
where
oib.storage_id = @storage_id
Here is the index information. My database name is VeeamBackup.
Create missing_index_1 ON [VeeamBackup].[dbo].[Backup.Model.OIBs] ([storage_id])
-
- Enthusiast
- Posts: 86
- Liked: 2 times
- Joined: Jan 20, 2011 5:45 pm
- Full Name: Mike Schlottman
- Contact:
-
- Chief Product Officer
- Posts: 31814
- Liked: 7302 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: High SQL load from backup to tape job while idle
Do you have Patch #3 installed?
-
- Enthusiast
- Posts: 86
- Liked: 2 times
- Joined: Jan 20, 2011 5:45 pm
- Full Name: Mike Schlottman
- Contact:
Re: High SQL load from backup to tape job while idle
Not yet. Was this fixed in patch 3?
-
- Veeam Software
- Posts: 21139
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: High SQL load from backup to tape job while idle
Some database interaction improvements have been introduced there, worth a try.
Who is online
Users browsing this forum: No registered users and 13 guests