Remove .ldf file from Nav DB.

manikandan
Member Posts: 160
Hi All,
If there is any impact ,while i am removing ".ldf" file from SQL Server. :?:
Regards,
Muthusubramanian.M
If there is any impact ,while i am removing ".ldf" file from SQL Server. :?:
Regards,
Muthusubramanian.M
0
Comments
-
Can you explain what you are tying to accomplish? The LDF file is the SQL transaction log. A read/write SQL database will not function without it.There are no bugs - only undocumented features.0
-
bbrown wrote:Can you explain what you are tying to accomplish? The LDF file is the SQL transaction log. A read/write SQL database will not function without it.
Log file size is 110 GB for our customer.This may be affect the performance ?
So this is the reason for raising a question.
Regards,
Muthusubramanian.M0 -
Why would it be affecting performance? The log is a sequentially written file. It should be on a dedicated RAID 1 or RAID 10 array. Is it? Placing the log file on a shared drive can have a performance impact. How much will depend on the system's activity level.
The physical size of the log file is not important. What matters is that it maintains enough free space (internally) to log activity without the need to auto-expand. If you find your log auto-expanding, you can control it by either increasing the size or the frequency of transaction log backups. As with any NTFS drive, you should maintain a minimum of 10% free space on the drive.
How large is your database? What is your recovery model?There are no bugs - only undocumented features.0 -
Some people don't know you need to backup the transaction log, so it keeps growing until they run out of space.
If you are not running simple recovery, then do at least 1 transaction log backup after your database backup.
Also create notifications for when either fails.
Simple recovery is generally not recommended for production environments unless you can live with going back to your last good database backup.David Machanick
http://mibuso.com/blogs/davidmachanick/0
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