2. The method according to claim 1 , further comprising, responsive to the computer receiving the one or more data elements: determining, by the computer, the compression technique to apply to each of the one or more data elements based upon a schema associated with the database, wherein the computer compresses the one or more data elements using the compression technique indicated by the schema.
2. The method according to claim 1 , further comprising, responsive to the computer receiving the one or more data elements: determining, by the computer, the compression technique to apply to each of the one or more data elements based upon a schema associated with the database, wherein the computer compresses the one or more data elements using the compression technique indicated by the schema. 4. The method according to claim 2 , wherein the schema indicates the compression technique for the computer when compressing or decompressing the group consisting of: a data element, a record comprising one or more data elements, a collection of the database that comprises one or more records, the database comprising one or more records, and the database comprising one or more collections.