According to SQL Shack, it is recommended to set the initial size of the SQL Server Transaction Log file to 20-30% of the database data file size and the auto-growth to a large amount, above 1024MB, based on your database growth plan. Since your data file size is around 38GB, you can set the initial size of the transaction log file to 7.6GB - 11.4GB and the auto-growth to 1GB or more. Keep in mind that the transaction log file should not fill up the disk drive and should have enough free space to prevent the database from being inaccessible. I hope this helps! 😊
Source: Conversation with Bing, 12/26/2023 (1) SQL Server Transaction Log Administration Best Practices. https://www.sqlshack.com/sql-server-transaction-log-administration-best-practices/. (2) sql server transaction log file size - Microsoft Q&A. https://learn.microsoft.com/en-us/answers/questions/636438/sql-server-transaction-log-file-size. (3) How large should the transaction log be? - SQL Server Tips. https://www.mssqltips.com/sqlservertutorial/3312/how-large-should-the-transaction-log-be/. (4) Manage transaction log file size - SQL Server | Microsoft Learn. https://learn.microsoft.com/en-us/sql/relational-databases/logs/manage-the-size-of-the-transaction-log-file?view=sql-server-ver16.
Setting the initial size and growth settings for SQL Server Transaction Log appropriately is important for the performance and manageability of databases. According to the information from SQL Shack, here are the recommendations for configuring the transaction log file size and growth:
Initial Size:
Autorowth Setting:
Maximum Size Setting:
Therefore, given a database data file size of approximately 38GB—as in your setup—a good practice would be: