In order to deal with the size of the database, one could use one of a number of lossless compression techniques.
the database must be uncompressed eventually, meaning, while nonvolatile memory is reduced, the volatile memory must still be large enough to store the CRPs and ECC code words.