Oracle row change time stamp
Is there a system column - timestamp开发者_开发问答 - in Oracle table to determine when was it changed last time?
I would assume there must be one to let mat views pull changes only ...
Oracle uses System Change Number (SCN). You can access it in a query as ora_rowscn. However, by default it represents the time the entire block was modified not a particular row. If you want row level information, your table must be created with the rowdependencies specifier.
And you are making incorrect assumptions about how materialized views work. Oracle keeps track of changes using tables MLOG$ and $RUPDS.
精彩评论