When your VPS writes data to its disk, the disk cache mode determines when the write operation is considered complete. For most applications, Standard is the best choice. For databases with many small transactions, Database-optimized can be faster.
You can change the mode yourself in your ZapX dashboard at no extra charge, and switch back at any time.
- The fastest mode for normal read and write operations and large amounts of data.
- Suitable for web servers, game servers, files, backups, and most applications.
- Data that your system or database explicitly flushes (e.g., with
fsync) is also stored permanently in this mode before confirmation is returned.
We automatically choose the right technical setting based on your VPS storage: no additional cache on local NVMe disks, and a write cache on our Ceph storage that respects your system's flush commands.
- Each individual write operation is stored permanently before your system receives confirmation.
- Faster for databases that flush after every transaction, such as MySQL, MariaDB, PostgreSQL, or SQLite.
- Slower when handling large amounts of data, such as copying large files or creating backups.
Rarely useful on Ceph storage If your VPS is on our Ceph storage, Database-optimized significantly reduces normal write performance, while databases get little to no speed improvement. In this case, stick with Standard. Our support team or the AI assistant in your dashboard can tell you whether your VPS is on Ceph or local NVMe disks.
How can I tell if this mode is worth using? If your VPS mainly runs a database that writes many small changes (such as a shop, forum, or game server database with many players), and saving data takes a noticeable amount of time, try Database-optimized. If anything runs slower afterward, simply switch back to Standard.
- Open your VPS in your ZapX dashboard and go to the Settings tab.
- Select the mode you want in the Disk Cache card.
- Click Save.
- Then restart your VPS from the panel, for example, using the Restart Now button in the card.
A restart from the panel is required
The new mode takes effect only after you shut down and start your VPS again from the panel. Restarting from within the server (e.g., using reboot or restarting Windows) is not enough. If your VPS is stopped, the new mode takes effect the next time it starts.
The setting applies to all disks on your VPS and remains in effect after reinstalling and restoring a backup.
Is either mode unsafe? No. In both modes, data that your system explicitly flushes is stored permanently. The difference is how fast they are for different applications.
Can I change the mode at any time? Yes. You can switch as often as you like. You need to restart from the panel after each change.
My storage doesn’t support the mode on all disks? On some older storage types, Database-optimized is technically unavailable. The card will let you know. Standard remains active on those disks.