4 ms·
PHP 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, confi
by mschuster91 3y ago
PHP 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