Implementing compressed storage features for tables and indexes