Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By sammuell on
The article https://www.drupal.org/node/466972 suggests to place sqlite databases in memory. I created a ramdisk and checked the simpletest performance. However, it turns out that the sqlite in-memory database is actually slower than a "normal" disk-based mysql database.
Why is that?
Comments
The full DB url is sqlite:/
The full DB url is sqlite://localhost//dev/shm/sitetest.db, note: there are double '/' after localhost.
Result in very high performance!