Trade greater mem requirement with faster db scan.