Difference between block_retention vs compacted_block_retention

Google Answered:

In Grafana Tempo, block_retention and compacted_block_retention control how long data is stored. block_retention determines how long blocks (raw trace data) are kept before deletion, while compacted_block_retention determines how long compacted blocks (aggregated trace data) are kept after compaction.

My config:

       compactor:
         compaction:
           compaction_window: 5m0s
           block_retention: 8766h0m0s  # 1 Year
           compacted_block_retention: 1h  #Default

I want to keep Tracelog data for 1 Year so block_retention: 8766h0m0s. I am seeing Queries are slow & Block List Lenght is increasing. Currently its 95k.

As per Google Ans, I understand that, I am not keeping compacted blocks more than 1Hour, may be due to which all blocks are uncompacted due to which queries are slower and block list length is increasing.

If I change compacted_block_retention: 8766h0m0s # 1h Default 1 year, then queries:

  1. Will I able to retain data till 1 Year but in compacted format which will improve query performance & able to query last 1 year data?
  2. Can I change block_retention: 8766h0m0s to 14 days from 1 year to reduce block list length?