SQL Server Tips

Stop Running Other Applications on Your SQL Server

Updated
6 min read
Written by
Mark Varnas
Reviewed by
Saulius Baskevicius
TLDR: One of the most expensive SQL Server performance mistakes has nothing to do with queries or indexes. It's running SQL Server alongside other applications on the same machine. Every co-located process competes for CPU, memory, and I/O. The fix isn't more hardware. It's giving SQL Server a dedicated environment.

The Problem

CTOs and CIOs regularly overspend on SQL Server resources by 2–3x. More CPU, more RAM, bigger storage, Enterprise Edition licenses when Standard would do. The assumption is that SQL Server needs more power.

More often, SQL Server isn’t getting the power it already has.

When SQL Server shares a machine with IIS, application services, backup agents, monitoring tools, or — in the worst cases we’ve seen — Exchange Server, those processes consume resources SQL Server needs. The result:

  • Unpredictable performance. Query response times that swing based on what else is running.
  • Resource contention. CPU spikes that don’t correlate with the database workload.
  • Memory pressure. SQL Server wants all available RAM for its buffer pool. Other apps force the OS to page, and everything degrades.
  • Troubleshooting nightmares. Is it SQL Server? The web server? The backup agent? Good luck at 2 AM.

The Licensing Angle

SQL Server is licensed per core. If cores licensed for SQL Server are regularly consumed by non-database workloads, you’re effectively paying SQL Server licensing costs for work that isn’t database-related.

Enterprise Edition licensing can run into tens of thousands of dollars per two-core pack, depending on your agreement. Standard is roughly a quarter of that and handles the majority of workloads we encounter. The licensing waste on a shared box often dwarfs the cost of a second server.

Why This Keeps Happening

Budget consolidation. “Can we put these on one box?” Per-server cost goes down. Total cost of ownership goes up through performance issues, licensing waste, and incident response — but that shows up in different budget lines.

“It’s just a small app.” Every co-located application starts small. Then it grows, gets a scheduled task, develops a memory leak, and SQL Server performance degrades with no obvious cause.

Lack of technical authority. The people who know this is wrong don’t always have the organizational power to stop it. The people who approve the consolidation aren’t the ones getting the 2 AM call when it breaks.

Virtualization complacency. “It’s a VM, so it’s isolated.” Not if the hypervisor host is overcommitted. You’ve just moved the noisy neighbor problem one layer down. Proper resource reservation at the hypervisor level matters.

What Belongs on a SQL Server

Yes: SQL Server Database Engine, SQL Server Agent, full-text search, SSMS for emergency local access.

No: IIS, application services, RDS, backup agents, monitoring agents, development tools, Exchange, any other database engine.

Edge cases:

  • SSIS. Included with SQL Server licensing when installed on the same licensed server. Separate install requires its own license. Heavy ETL workloads do compete for resources, but the licensing math often wins.
  • SSRS / SSAS. Better on separate servers for non-trivial workloads. Small deployments sometimes co-locate for licensing.
  • Hyper-chatty applications. If an application makes thousands of tiny, rapid-fire database calls, shared-memory on the same box can outperform network communication. Rare, but test before dismissing.

Cloud Doesn’t Solve This Automatically

Moving to an Azure VM or EC2 instance eliminates co-located applications but introduces different contention. You’re sharing physical hardware with other tenants. Storage can be throttled. CPU can vary. This is the cloud “noisy neighbor” problem — harder to detect, impossible to resolve directly.

The principle is the same regardless of platform: SQL Server performs best with predictable, dedicated access to CPU, memory, and storage.

Once SQL Server is dedicated, sysadmins often panic at high memory usage. SQL Server using 80–90% of RAM on a properly configured dedicated box is normal — it’s caching data in memory to avoid disk reads. That’s the feature working.

Set max server memory to leave appropriate headroom for the OS and supporting services (commonly 4–8 GB on smaller systems, proportionally more on larger servers). Let SQL Server use the rest. This only works cleanly when SQL Server is alone on the box.

Business Logic and Resource Consumption

Some environments push all business logic — sorting, paging, aggregation, transformation — into stored procedures. SQL Server becomes the compute engine for the entire application, not just the data store. Tempdb fills up, memory pressure climbs, CPU stays pegged.

Whether business logic belongs in the database or the application layer depends on the workload. But the architectural choice directly affects how many resources SQL Server needs — and if it’s doing double duty as both data store and application server, it definitely shouldn’t be sharing a box with anything else.

How to Fix It

Clean approach: Migrate SQL Server to a new, dedicated server. Best when the current server has accumulated years of unnecessary software and questionable configurations. Start fresh.

Eviction approach: Remove everything that doesn’t belong. Less disruptive, but requires confidence that the current server configuration is clean underneath.

Either way: SQL Server gets dedicated resources, monitoring becomes straightforward, and the next performance problem has one less variable.

Bottom Line

Before you approve the next CPU upgrade or Enterprise Edition license, ask a simpler question: what else is running on that box?

The answer might save you more than the upgrade would have.

Speak with a SQL Expert

In just 30 minutes, we will show you how we can eliminate your SQL Server headaches and provide 
operational peace of mind

Article by
Mark Varnas
Founder | CEO | SQL Veteran
Hey, I'm Mark, one of the guys behind Red9. I make a living performance tuning SQL Servers and making them more stable.

Discover More

SQL Server Health Check SQL Server Migrations & Upgrades SQL Server Performance Tuning SQL Server Security SQL Server Tips

Discover what clients are saying about Red9

Red9 has incredible expertise both in SQL migration and performance tuning.

The biggest benefit has been performance gains and tuning associated with migrating to AWS and a newer version of SQL Server with Always On clustering. Red9 was integral to this process. The deep knowledge of MSSQL and combined experience of Red9 have been a huge asset during a difficult migration. Red9 found inefficient indexes and performance bottlenecks that improved latency by over 400%.

Rich Staats 5 stars
Rich Staats
Cloud Engineer
MetalToad

Always willing to go an extra mile

Working with Red9 DBAs has been a pleasure. They are great team players and have an expert knowledge of SQL Server database administration. And are always willing to go the extra mile to get the project done.
5 stars
Evelyn A.
Sr. Database Administrator

Boosts server health and efficiency for enhanced customer satisfaction

Since adding Red9 to the reporting and DataWarehousing team, Red9 has done a good job coming up to speed on our environments and helping ensure we continue to meet our customer's needs. Red9 has taken ownership of our servers ensuring they remain healthy by monitoring and tuning inefficient queries.
5 stars
Andrew F.
Datawarehousing Manager
See more testimonials