Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
mschlott
Enthusiast
Posts: 85
Liked: 2 times
Joined: Jan 20, 2011 5:45 pm
Full Name: Mike Schlottman
Contact:

High SQL load from backup to tape job while idle

Post by mschlott »

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])
Gostev
Chief Product Officer
Posts: 31524
Liked: 6700 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: High SQL load from backup to tape job while idle

Post by Gostev »

Do you have Patch #3 installed?
mschlott
Enthusiast
Posts: 85
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

Post by mschlott »

Not yet. Was this fixed in patch 3?
foggy
Veeam Software
Posts: 21070
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: High SQL load from backup to tape job while idle

Post by foggy »

Some database interaction improvements have been introduced there, worth a try.
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests