Database creation with cache enabled.