Databases are usually the first component to need dedicated hardware: they benefit enormously from memory, suffer when storage is slow, and are sensitive to noisy neighbours. A dedicated server gives a growing application's database room to breathe. This guide covers sizing, tuning, resilience and security for MySQL, MariaDB and PostgreSQL on dedicated hardware.
When to Move the Database to Dedicated Hardware
- The buffer pool hit ratio drops and disk reads rise because the working set exceeds RAM.
- CPU is saturated by concurrent queries even after indexing.
- Latency spikes correlate with other workloads on the same host.
- You want to separate the database from web servers for security and scaling.
Before moving, fix slow queries and missing indexes; hardware cannot compensate for a full table scan on every request. Our tuning guide covers the basics.
Memory Sizing
| Database | Main memory setting | Starting point on a dedicated 128 GB server |
|---|---|---|
| MySQL / MariaDB (InnoDB) | innodb_buffer_pool_size | 70–80% of RAM if the server runs only the database |
| PostgreSQL | shared_buffers plus OS page cache | About 25% for shared_buffers, with effective_cache_size reflecting most of RAM |
Leave memory for connections, sorts and the operating system. Use connection pooling (ProxySQL or PgBouncer) instead of thousands of direct connections.
NVMe Storage and Durability
NVMe drives deliver the low latency databases need for writes, redo logs and random reads. Keep durability settings safe for production (for example, flushing the log at each commit) unless you understand and accept the data-loss trade-off. Place data, logs and temporary files sensibly, monitor disk usage, and archive or purge old data before the drive fills.
Why ECC Memory Matters
Error-correcting memory detects and corrects single-bit memory errors that could otherwise silently corrupt data in memory. For databases holding business records, ECC RAM is an important integrity safeguard; both SkyRainCloud dedicated configurations use DDR4 ECC.
CPU and NUMA
More cores help many concurrent queries and parallel query execution. On the dual-socket Xeon E5-2699 v4 server, memory is split across two NUMA nodes; settings such as interleaved memory allocation can avoid imbalance for large buffer pools. The single-socket EPYC 7C13 simplifies this. See our EPYC vs Xeon guide.
Replication and Failover
A single database server is a single point of failure. Run a replica on another server or VPS:
- MySQL/MariaDB: asynchronous or semi-synchronous replication, GTID-based for easier failover.
- PostgreSQL: streaming replication with a hot standby.
- Use replicas for read scaling, reporting and backups without loading the primary.
- Document and rehearse failover, and consider tools that automate it carefully.
Backups and Point-in-Time Recovery
Take regular physical backups (for example with Percona XtraBackup, Mariabackup or pgBackRest) plus binary or WAL logs for point-in-time recovery, so you can restore to just before an accidental deletion. Encrypt backups, store them off-server, and test restores on a schedule. Logical dumps remain useful for portability and smaller databases.
Monitoring
Track queries per second, slow queries, buffer pool hit ratio, replication lag, connections, locks, disk latency and free space. Tools such as Prometheus exporters with Grafana dashboards work well (see our monitoring guide). Alert on replication lag and disk usage before they become outages.
Security
- Bind the database to a private interface and allow connections only from application servers, ideally over a private network or VPN.
- Require TLS for remote connections.
- Use separate accounts with least privilege for each application.
- Patch database software promptly and remove unused accounts.
Choosing a Configuration
Both SkyRainCloud dedicated servers have 128 GB ECC RAM and 1 TB NVMe. Choose the dual Xeon Platinum 8269CY for highly concurrent or parallel analytical workloads, and dual Xeon E5-2699 v4 for a lower-cost transactional database with strong per-core clocks. For smaller databases, an EPYC VPS with dedicated vCores may be enough (see our PostgreSQL and MySQL guides).
Example: An E-commerce Platform
An e-commerce platform moved its 300 GB MariaDB database from a VPS to an EPYC dedicated server with a 96 GB buffer pool. Read-heavy reporting moved to a replica on a 16 GB VPS, which also takes nightly physical backups shipped to object storage along with binary logs. Checkout latency dropped and reports no longer slow the store.
Common Mistakes
- Upgrading hardware instead of fixing queries and indexes.
- Leaving default memory settings on a 128 GB server.
- No replica and no tested restore procedure.
- Exposing the database port to the internet.
- Letting the disk fill with old logs and data.
In Short
Move databases to dedicated hardware when memory, CPU or isolation limits remain after tuning; size memory settings deliberately, keep durability safe on NVMe, use ECC RAM, replicate, back up with point-in-time recovery, monitor and keep the database private.
Migrating a Live Database
To move a production database with minimal downtime, restore a recent physical backup on the new server, configure it as a replica of the current primary, and let it catch up. When replication lag is near zero, briefly stop writes, confirm the replica is fully caught up, promote it, and point applications at the new server. Keep the old primary available for a few days as a fallback, and test the application thoroughly before decommissioning it. A dedicated server is a long-lived investment in your infrastructure, so document its configuration, keep its software current and review its capacity every quarter against how your workloads are actually growing. If you are unsure which configuration or setup fits, describe your workload to SkyRainCloud support before ordering; a short conversation about cores, memory and storage often saves a costly change later.
SkyRainCloud Plans for This Workload
A dedicated server with 128 GB DDR4 ECC RAM and NVMe holds large working sets in memory; ECC memory protects data integrity. Pair it with a replica VPS for failover and backups.
Dedicated Server India
Unshared Intel Xeon bare-metal servers in Mumbai and Delhi with 1 Gbps connectivity.
| Plan | Cores / Threads | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| 2× Intel Xeon E5-2699 v4 (Mumbai / Delhi) | 44 / 88 (2.2 GHz base, 3.6 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹17,999/month | Business websites, stores, databases, ERP and many client sites | Order |
| 2× Intel Xeon Platinum 8269CY (Mumbai / Delhi) | 52 / 104 (2.5 GHz base, 3.8 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹19,999/month | Virtualization hosts, large databases, SaaS and container platforms | Order |
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.