
Database servers Sized from your working set, not your disk size.
A database server is fastest when the data your queries touch most fits in memory and the rest sits on low-latency NVMe drives. We size memory from your working set, drives from your I/O and RAID from the failures you must survive, then match the cores to your licences.
By the KComputers Team. Last reviewed .
What to send us
- Engine and version: SQL Server, Oracle, PostgreSQL, MySQL
- Data size today and yearly growth
- Working set or cache hit rate, if measured
- Transactions or users at peak
- Licences you already own
Send what you have. We ask for the rest.
Four numbers size a database server.
Memory for the data in use, drives for the rest, RAID for failures, cores for the licence.
In plain words
A database server keeps the records your staff and customers use every day. It is fastest when the data used most fits in its memory, and safe when every drive has a partner that can take over, which is what RAID 10 and RAID 1 do. How much data you hold, how fast it grows and how many people use it at once set the size.
Measure the working set
The working set is the data your queries touch in a normal day: hot tables and their indexes. The database cache should hold it with headroom, so most reads never reach a drive.
cache = working set × 1.2
Add the rest of the memory
The operating system, the database engine's own needs and any other services come on top. Then round up to a balanced layout, with every memory channel filled evenly.
memory = cache + operating system and engine
Match drives to the I/O
Transactional systems make many small random reads and writes, and every commit waits on the log, so NVMe drives suit them. Analytics scans large ranges, where throughput and capacity matter more than latency.
Choose the RAID level
RAID 10 for busy data and logs, RAID 1 for boot drives and small log volumes, RAID 5 or 6 for read-mostly data and backups. RAID is not a backup.
Size cores to the licence
SQL Server and Oracle Database Enterprise Edition are licensed by processor core, so every extra core is paid for twice: in hardware and in licences. Size cores from measured CPU use, on fast processors.
Worked example: the 256 GB database server.
An example with assumed inputs, not a quotation or a customer case. Your data, growth and licences change the answer.
Inputs
- Database
- 800 GB today, growing 20 percent a year
- Plan for
- 3 years
- Working set
- About 12 percent of the data
- Workload
- Transactional, many small reads and writes
- Licensing
- Per core
The arithmetic
- Data in 3 years800 GB × 1.2 × 1.2 × 1.21,382 GB
- Working set12 percent of 1,382 GB166 GB
- Database cache with headroom166 GB × 1.2199 GB
- Plus operating system and engine199 GB + 32 GB231 GB
- Rounded to a balanced layout16 × 16 GB256 GB
- Data volume on RAID 104 × 1.6 TB NVMe ÷ 23.2 TB usable
- Log volume on RAID 12 × 800 GB NVMe ÷ 2800 GB usable
The 1.4 TB of data fills about 43 percent of the data volume in year three, leaving room for indexes, temporary space and a slower year.
1 × HPE ProLiant DL380 Gen12
2U database server, example build
- Processors
- 2 × 8-core Intel Xeon 6: 16 cores to license
- Memory
- 256 GB DDR5, 16 × 16 GB
- Data
- 4 × 1.6 TB mixed-use NVMe, RAID 10
- Logs
- 2 × 800 GB mixed-use NVMe, RAID 1
- Boot
- Mirrored boot drives
- Networking
- 2 × 25 GbE
- High availability
- A second, identical server for Always On or Data Guard
Where we start for database servers.
The example with its high-availability partner, and what each server family is for. Every configuration is checked against HPE's QuickSpecs before we quote it.
HPE ProLiant DL380 Gen12
The 2U default for database servers: two Intel Xeon 6 processors, plenty of memory slots and front NVMe bays for separate data and log volumes.
HPE ProLiant DL360 Gen12
Gen12 in 1U, for smaller databases or when the data sits on a SAN.
HPE ProLiant DL325 and DL345 Gen12
AMD EPYC 9005 servers with many cores per processor. Worth comparing when the database is licensed per socket, as Oracle Standard Edition 2 is.
Full specification on request: HPE ProLiant DL325 and DL345 Gen12
HPE ProLiant DL380 Gen11
To match database servers already on Gen11, so a replica or failover partner behaves like the primary.
HPE MSA storage
Shared storage for clustered databases, where two servers must reach the same volumes.
Upgrading a server you already run? See server memory and SSDs and hard drives.
RAID levels for databases, compared.
RAID keeps the database running through a failed drive. It does not undo a deleted table, so back up as well.
| How it works | Usable capacity | Drive failures survived | Write cost | Use it for | |
|---|---|---|---|---|---|
| RAID 1 | Two drives mirror each other | Half | 1 | 2 I/Os per write | Boot drives and transaction logs |
| RAID 5 | Data striped with one parity block | All but one drive | 1 | 4 I/Os per write | Read-heavy data on SSDs |
| RAID 6 | Data striped with two parity blocks | All but two drives | 2 | 6 I/Os per write | Large drives, backups and archives |
| RAID 10 | Mirrored pairs, striped together | Half | 1 per mirrored pair | 2 I/Os per write | Busy transactional data and logs |
Backups belong on separate hardware: see server backup solutions.
Questions buyers ask.
Is 256 GB of RAM enough for a database server?
It is when your working set, the operating system and the database engine fit with 20 percent or more to spare. Check the cache hit rate your database reports at peak: if reads still go to the drives with 256 GB, the working set is larger and more memory pays off.
NVMe or SAS SSDs for a database?
NVMe drives connect to the processors over PCIe, with lower latency and more parallel I/O than SAS or SATA. They are the stronger fit for transactional databases; SAS SSDs remain a sound choice for read-heavy or smaller systems.
Which RAID level should a database use?
RAID 10 for busy transactional data and logs, RAID 1 for boot drives and small log volumes, and RAID 5 or 6 for read-mostly data, archives and backups. Keep a hot spare, and back up: RAID does not undo a deleted table.
Do more cores make a database faster?
Only when queries run in parallel. Many transactional workloads gain more from faster cores and more memory, and per-core licences make every extra core expensive. We size cores to your measured CPU use.
Mixed-use or read-intensive SSDs?
Read-intensive SSDs are rated for fewer full-drive writes per day and cost less per terabyte; mixed-use drives take heavier writing. Transactional data and logs usually need mixed-use drives; reporting replicas and archives can use read-intensive ones.
Can you supply a matched pair for high availability?
Yes. We size and supply matched servers for SQL Server Always On, Oracle Data Guard or PostgreSQL replication, with the same processors, memory and drives in both, so either can carry the load.
Other workloads we size.
Or see all server solutions by workload: the same method, applied to your workload.
Virtualization
VMware vSphere and Proxmox VE hosts, clusters and shared storage.
Server backup
Backup servers and storage sized from your data, its daily change and how long you keep it.
ERP, SAP and Tally
Servers for TallyPrime, SAP and ERP, built around redundancy and backup.
AI and machine learning
GPU servers for inference, fine-tuning and training.
Learn the decision
- How much RAM does a server need?Foundation guide in Memory and processors
- SAS vs SATA vs NVMe: which drives does your server need?Foundation guide in Storage and RAID
- RAID 5 vs RAID 10: which to use on a serverPractitioner guide in Storage and RAID
Or start at the beginning: the server buying guide.
Industries that run this workload
See all industries: each maps its workloads to servers.
Tell us about your database.
A server specialist replies with a memory, drive and RAID plan and a formal quotation. We reply within one business day.
Prefer to choose the parts yourself? Configure a server and send us the summary.
How we work, and what you can check
-
Engineer-checked configurations
Every configuration is checked by an engineer against the manufacturer's specifications before it is quoted.
-
Formal quotations
Every order starts with a formal quotation listing manufacturer part numbers, GST and HSN codes.
-
Delivery across India
We deliver anywhere in India.
-
On site across India
Our engineers work on site across India.