looking for some info on TMSTransaction table clean up options. , this is one of our larger tables,Ā struggling to find some info on how toĀ clean it up , thanks,
—————————— Bill Fuller Mgr. System Administration Team
Allegion Information Technology 11819 North Pennsylvania St Carmel, IN 46032 ——————————
Have you tried the ‘Transaction purge’ option under Transportation management – Periodic tasks?Ā That should allow you to specify how many days of information you would like to keep while removing the rest.Ā Naturally, i would recommend validating this in a Dev / Test environment.
—————————— Michael Sigler Rangeline Solutions —————————— ——————————————-
Bill Fuller
Member
February 11, 2020 at 3:13 PM
Thanks Michael Ā , Found it . ! Ā will give this a try and do some testingĀ ..
—————————— Bill Fuller Mgr. System Administration Team
Allegion Information Technology 11819 North Pennsylvania St Carmel, IN 46032 —————————— ——————————————-
TMSTransaction table contains transportation transactions for historical purposes.
We do have an option to delete the records on this table. See, Transportation management > Periodic > Transaction purge. The periodic routine will delete all the records if you are running with parameter Days = 0. Days is the number of days of transaction data to keep.
As with any of these cleanups, best to test first and understand everything the process is doing. SQL Profiler filtering by Deletes is great way to evaluate.
I ran a quick test and only one statement was the result.
DELETE FROM TMSTRANSACTION WHERE (((PARTITION=@P1) AND (DATAAREAID=@P2)) AND (MODIFIEDDATETIME<@P3))
Thanks…..Dave
—————————— Dave Phillips Sr Support Escalation Engineer Microsoft Fargo ND —————————— ——————————————-
Bill Fuller
Member
February 11, 2020 at 3:12 PM
Thank you , Dave Ā Ā Appreciate the help, will give this a try and do some testing ..
—————————— Bill Fuller Mgr. System Administration Team
Allegion Information Technology 11819 North Pennsylvania St Carmel, IN 46032 —————————— ——————————————-
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!