Would there be something similar as the master-slave database but at the table level in the database?
For example, I have the following scenario:
- I have a table with millions of records and the reason is because the system is more than 15 years old.
- I only want to show the records of the last year (2019-2020).
- I decided to create a view that only shows the records of that range (1 year) from the information of that table that contains millions of records.
- Thanks to the view, the loading time of that system screen is lighter, thanks to the fact that I have less load of records.
The problem: What if the user adds a new record to the table that contains millions of records? how do I make my view modify when the other table are modified ...
I can use triggers to update the view I think, but, is there a functionality in oracle that allows me something similar to what I just asked (master-slave) where the "slave" table is updated as the "master" table suffers changes?