Is there a way to store a map in a database and use it in other queries without recomputing it each time?

Jonathan