I have created a testing temporal table with retention policy set to 1 days following the link
https://learn.microsoft.com/en-us/azure/azure-sql/database/temporal-tables-retention-policy?view=azuresql-mi
All requirement are met based on the documentation. However, the aged record is not removed automatically from history table.
running query select ValidTo from [dbo].[TestHistory] where ValidTo < DATEADD (day, -1, SYSUTCDATETIME())
return me the test historical record with ValidTo=2023-04-14T00:04:14.0000000 .
So the aged record does not get removed.
1.What is the process/job in azure SQL that cleans up temporal history table based on retnetion policy defined.
- and what's the schedule time of the process run?
3.How can we see the run status of the job/process?
Thank you for your help.