During restoring Navision backup into the SQL Database, happened that the SQL Tranasaction log size increased unexpected.
The backup file contain one company book only. There are two files created from Navision backup, and the size is 2,097,152KB and 1,836,799KB.
When the SQL Data file size reach 15GB, the transaction log file size increased to 35GB.
I restore in a new database with giving size of 10GB for Data file and 2GB for Log file with unrestricted growth.
What is the reason that could cause the SQL transaction log file can growth so fast?
If anyone of you have answer please let me know. I'm looking for solution for this urgently.
Thank You
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks for your reply. I had did that but it still growth up to 35GB for the Transaction log file (Tr.log) and restoration interrupted due to not enough space for the log growth.
My database most properly is about 12GB.
Is that tr.log growth sound healthy.
Other than getting a bigger hardisk can there be any other ways to do it?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
1. Change the recovery model to "Simple", as previously recommended.
2. In Enterprise Manager, click "All Tasks", then click "Shrink Database".
3. On the next window, click "files". Then, choose the log file using the pulldown. Click OK. Your log file should shrink down to a relatively small size (30 mb or less).
4. Do your restore.
5. Then you can potentially change your recovery model back to "full", but you should be backing up the log file and resetting it every time you do a Navision backup. If you don't do this, then leave the recovery model as "simple" - it's very unlikely that you would choose to do a SQL roll-forward on a database restore unless you follow the other rules (like backing up the log file upon every backup).
Regards,
But when I restore it growth so huge unbelievable.
...
Everybody on-line.
...
Looking good!