in memory database access