Category: Troubleshooting
-
Unable to Determine if the Owner of Job Has Server Access (15404)
SQL Agent job failed before step 1 with “Unable to determine if the owner of job has server access”. The reason in brackets names the cause: 15404 and its error codes, Agent XPs, a denied login. Find every job that will fail next with one script, then change the owner safely.
Written by
-
RESOURCE_SEMAPHORE When SQL Server Is Nowhere Near Its Memory Cap
RESOURCE_SEMAPHORE waits while SQL Server sits far below max server memory: why the grant pool follows target memory and not the cap, the one query that shows it, and how to let a query run with MAX_GRANT_PERCENT while you free memory.
Written by
-
TempDB Is Full or Still Growing: Find What Is Using It, Right Now
TempDB belongs to the whole instance, so the question is never whether it is full, it is which session filled it. One query names the session, and user objects, internal objects and the version store each end a different way.
Written by
-
SQL Server Service Will Not Start: Error 17113, 17058, 1067 and Where the Real Reason Is
The service will not come up and Windows only says 1067. Where the real reason lives, what errors 17113 and 17058 are actually telling you, and what to do when the log says nothing at all.
Written by
-
Login Failed: Password Expired or Must Be Changed (Errors 18487 and 18488)
Login failed, and the reason is the password: 18488 must be changed, 18487 expired. Check the login, reset it in the right order (Msg 15128 if you do not), and find the next one before it expires.
Written by
-
SQL Server Error 3906: Writes Fail Because the Database Is Read-Only
Msg 3906 means SQL Server considers the target database read-only. Check its state and recovery role before changing it. A log-shipping secondary may be read-only by design.
Written by
-
RESTORE VERIFYONLY Fails: Reached the End of the File (Error 3203)
RESTORE VERIFYONLY returned Msg 3203 on a truncated backup in a lab test. The header was readable, but the file was incomplete. Direct RESTORE returned Msg 3287 instead.
Written by
-
SQL Server Is Slow: What to Check First, in Order
A symptom router for the slow SQL Server call. One check per step, in the order that finds the fault fastest, each handing off to the post that owns it.
Written by
-
SQL Server Backup Failed or the Restore Is Stuck
Three incidents that look alike and share nothing: a BACKUP that failed, a RESTORE that failed, and a restore that is still running. This page routes each one to the post that owns it.
Written by
-
SQL Server Disk Is Full or the Log Will Not Truncate
A routing page for every out of space incident on SQL Server: which drive, which file, what log_reuse_wait_desc is telling you, and why shrinking comes last.
Written by
- Tune a Slow Query With Copilot in SSMS
- xp_readerrorlog: Read the SQL Server Error Log with T-SQL
- Cannot Drop Database Because It Is Currently in Use (Error 3702)
- Could Not Drop Login Because the User Is Currently Logged In (Error 15434)
- Set a Maximum Database File Size in SQL Server (MAXSIZE)
- SQL Server Activity Monitor in SSMS (and the Performance Dashboard)
- Backups & Recovery (18)
- DBA Scripts (154)
- High Availability (HA) (13)
- Installation & Configuration (60)
- Maintenance (25)
- Migration & Upgrades (14)
- Monitoring (10)
- Performance Tuning (38)
- Security (Encryption & Permissions) (25)
- Storage & Capacity (18)
- T-SQL Fundamentals (17)
- Troubleshooting (108)
- Wait Types (236)