I have a database where the MDF size is 10GB and the LDF size is 47GB.
I changed recovery model to simple and full but it didn't change.
I have a job for full backup (once per day) and log backup (every 15 mins).
How do I decrease the size of the log file LDF file?
You should be able to use
DBCC SHRINKFILE
to shrink the transaction log file. Let's say the following query:Returns:
You can shrink the transaction log file to its smallest size (which includes whatever data is still residing in it) with:
REF: DBCC SHRINKFILE (Transact-SQL) - Examples