experiment with using a persistent memorystore for repository

this may speed up queries that are quite slow with nativestore right now