The choice of whether, when and in what order to use both compression and deduplication depends on factors such as whether compression will make it easier or harder for the deduplication software to scan for redundancies, what tier (primary vs. secondary) you are looking to optimize, and how quickly the product can return data to a usable form when needed.