There are many different DBA (database administrator) interview questions that employers may ask to assess a candidate’s knowledge and skills. Some of the most common and popular DBA interview questions include: These questions are designed to assess a candidate’s knowledge of the core concepts and skills required for a DBA role. By asking these questions, employers can get a better …

Common DBA Interview Questions Read more »

There is an old DBA joke, that goes something like this: You either need to have a good backup strategy, or a really good resume. But all joking aside, many people responsible for a SQL Server database find out too late that they did not have the right backup and recovery strategy. How would it feel to explain to your …

Do you have the right backup and recovery strategy? Read more »

Question submitted at SteveStedman.com:  Is there any formula to calculate size of TempDB? There are some great formula’s out there for instance to calculate the max server memory setting (https://bornsql.ca/s/memory/), however calculating the size of TempDB is not that simple? Consider the situation of 2 SQL Server with the same size databases, exact same hardware, the same tables, but the …

TempDB Sizing Question Read more »

SQL Server recovery models often incorrectly referred to as (MS SQL Recovery Mode) define how your SQL Server database will treat your transaction logs. There are 3 SQL Server Recovery Models to choose from, Simple, Full and Bulk Logged. Simple: The transaction log is written to as a transaction runs and once the transaction completes what is in the transaction …

SQL Server Recovery Models Explained Read more »

It can be a bit time consuming to work through the the SQL Server Management Studio (SSMS) user interface to check on the agent job history to find specific agent jobs that have been run. To help speed that process up, I created the following TSQL script to directly query the job history. This query makes use of a common table …

TSQL Script to Display Agent Job History Read more »

In SQL Server there is a special connection that can be used to connect to the database, the remote Dedicated Admin Connection or (DAC). This is a special connection that allows the administrator to connect to the SQL Server even if something has occurred that is preventing connections on the normal port. One quick way to check if the DAC …

SQL Server – Dedicated Admin Connection (remote DAC) Read more »