I was doing some research and found the following code that is supposed to bring the VLFs(virtual log file)in the log file down. Was wondering if this is the correct approach? I have read Kimberly's article on VLFs but it doesn't talk about how to reduce the number of VLFs. Can someone please advice?
DBCC SHRINKFILE(database_log,TRUNCATEONLY) GO ALTER DATABASE databasename MODIFY FILE (NAME = database_log,SIZE = 100 MB) GO