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 …
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.