Recovery Model affect Performance?

skiddoo
Member Posts: 19
Hello,
has the Recovery Model an impact on the performance of the SQL Server?
We are using SQL-Server 2008 R2 Entpr Edtn. And we have a heavy performance issue. And it seems to be that this problem occur after we switched from the simple to the full recovery model.
We use LogShipping for Backup / Failover. So the full recovery model is realy necessary. Do we need more RAM for that? (current RAM 22 GB / Creating an Posting 4000 orders per day / 80 users)
Thanks for any response.
Regards
skiddoo
has the Recovery Model an impact on the performance of the SQL Server?
We are using SQL-Server 2008 R2 Entpr Edtn. And we have a heavy performance issue. And it seems to be that this problem occur after we switched from the simple to the full recovery model.
We use LogShipping for Backup / Failover. So the full recovery model is realy necessary. Do we need more RAM for that? (current RAM 22 GB / Creating an Posting 4000 orders per day / 80 users)
Thanks for any response.
Regards
skiddoo
0
Comments
-
It depends. You are writing nothing about your disk setup. And I think this is one from the critical points.0
-
With a properly sized transaction log, recovery model would have no impact on performance. After all, the recovery model doesn't change anythign with how SQL retrieves and updates data. Only when the transaction log is truncated.
However, if your transaction log is undersized and needing to constantly auto-expand, this could have a noticable performance impact. This would likley be most noticable in full recovery, as the need to expand would tend to occur more often.There are no bugs - only undocumented features.0 -
You have given us the equivalent information as "I have a car, when I added passengers it won't go as fast."
What other changes did you make - assume the log shipping was added at the same time.
32 or 64 bit SQL Server?
Windows O/S version
Anything else running on SQL Server
Disk configuration for programs, operating system, system databases, database files, log files, tempdb.
Number of databases - if more than 1 active database writing to log files on same spindle, you will likely experience a slow down.
Where is the replicated database?David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
The short answer is No, recovery model do not affect performance.
Check that transaction log is empty after each log backup.0 -
frgusto wrote:When properly setup, The short answer is No, recovery model do not affect performance.
Check that transaction log is empty after each log backup.
Fixed that for you.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Ok, thanks bbrown and Alex. Maybe I should clarify.
A transaction log filled with data can affect performance. So make sure transaction log is backed up regularly.
And check also, that that the transaction log is close to empty after backup is done. I have seen problems with that the log was not emptied after backup.
If this is working as expected, then full recovery model do not affect performance.
Regards Fredrik0 -
frgusto wrote:Ok, thanks bbrown and Alex. Maybe I should clarify.
A transaction log filled with data can affect performance. So make sure transaction log is backed up regularly.
And check also, that that the transaction log is close to empty after backup is done. I have seen problems with that the log was not emptied after backup.
If this is working as expected, then full recovery model do not affect performance.
Regards Fredrik
The amount of data in the transaction log has no bearing on performance. What matters is that there's enough free space to write the current transactions without needing to auto-grow the log. Now, having a large number of virtual logs can impact performance. (That's a whole other topic). The transaction log is written sequentially.
Also it doesn't matter if the backup empties the whole file or not. Just that there's enough free space to support the new transactions. BTW - it doesn't actually clear the data from the file. it just marks the section for re-use. Much the same way a file delete works.There are no bugs - only undocumented features.0 -
hi
You must read this SQL tutorial and learn more about recovery models :- http://www.sqlrecoverysoftware.net/blog/sql-database-recovery-model.html0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions