Hi André,
Some additional info:
It's purely the F&O database. In the Dataverse database enough capacity available.
I disabled things like Financial Reporting and AX Datawarehouse in non-production environments.
In all environments, all clean up jobs are running. In non-production environments jobs for, for example. sysDatabaseLog retention is set to 1 or 0 days.
Our PreProd environment is stripped of almost all data. Only static data like parameters, customers, products etc. are left alone.
Our UAT environment only holds data of the last three months as we need this for testing purposes.
My DEV box only contains data of the last few weeks.
Top 10 tables in Production: InventTrans, SalesLine, MRDB.ReportLineAccount, SalesParmLine, GenerallJournalAccountEntry, custInvoiceTrans, WMSOrderTrans, custPackingslipTrans, custTrans
I know I can truncate salesParmLine (Clean up sales update history); Investigating at the moment with which parameters I can do this, but for the rest this is more complex/impossible.
One of the things that makes my live more complicated is that our previous BI guys build a lot of BI reports based on historical sales order data (salesTable/salesLine), which makes it impossible for me to delete older sales order (lines) without first redesigning the whole PowerBi structure and reports.
Please let me know if you have other questions.
Cheers,
Gerard