1. An apparatus, comprising: a hardware accelerator coupled to a memory, the hardware accelerator comprising one or more decompression units; wherein the one or more decompression units are reconfigurable; wherein the hardware accelerator is configured to receive information relating to a workload including decompression of at least one row of at least one page of a database and to reconfigure the one or more decompression units based on the received information; and wherein the hardware accelerator is configured to: receive one or more pages of the database; extract one or more rows from each of the one or more pages of the database; determine whether a given one of the extracted rows is compressed; decompress, using at least one of the decompression units, the given extracted row responsive to determining that the given extracted row is compressed; and output the decompressed row.