| ▲ | francislavoie 3 hours ago | |||||||
But how does the reset happen fast, the problem isn't with preventing permanent writes or w/e, it's with actually resetting for the next test. Also using overlayfs will immediately be slower at runtime than tmpfs which we're already doing. | ||||||||
| ▲ | exceptione an hour ago | parent | next [-] | |||||||
Resetting is free if you discard the overlayfs writes, no? I am not sure if one can discard at runtime, or if the next test should be run in a new container. But that should still be fast. If your db is small enough to fit in tmpfs, than sure, that is hard to beat. But then xfs and zfs are overkill too. EDIT: I see you mentioning that starting the db is slow due to wiping and filling at runtime. But the idea of a snapshot is that you don't have to do that, unless I misunderstand you. | ||||||||
| ▲ | peterldowns 3 hours ago | parent | prev [-] | |||||||
Yeah unfortunately I think that it's not really possible to hit the speed of a TEMPLATE copy with MariaDB. @EvanElias (maintainer of https://github.com/skeema/skeema about this) was looking into it at one point, might consider reaching out to him — he's the foremost mysql expert that I know. | ||||||||
| ||||||||