@nuintari Run two jails. One runs the godawful-mysql-on-ramdisk setup. The other runs mysql against the disk. Run the ramdisk mysql as the primary and make the normal mysql a replicating secondary. It's still dumb, but you get only a short delay on writing back out to disk and your UPS shutdown script can just nuke the primary and attempt a clean shutdown on the secondary to be able to (hopefully) cleanly shutdown while there's power.