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.

  1. 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

  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

  3. 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.

  4. 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.

  5. 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

  1. Data in 3 years800 GB × 1.2 × 1.2 × 1.21,382 GB
  2. Working set12 percent of 1,382 GB166 GB
  3. Database cache with headroom166 GB × 1.2199 GB
  4. Plus operating system and engine199 GB + 32 GB231 GB
  5. Rounded to a balanced layout16 × 16 GB256 GB
  6. Data volume on RAID 104 × 1.6 TB NVMe ÷ 23.2 TB usable
  7. 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
PriceOn request

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.

A 12U rack holding the example database server and an identical replica in the lowest units, blanking panels above them, a cable manager and a network switch at the top12111098765432125 GbE switch1U, U12Cable manager1U, U11Blanking panels6U, U10–5Replica, samebuild2U, U4–3Primary database2U, U2–1
Reference architecture: the example server and an identical replica for SQL Server Always On, Oracle Data Guard or PostgreSQL replication, so either can carry the load.Drawn to scale: 19-inch rack, 1U = 44.45 mm.

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 worksUsable capacityDrive failures survivedWrite costUse it for
RAID 1Two drives mirror each otherHalf12 I/Os per writeBoot drives and transaction logs
RAID 5Data striped with one parity blockAll but one drive14 I/Os per writeRead-heavy data on SSDs
RAID 6Data striped with two parity blocksAll but two drives26 I/Os per writeLarge drives, backups and archives
RAID 10Mirrored pairs, striped togetherHalf1 per mirrored pair2 I/Os per writeBusy 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.

Learn the decision

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.

Your details

We send the quotation to this address.

We may call to confirm your request. Include the country code if you are outside India.

Your requirement

Part numbers with quantities get the fastest quote, one per line. A model or the workload works too.

A server specialist replies by email with a formal quotation: manufacturer part numbers, GST and HSN codes. We reply within one business day.

K Computers uses these details to answer this request, prepare any quotation and keep the records the law requires. Read the privacy policy (opens in a new tab).