OpenVZ Forum


Home » General » Support » Possible to put a container on a "ramdisk"? (Ploop)
Re: Possible to put a container on a "ramdisk"? (Ploop) [message #51511 is a reply to message #51502] Thu, 03 July 2014 18:31 Go to previous message
devonblzx is currently offline  devonblzx
Messages: 127
Registered: December 2006
Senior Member
Why put the container on a ramdisk? Why not just mount a tmpfs inside the container and use that for the database storage?

Otherwise you are losing the entire system on every reboot and you are wasting RAM on system files rather than just the database.

I think you are still going about this the wrong way, but I may not have all the info. Most database servers support caching in RAM for this very purpose and don't require a ramdisk or tmpfs. MySQL for instance, has the memory storage engine, and numerous other features to increase the cache size so you can keep all the tables in the RAM if necessary but you don't lose anything on a reboot.


http://static.openvz.org/userbars/openvz-user-2.png
ByteOnSite President

[Updated on: Thu, 03 July 2014 18:34]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: OVZ does not delete root and private directores in some cases
Next Topic: Installation of Linux kernel headers fails in Debian
Goto Forum:
  


Current Time: Thu Sep 05 19:20:25 GMT 2024

Total time taken to generate the page: 0.06353 seconds