Welcome to Section 5. Up to now, you have been learning how databases behave and how DBAs write safe SQL.
Now you will build the foundation every DBA relies on: a properly sized, repeatable environment.
Most performance problems are not caused by “bad SQL” alone. They are often caused by mismatched resources:
not enough memory, slow storage for the workload, CPU bottlenecks from poor configuration,
or a system that was never sized with reality in mind.
Lesson description: You will learn the practical sizing basics DBAs use when planning or reviewing a SQL Server environment.
You will understand how CPU affects concurrency and query execution, how memory supports caching and prevents expensive disk reads,
and how storage tiers (latency and IOPS) influence every database operation. You will also learn the DBA approach to capacity planning:
establish a baseline, identify the workload pattern, size for peaks, and build headroom so the system stays stable over time.
Sizing is not guessing. Sizing is risk management.
Your goal is to design an environment where:
DBA rule: Size for your workload, not for a generic “recommended minimum.”
CPU is the compute engine that executes query operators (joins, sorts, aggregations),
compiles and optimizes plans, handles encryption/compression overhead,
and supports concurrency for many sessions at once.
DBA caution: In virtualization, “more vCPUs” is not always better. Over-allocating CPU can increase scheduling delays.
Your host must have enough physical CPU resources to support the VM.
Memory (RAM) is where SQL Server caches data pages and plan information.
The more useful data SQL Server keeps in memory, the less it must read from disk.
Disk reads are slow compared to memory.
DBA rule: Always reserve memory for the OS and other services.
Later in the course you will learn how to set SQL Server max memory properly.
Storage is where your database files live:
data files (.mdf/.ndf), log files (.ldf), and tempdb.
Storage performance impacts everything because SQL Server ultimately reads and writes pages and log records.
Many workloads are limited by random I/O. A single slow storage layer can make the entire system feel “slow”
even if CPU and memory are healthy.
In professional environments, DBAs commonly separate these I/O patterns:
You will configure file locations later in this section, but for sizing purposes:
this is why storage design matters.
DBAs do not size for “exactly today.” They size with headroom:
DBA rule: A server that runs at 90–100% capacity during normal business hours is not “fine.”
It is already in a risk state.
Answer these in your notes (this trains you to think like a DBA):
Next, you will learn how DBAs build lab environments using virtualization,
how to choose the right platform, and how to avoid common VM mistakes that cause slow and unstable labs.
Not a member yet? Register now
Are you a member? Login now