07/16/2026
by Marlon Ribunal
0 comments

Do This Before You Contact Your SQL Server Consultant

Say you need outside help. You’ve exhausted all the things that you could do and, still, nothing works. So, you decide that calling in for help is the next sensible thing to do. Let’s say this is the first time you’re asking for somebody’s help. You decide which consultant to work with. The hardest part, if you’re doing this for the first time, is how to start that conversation.

The first conversation is the most critical one. Obviously, you cannot just turn over your SQL Server instance and wait for the bill. Some prep changes what you get out of that first conversation. It means spending less time covering the basics and more time focusing on the problem that made you pick up the phone in the first place.

Here’s what’s worth having ready before you make the call.

(And, not incidentally, if you are a new SQL Server DBA hire, you can use the following to get a baseline understanding of the environment you’re now facing.)

Determine what’s wrong with your server

Here’s the thing. Your consultant is a highly technical person, but you don’t always have to speak in technical terms. Explain the pain points from the users’ perspective. Is the UI slow? Are users experiencing timeout issues? Is a button not responding in a timely manner? Look at the problem through the users’ eyes and understand their pain.

An important thing to take note of is what feels slow or broken. Is it specific like a report? A batch job that has been failing to meet the SLA? Is it the whole application? Ingestion pipeline failing to finish at all?

Another important thing to take note of is the timeline. When did this start happening? Is it after a vendor update? Is it after releasing a new ingestion tool? After a SQL patch? After a migration? After a new hire?

Also, I’d add who is feeling the pain and who is affected the most. Maybe it’s one or two people in the Accounting department. Maybe it’s the CFO trying to run a quarterly report. Or perhaps it’s your customers or partners who rely on access to your data outside your company.

That gives the consultant some context to work with.

You know your business better than any consultant walking through the door. That context is where a good diagnosis starts.

Understand your data landscape

You don’t have to know every nook and cranny of your SQL Server environment, whether it’s running on-prem or in the cloud. But you should have a baseline understanding of how things are put together.

Things like SQL Server versions and editions, if you know them, can provide useful information about your environment. Have an approximate idea of how many servers are affected, or maybe the percentage compared to the total number of servers. Is the issue only happening on your on-prem servers, or are your cloud instances affected as well?

Those are a few important things for the consultant to know as a starting point.

One thing worth checking first

If you check nothing else, check this: do your backups actually work? Or do you even have the right backup strategy in place?

If you don’t have RPO and RTO defined (or worse, don’t know what those mean), put that at the top of your discussion list with your consultant. This is one of the most important things you need to get right.

Not “is the backup job running?” That’s not the question. The real question is whether you have ever restored a backup and confirmed that it actually works.

A backup that has never been tested is just a hope, not a safety net.

Okay, somebody said that before. I’m just borrowing it here because it perfectly describes why testing your backups matters. 😉

If you’re not sure, that’s okay. That’s exactly the kind of thing you want to identify early. And honestly, it’s one of the first things I would want to understand as well.

Sort out access and ownership

Well, how can the consultant help if they don’t have the access level needed to do the work or accomplish what you brought them in to do?

Nothing slows down a first week like waiting on permissions. Before you bring anyone in, it helps to know who owns the SQL Server environment today (sa is the wrong answer). Who can grant the access they need? Does it require a chain of approvals from higher-ups? Or is it an open-for-all kind of thing? The consultant needs to know if it’s the latter.

If you’re on a tight schedule or everything is already on fire, you don’t want to delay troubleshooting and resolution just because of access issues.

If you’re technical, go deeper maybe

If you or someone on your team is hands-on, here’s the bigger picture a DBA would typically look at. None of this is required. It is just useful information to have if you can pull it together.

Hopefully, Query Store is enabled. And if you’re lucky, it has enough history captured that you can correlate the data with the actual issues you’re seeing.

Disk latency, specifically read/write latency, is another useful piece of information if you have it. Ideally, if you have results from CrystalDiskInfo or a similar disk benchmark, that can give the consultant an idea of what they’re dealing with when it comes to storage performance. Maybe storage is part of the problem.

Is TempDB configured according to known best practices? Is Instant File Initialization enabled? What about Lock Pages in Memory? How are MAXDOP and Cost Threshold for Parallelism configured?

What does the disk subsystem look like? Where are your data and log files stored? Are your system databases sitting on the OS drive? How much memory is allocated to SQL Server?

These are the kinds of details that can help a SQL Server consultant understand the environment before they start troubleshooting.

You may also want to run tools like Brent Ozar’s sp_Blitz or Glenn Berry’s SQL Server Diagnostic Queries. If those don’t mean anything to you, that’s okay. These are just examples of tools that can provide useful information to a SQL Server consultant.

Just be prepared

The best thing to remember is this: be prepared.

The better prepared you are, the less time is spent having someone learn your environment, and the sooner you can get to the actual problem.

Whether you work with an outside consultant or someone from your own team, walking in with your symptoms, your environment details, and the information you already have gives everyone a much better place to start.

07/13/2026
by Marlon Ribunal
0 comments

Deploy a SQL Server 2025 Container on macOS Using OrbStack

My old Dell XPS that I used for personal stuff started to degrade; well, it’s old, and it has already served past its useful life. So, a few months ago I bought a 14-inch Macbook Pro M5 Pro with 24GB of memory and the standard for M5 Pro 15-core CPU. It’s not my ideal config and I would have opted for the M5 Max. This machine is quite decent for what I need and I am not complaining.

Switching from Windows to Mac has been a challenge, to say the least. This is my first time using macOS as my primary operating system. Suffice it to say, it hasn’t been easy. There’s that.

And, SSMS is not supported in this platform, and Microsoft said that SSMS in Mac is “out of scope” and it will never ever be supported. Period. So, if I were to use this Macbook as my primary learning sandbox, I have no choice but to make it work. My macOS version as of this writing is Tahoe 26.5.1.

For my Mac SQL Server sandbox, I used OrbStack instead of Docker Desktop. I used Docker in my old sandbox on my Dell XPS. Why OrbStack? Simply because it’s the more efficient option on a Mac. First, it’s a native macOS app. The biggest factor is how these two allocate memory. OrbStack’s memory management is dynamic, meaning it doesn’t hold onto memory that it isn’t using. Although Docker has introduced improvements to memory management, such as Resource Saver and other optimizations, OrbStack is still better in that regard. Compared to Docker, OrbStack has low power usage, low memory usage, and a bunch of other advantages.

The usual Docker commands work as-is in OrbStack, so there’s no need to learn new commands or build new scripts if you already have them. Of course, caveats would include Docker Extensions and other features native to Docker.

Install OrbStack

The easiest way to install OrbStack on a Mac is via the package manager Home Brew. My preferred terminal is iTerm2.

Zsh
brew install --cask orbstack

And that’s pretty much it. Next is the container. Run OrbStack if it isn’t already running.

IMPORTANT: Enable Rosetta / Update Rosetta 2

Zsh
orb config set rosetta true

My SQL Server 2025 container keeps getting stuck at the initialization process. Enabling Rosetta fixed the issue.

Pull and Run the Container

As I said, you don’t have to use any new commands to pull the image and run the SQL Server 2025 container. Commands such as docker pull/run and docker compose should run fine out of the box in OrbStack.

Zsh
docker pull mcr.microsoft.com/mssql/server:2025-latest

Then simply run the container. Just a note, if you are using the default command interpreter Z Shell (szh) in iTerm2, get rid of the double quotes and run the following instead:

Zsh
docker run -e ACCEPT_EULA=Y -e MSSQL_SA_PASSWORD='password_here' -p 1433:1433 --name sql2025 --hostname sql2025 -d mcr.microsoft.com/mssql/server:2025-latest

You might get a warning that says “The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested <container_id>.

This simply is saying you’re on the ARM64 architecture of the Apple Silicon and the Linux SQL Server container provided by Microsoft is on the AMD64 architecture (no native ARM64 image).

The container should be fine even with that warning. But if you’re bothered by it, just rebuild the container with explicit Linux/amd64. Just stop and delete the existing container and add the --platform flag in the Docker command.

Zsh
docker stop sql2025
Zsh
docker rm sql2025
Zsh
docker run --platform linux/amd64 -e ACCEPT_EULA=Y -e MSSQL_SA_PASSWORD='password_here' -p 1433:1433 --name sql2025 --hostname sql2025 -d mcr.microsoft.com/mssql/server:2025-latest



The warning should now be gone.

VS Code with mssql Extenstion

Install VC Code on your Mac via Home Brew if you haven’t done so.

Zsh
brew install --cask visual-studio-code




Then, Open your VS Code and install the SQL Server (mssql) extension. The extension version as of this writing is v1.43.0.

Create new connection:

Then, that’s it!

Press + + P, and select MS SQL: Open New Query and Connect.

In the editor, check the master_files just to see if the database is queryable 🙂

SQL
select * from sys.master_files ;

Troubleshooting Stuck SQL Server 2025 Container

Just a quick check to see if you can connect to the SQL Server from your Mac

Zsh
nc -vz localhost 1433

If port exposure looked fine, but still failing connection from VS Code, then something else might be causing the error. I was getting the following error from VS Code.

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 – An internal exception was caught)

I checked my container stats, and one thing I noticed immediately is that the CPU is hitting the max of 100% usage.

Zsh
docker stats sql2025


Upon futher digging, I found that emulation path getting stuck during SQL Server initialization. Check if enabling Rosetta on fixes the issue.

We’ll restore a SQL Server 2025 database in the next post.

Reflection on the life of a DBA

07/06/2026
by Marlon Ribunal
6 Comments

Reflections on the Life of a DBA

Nota Bene: Not written by AI. I have written this from the heart…for those who are willing to listen. – Marlon

I was in Sequoia National Forest with my family over the holiday weekend (our Independence Day here in the US). Hiking in national forests within driving distance of home has been one of our ways of unplugging whenever we get a chance. I had some time to reflect on my career.

I saw how the forest adapts to changes. I saw small trees budding from seeds scattered all over the ground. These will soon become part of the whole forest ecosystem. But forest fire brings the painful changes.

Charred snags and charred tree wounds bear witness to the pain brought about by the blaze. What is most interesting to me is that no matter how many times the flame engulfs the forest , it always finds the reason to sprout a new life. There is this process called Phoenix Regeneration where the fallen or burned trees go through a transformation.

Sometimes you wonder how human life intertwines with nature. There is that life-death cycle…the comfort, the pain…they both are part of that cycle.

Like the forest, human is more than capable of surviving any bad events. That incredible resilience is part of our human nature. Just like the trees, it is within our nature to effect a Phoenix Regeneration (although that is metaphorical when it comes to us humans).

Same goes to our career. It goes through that similar cycle. The ups and downs. Jobs come and go. The pain and the comfort is part of that cycle.

And this is what brought me here to these reflections.

The DBA life is fraught with pain. Those battles that we endure are mostly invisible to many. Those countless sleepness nights are a testament to our dedication. Whether that is a server that went down because of a bad patch or a server that refused to get back online after a configuration change, we are always there to save the day (or night). And it doesn’t matter if we’re in the middle of a special celebration of a loved one, or a well-deserved rest day. We rise to the occassion.

And I couldn’t forget that cold January evening. I was at a black-tie party. My phone was exploding with Splunk On-Call alerts and Teams messages. An important SQL Server went down. I never leave the house without my work laptop. I can probably forget my wallet at home, but never my laptop.

Pulling my laptop onto the dining table would have been awkward or outright disrespectful at best. The only place for me then was that busy kitchen, teeming with relentless chaos. Imagine that guy in black suit with his laptop. I found a corner where I dealt with the issue with poise but with a sense of urgency. The mission was clear. I was to deliver without reservation or excuses.

The pain is part of it. The weekends. The holidays. Or, worse, the Birthdays. You sacrifice them all for the love of fixing things that are broken. And this was something I chose. Nothing was forced on me. I chose this not only as a job, but more so as a calling. No one forced me to be here. I fulfill this duty with the understanding that it is a noble mission.

The cycle of pain and comfort is deeply ingrained in the life of a DBA. You are called to it. You choose that life, and it chooses you. Comfort comes in the form of appreciation. A simple “Marlon, thanks. That helped.” goes a long way.

I find joy in helping people understand why things happen and how to address them, so the next time they can do it themselves. I am one who never gatekeeps what they know. I owe what I know to those whom I follow. I have no right to withhold or not share the knowledge that I have learned from other people. “Thank you, Marlon, for sharing that with me” is more important to me than “Thanks, Marlon, for fixing that for me“.

Blood. Sweat. And Tears. Not a complaint. Not an excuse. But an act of pure love. And I never regretted a single thing.

Would I do it again? I will do it again. And over again. And again. Yes, I will do it over and over again.

Here I am charred, wounded. But I’d do it again in a heartbeat. Over. Again. Despite the pain. Not a doubt.

It’s all worth it. And I find comfort in the fact that deep in my heart I know…

I GAVE IT MY ALL.

6 responses to “Reflections on the Life of a DBA”

  1. Scott Moon Avatar
    Scott Moon

    I am 57 and started my DBA journey in 1999 ant the age of 30. Married for 7 years with a 5 year old son and 3 year old daughter. I missed out on so much thinking that the company and the databases needed me more than my family or life did. I missed out on my son’s first homerun and was late to school functions. I slept in late on Saturday’s and missed my daughter’s soccer goals. All because I was too tired from working late.

    In 2008 my wife gave me a choice to make. Family or the job and I thank God everyday I made the right choice. Three years later the company felt that a son of a friend of the owner would make a better DBA and after 12 years of many hours, undying loyalty, 2% raises, and being told of how much of a family we were I was let go mid week with only unpaid PTO.

    The company I landed at allowed me to watch my son play high school football all four years, home and away, and any practices I wanted to. Never missed a soccer game and coached many years. Didn’t sleep in on Saturday unless I stayed up late on Friday date night. Took vacations out of state and for weeks. I even take work vacations where I work during the day and explore at night/weekends.

    Would I do it again and give it my all? NOPE! Not a chance in hell. I would not work myself so hard that I would feel compelled to leave a black tie party to work on a stupid SQL server, you don’t have someone to take care of it? That sounds like bad planning or maybe a trust issue?

    Don’t let it be said at your funeral that you were such a hard and dedicated worker, irreplaceable. Let it be said you are a friend that will never be replaced and will always be missed and that tears and laughter when memories are shed when your family remembers the times you all shared.

    This job is nothing. Someone will take our place when we are done. Family and friendships are the only things that matter. Memories not MAXDOP. Listen to an old man who thought being a DBA was the best thing ever who almost lost everything to gain nothing.

    1. Marlon Ribunal Avatar

      Thank you for sharing your story.

  2. Margaret Norkett Avatar
    Margaret Norkett

    Thank you Marlon for being one of the ones I’ve learned from through the years. I’ve probably passed along some of your wisdom to others, but forgot to mention from whom I got said wisdom and for that, I apologize. SQL Server community as a whole has been more than generous with time, knowledge and support of newcomers and is the biggest reason I stayed when I stumbled in as one of those “accidental DBAs” so very many years ago now.

    1. Marlon Ribunal Avatar

      We learn from one another. We’re standing on the shoulders of the giants.

  3. Andrea Gnemmi Avatar
    Andrea Gnemmi

    Totally agree with what you wrote, as a fellow DBA I can relate to all you feelings, and yes I would do it again too!
    Thanks for this beautiful blog post!

    1. Marlon Ribunal Avatar

      Thank you for the support. I’ll try to write off-tangent posts from time to time.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.