Dynamics Trucante Delete Cleanup para Export Import
Dynamics Trucante Delete Cleanup para Export Import
#2 Delete EventCud
This table stores alerts waiting to be sent. If there are many records in EVENTCUD table it usually indicates the batch job that
delivers the alert messages is not running or not scheduled. If the alerts queued in the system are not critical, the EVENTCUD table
can be truncated. This will prevent all old alerts from being delivered in “one short” to the users when the batch job is scheduled
again and runs.
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/database/dbmovement-scenario-exportuat
Performance
#4 limpeza tabelas (TRUNCATE) baseado na query de Top tables relacionadas logs e transações que não irão afetar o uso do Ax >>
ANTES DO EXPORT DO UAT
The import speed is related to the CPU cores, RAM, and disk performance of your machine.
You can try to increase the speed by putting the bacpac on the D:\ drive and passing the /mp:16 command to your import
to increase the thread count to 16. 16 is an arbitrary number, it should equal the number of cores available on your
machine.
https://docs.microsoft.com/en-us/sql/tools/sqlpackage?view=sql-server-ver15
#8 rever rotinas de clean-up do Ax. Nesse link tem rotinas sugeridas de “limpeza de tabelas” que podem ser avaliadas.
#9 processos adicionais.
sysoutgoingemail
https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/372592/table-size-sysoutgoingemaildata-is-huge
The tables EVENTINBOX and EVENTINBOXDATA can be clean using the standard BatchJob that exist in the [System
AdministrationàPeriodicàNotification Cleanup], the secret here is specify the date filter using the following command that
this can be executed correctly.
In the “Alert created date and time field”, you need specify the following (LessThanDate(-NumOfDays)), when the batchjob
is executed, the query take the date of the execution and substract the “-NumOfDays” and clean all existent registries older
that this date. However, based on the number of registries that currently have the customer the process can take few hours
to fully execute the cleanup, its strongly recommended that they setup this Batchjob to execute on Weekly basis.
Same as the “Notification Cleanup”, exist other one to cleanup the Batchjobhistory table System AdministratoràPeriodic
Taskà Batch job history clean-up (custom),
TABLE SYSDATABASELOG
Use the Database log cleanup tab to determine when run the log cleanup task [System AdministratoràInquiriesàDatabaseàDatabase
log]