<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'Performance', 'Backup', and 'Tips'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=Performance,Backup,Tips&amp;orTags=0</link><description>Search results matching tags 'Performance', 'Backup', and 'Tips'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Quick Tip - Speed a Slow Restore from the Transaction Log</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2012/11/14/quick-tip-speed-a-slow-restore-from-the-transaction-log.aspx</link><pubDate>Wed, 14 Nov 2012 15:59:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:46209</guid><dc:creator>KKline</dc:creator><description>&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Here's a quick tip for you:&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;During some restore operations on Microsoft SQL Server, the transaction log redo step might be taking an unusually long time. &amp;nbsp;Depending somewhat on the version and edition of SQL Server you've installed, you may be able to increase performance by tinkering with the readahead performance for the redo operations. &amp;nbsp;To do this, you should use the MAXTRANSFERSIZE parameter of the RESTORE statement. &amp;nbsp;For example, if you set MAXTRANSFERSIZE=1048576, it'll use 1MB buffers.&lt;/p&gt;&lt;div style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;div align="left"&gt;If you change the MAXTRANSFERSIZE, keep an eye on the PerfMon objects for Buffer Manager and Readahead IO. &amp;nbsp;You may also wish to keep an eye on LOGBUFFER wait stats.&lt;/div&gt;&lt;div align="left"&gt;&lt;br&gt;&lt;/div&gt;&lt;div align="left"&gt;I'd love to hear your feedback. &amp;nbsp;Have you tried this technique? &amp;nbsp;Did it work as advertised? &amp;nbsp;Did it require some changes to work on a specific version or edition?&lt;/div&gt;&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;br&gt;&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Many thanks,&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;br&gt;&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-Kev&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;br&gt;&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-&lt;a title="Kevin E. Kline's Twitter Feed" href="http://twitter.com/kekline"&gt;Follow me on Twitter!&lt;/a&gt;&lt;/div&gt;</description></item></channel></rss>