To improve the performance of my ETL, I decided to use temporal table instead of a slowly changing dimension.
For my Employee
dimension, I created a temporal table. Now I want to split data into partitions based on periods.
I already declared StartTimeV
and EndTimeV
(the created columns for my temporal tables) as system period start time and end time periods. I want to create a partition for my temporal table based on the period (StartTimeV
and EndTimeV
).
Best Answer
I mean you can... but I don't think you necessarily should...
Given a setup of the form...
You can...
...in this way
It works as-is, although I won't speak to interoperability, scaling, or storage management concerns at this time.
Demo cleanup