This. Back in the day when we lacked RAM, especially on *nix based systems, it's absolutely normal to use the disk/flash as pseudo-RAM. This was just...a normal part of computing at the time, heh.
Of course, applications would respond shit slow this way, but in the case of a DB it'd be more than fine, no?