Use hash of source input_files for querying db
One should be able to rename a source and still use the stored tiles. Maybe a source should not be stored by its instance name, but by its sourcename and list of input files, which could be hashed to allow for efficient indexing.