AboutSQL Server, Analytics, .Net, Machine Learning, R, Python Archives
About Me
Mitch Wheat has been working as a professional programmer since 1984, graduating with a honours degree in Mathematics from Warwick University, UK in 1986. He moved to Perth in 1995, having worked in software houses in London and Rotterdam. He has worked in the areas of mining, electronics, research, defence, financial, GIS, telecommunications, engineering, and information management. Mitch has worked mainly with Microsoft technologies (since Windows version 3.0) but has also used UNIX. He holds the following Microsoft certifications: MCPD (Web and Windows) using C# and SQL Server MCITP (Admin and Developer). His preferred development environment is C#, .Net Framework and SQL Server. Mitch has worked as an independent consultant for the last 10 years, and is currently involved with helping teams improve their Software Development Life Cycle. His areas of special interest lie in performance tuning |
Tuesday, December 28, 2010SQL Server Transaction Log size does not match the size of the data being loadedI came across this cautionary tale from the SQL Server Development Customer Advisory Team, while looking for information on virtual log files (VLF):
After confirming the database was in FULL recovery mode, they tried BULK LOGGED and got the same result! The reason? The database had never had an initial FULL backup! From Books Online ‘Working with Transaction Log Backups’:
So, for FULL and BULK-LOGGED recovery models, create a full database backup right after creating a database. (This initial Transaction Log backup will be ‘empty’ because the database contains no data) 1 Comments:
Do you know what the logic behind this is? << Home |
ContactMSN, Email: mitch døt wheat at gmail.com LinksFavorites
Blogs |