SQL Server emergency? Email pinal@sqlauthority.com with URGENT in the subject line.

AUTOGROW_ALL_FILES: What Replaced Trace Flags 1117 and 1118

AUTOGROW_ALL_FILES and MIXED_PAGE_ALLOCATION replaced trace flags 1117 and 1118, which once made tempdb grow its files together and use whole extents. This post checks the flags on a server, reads the settings that replaced them and demonstrates both on a demo database. It also says what to do with a startup parameter that still names them.

Continue Reading

Encrypted by Database Master Key: Fix the Always On Error

Adding a database to an availability group can fail with the message that the database is encrypted by database master key, even when TDE is off. This post finds the key, checks what depends on it and lists three ways to continue. A demo database shows the checks and the error that protects a key still in use.

Continue Reading