Date compression
Date compression: Function that merges ledger entries from closed periods into a few summary entries to reduce data volume and query time.
Also: compress entries, date compression
Date compression merges ledger entries from closed periods into a few summary entries. It is a batch job in Business Central and reduces the size of the database.
How does date compression work in Business Central?
It is available for general ledger entries, customer entries, vendor entries, item ledger entries and other entry types. A period is chosen, for example a whole fiscal year, together with a grouping, such as by account, day, week or month. The individual entries are replaced by summary entries. The function is usually used by administrators and accounting together, because it touches both areas. Care is needed above all with item entries, because they form the basis for stock quantities and inventory values. Before the run, the system shows a request page where all options are chosen.
What is date compression used for?
It is meant to reduce the amount of data and speed up queries. The price is a loss of detail. After compression, individual postings are no longer visible one by one.
What should be considered before running date compression?
The process cannot be undone, and compression is only allowed for closed periods. Beforehand, legal retention duties and accounting requirements should be clarified and a backup created. In a migration from NAV, compressing old years first is often considered, in order to carry over less data.