Tag: Database

a new day for your sql server envirionment

The Dawn of a New Year for Your SQL Server Environment

Here we are at the dawn of a new year. It’s a great time to pause and reflect on your personal and professional goals. How did you do in 2021? If you’re responsible for SQL Server environment, you probably included goals for the SQL Servers. Maybe you wanted to increase performance? Or, maybe you set…
Read more

snapshot your database

Using VM Snapshots to Backup SQL Server?

“Oh, we use VM snapshots to backup our SQL Servers.” We sometimes hear this when talking with companies, especially when we’re delivering a SQL Server Health Check Assessment. And why not? It makes sense. Companies take snapshots of their file servers. They snapshot of their web servers before upgrades. FTP servers, Citrix servers, and even…
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

SQL Server host folder

How to Use a Docker Host Folder for a SQL Server Database

In Getting Started with SQL Server in a Docker Container, I shared my SQL Server Docker container configuration. I described how to copy database backup files from your host to the container and then restore them in the container. That’s my usual approach. But what if you wanted the database to reside on the host…
Read more

SQL Server docker container

Getting Started with SQL Server in a Docker Container

You’ve probably heard of running SQL Server in a Docker container. The technology has been around for some years now. However it’s still unexplored territory for many. A SQL Server Docker container image is a lightweight and standalone package that includes everything needed to run SQL Server. It’s often used in DevOps as part of…
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

Empty DBA Office

Working Without A SQL Server DBA? Do These 10 Things Now

Have you seen the job boards recently? Hiring an experienced full-time DBA is expensive. And many companies simply cannot justify that kind of spend for a full time DBA, especially if they have fewer than a couple of dozen instances of SQL Servers in production. The result? Many companies are working without a SQL Server…
Read more

Hardening your SQL Server

Auditing Data Access in SQL Server, a Free Webinar

Hardening and protecting your SQL Server environment is not a one-and-done task. It’s a continuous process. Things change. New Applications are added. Logins come and go. Servers are migrated. In such a dynamic environment, auditing data access in your SQL Server environment is critical. If you are responsible for SQL Servers, you likely ask: Who…
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 sysadmin has the keys to the kingdom

Who Has sysadmin Access to your SQL Servers?

Phishing attacks account for more than 80% of all security incidents according to this CSO article Top cybersecurity facts, figures and statistics. And the resulting data breaches cost an average of $3.92 million. With security incidents and data breaches making the news daily, it’s important to secure your networks, including your SQL Servers. That’s not…
Read more