In case of an operating system crash or power failure,
InnoDB itself does all the job of recovering
data. But to make sure that you can sleep well, observe the
Always tun the MySQL server with binary logging enabled (that is the default setting for MySQL 8.3). If you have such safe media, this technique can also be good for disk load balancing (which results in a performance improvement).