add data compression for database