/ What is VLF? How to get information reg VLF?

What is VLF? How to get information reg VLF?

Each transaction log file is divided logically into smaller segments called virtual log files. Virtual log files are the unit of truncation for the transaction log. When a virtual log file no longer contains log records for active transactions, it can be truncated and the space becomes available to log new transactions.

The smallest size for a virtual log file is 256 kilobytes (KB). The minimum size for a transaction log is 512 KB, which provides two 256-KB virtual log files. The number and size of the virtual log files in a transaction log increase as the size of the log file increases.

The following DBCC command can be used  to know how many Virtual Log Files or VLFs are present in your log file.

DBCC LOGINFO