Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Full DB Backup of filestreamed database slow after restart


Full DB Backup of filestreamed database slow after restart

Author
Message
arr.nagaraj
arr.nagaraj
Mr or Mrs. 500
Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)Mr or Mrs. 500 (558 reputation)

Group: General Forum Members
Points: 558 Visits: 1588
Dear all,

I have a database on SQL Server 2008 R2 enterprise edition whose backup suddenly running slow since a server restart. following are the info

1) Database size is 300 GB. Database contains filestream data. Filestreams contribute to most of the size.

2) Database partcipates in merge replication., but for most of the articles it is a subscriber. There about 50 publishers.

Usually the backup takes 1-3 hours. After a Windows security patch and a server restart, the full backup is taking 30+hours.

Remaining performance of the server appears normal. Replication is performance is also good. Any clue why full backup with filestream data is so slow all of a sudden.? Thanks in advance.

Regards,
Raj

http://Strictlysql.blogspot.com
Grant Fritchey
Grant Fritchey
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17576 Visits: 32260
No way to know for sure why you're suddenly seeing slow performance. Can you gather more metrics? Take a look at sys.dm_exec_requests. Can you see the backup process? Is it blocked? What is the latest wait state on it? Does it show a percentage complete? This information will help you troubleshoot what's going on.

----------------------------------------------------
The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood...
Theodore Roosevelt

The Scary DBA
Author of: SQL Server Query Performance Tuning and SQL Server Execution Plans
Product Evangelist for Red Gate Software
winston Smith
winston Smith
SSC Eights!
SSC Eights! (973 reputation)SSC Eights! (973 reputation)SSC Eights! (973 reputation)SSC Eights! (973 reputation)SSC Eights! (973 reputation)SSC Eights! (973 reputation)SSC Eights! (973 reputation)SSC Eights! (973 reputation)

Group: General Forum Members
Points: 973 Visits: 2040
"Database is slow" is similar to saying "the internet's broken" when you cant connect to wifi. There are many many potential causes. We need to do is narrow it down the statements to "this specific query is now running x times slower, or something like that.

you have given one exampe with your backup now taking 30 hours. Now we have a reproducable issue we can test and debug against. Next step is to find out why this is slow.

In SQL Server your first port of call for performance issues should always be the wait stats.

Paul Randall has a great article that comes with a query to look at your wait stats.
http://www.sqlskills.com/BLOGS/PAUL/post/Wait-statistics-or-please-tell-me-where-it-hurts.aspx

I would run this, store the results.
Kick off your backup thats taking 1000% more time than usual.
Intermittently run the wait stats script and store results to a table.
Do a delta to check what wait stats are causing you the most pain when this backup is running.

This may not give you the actual cause but at the very least it will point you in the right direction to investigate the issue further.

I use this process for absolutely all performance issues on SQL Server as a frist step for debugging and analysis.

If your still having trouble after you get the wait stats, post them here.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search