2 ms·
It should be trivial to set it up on a ramdisk and I see some guides on doing so when I search for "postgres ramdisk"
by charcircuit 3y ago
It should be trivial to set it up on a ramdisk and I see some guides on doing so when I search for "postgres ramdisk"
- mschuster91 3y agoPHP SQLite in-memory effort is `$db = new PDO('sqlite::memory');`. With postgreSQL, you'll at least have to: 1. create the ramdisk 2. mount the ramdisk, configure systemd to automount it 3. modify the systemd unit file for psql to depend on the ramdisk 4. initialize all the psql data structures in the ramdisk mount folder