Hi All,
I'm looking for a way to find out number of times my Archive DB is getting hit through view.
Here is the scenario. I have a view created with union all like below
Create View Myview AS Select ColumnA, ColumnB From ActiveDB..XYZ UNION ALL Select ColumnA, ColumnB From ArchiveDB..XYZ
ActiveDB..XYZ table has 1 Year of Data
ArchiveDB..XYZ is having older than 1 Year Data.
If my user tried to access the old data which is older than 1 Year through view. Is there any way can we say that data accessed from Archive Database and how many times the archived is hit?