Franklin, TN 37067
+1 (888) 412-7376
info@theserogroup.com

Category: DBA

sql server performance tuning

How Do Implicit Type Conversions Affect SQL Queries?

Let’s have a look at implicit type conversions and how they can affect SQL Server’s performance. What are type conversions? Let’s start with the basics. What are data type conversions? (If you’re well-versed in this, feel free to skip ahead a bit.) SQL Server works with different types of data. It works with numbers, character…
Read more

training for sql server disaster recovery

Rainy days, backpacking, and SQL Server Disaster Recovery.

What do rainy days, backpacking, and SQL Server Disaster Recovery have in common? Over the past several years I’ve been section hiking the Appalachian Trail. For my first trip, I started at the southern terminus, Springer Mountain, Georgia, and hiked northbound for 137 miles to Nantahala, North Carolina. It took just over a week. Each…
Read more

Routines Help Create a Healthy SQL Server

The moon over my morning walk today. It was bright and beautiful. And under its glow, I realized that my morning walks have become an important routine for me. They are important for my physical and emotional health. They help start the day off on the right foot, so to speak. Similarly, routines are instrumental…
Read more

what's in this sql server backup file?

What’s in This SQL Server Backup File?

So, there you are cleaning up files to make additional space and you find a file named “db.bak.” It’s a SQL Server backup file, that much is clear. But what’s in it? When was it created? Is it important? Or can it go? Why can’t people name backup files so that they describe what’s in…
Read more

unseen work of a successful dba

10 Unseen Things Successful DBAs Do

It was 19 F at 5:15 AM as I laced up my hiking shoes. That’s cold for my part of the world. Each morning, I walk two to four miles to get the day started. Why? I’m preparing for my next 150-mile trek along the Appalachian Trail. I put in the time now so I…
Read more

sql server table corruption

Schedule DBCC CHECKDB

Do you schedule DBCC CHECKDB for all of your important databases? Scheduling database integrity checks ranks right up there with backing up your databases when it comes to glamorous activities in the life of a DBA. That is to say, it’s not glamorous at all. Integrity checks don’t bring the same internal swagger as say…
Read more

balancing sql server tempdb

How to Configure SQL Server tempdb?

How many tempdb data files should a SQL Server have? And where should they live? What about their growth settings? Should it be by percent? Or, should they grow by a certain size each time? Are there other tempdb configuration settings I should be concerned with? In short: how should I configure my SQL Server…
Read more

sqldatabaseownership

Error Msg 15138 The Database Principal Owns a Schema in the Database, and Cannot be Dropped

You’re cleaning up some old usernames in a database. The users are no longer needed so you want to drop them and maybe even the server login. You issue the standard DROP USER username; command in the query editor and it immediately comes back with Msg 15138, Level 16, State 1, Line 1 The database…
Read more

sql server reporting services report

What SSRS Reports Does a User Subscribe to?

If your company uses SQL Server Reporting Services as part of it reporting infrastructure, you’ve probably been asked “What SSRS reports does this user subscribe to?” Often that’s due to a job or role change in the company. Sally is leaving the department and Jonathan is taking over her responsibilities. All of Sally’s reports now…
Read more

SQL Server disk IO traffic jam

Identifying SQL Server Disk Latency

When SQL Server is not as fast as users think it ought to be, how can you tell where the slowdown is? Where’s the performance bottleneck? Where’s the traffic jam? Is it waiting on CPU? Does it needs memory? What about the disks? Could SQL Server be slow because of disk latency? Could be. But…
Read more