Click here to Skip to main content
15,301,946 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to maintain log size in database properties?

Mydata_log initial size(MB) decreases everyday...

ScreenShot here-[^]
phil.o 3-Sep-15 4:54am
Why are you trying to manage something that the database engine is supposed to handle by itself?
The log files contains the database transactions and is emptied each time the database is backuped; which explains why its size decrease after each backup.
Why would you want a forever-growing logfile?
jawad59 3-Sep-15 4:57am
when it decreases, it cannot select 1000's of record at that time
phil.o 3-Sep-15 5:15am
I can't see the real error message but I'm pretty sure it has nothing to do with the size of the log file.
barneyman 3-Sep-15 21:13pm
presumably because the backup job is locking pages to, er, backup?

1 solution

you will fine the solution in below link[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900