Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Oracle物化视图记录会自动获取时间戳吗?
物化视图的最后一次刷新日期保存在 ALL_MVIEWS.LAST_REFRESH_DATE(或 USER_MVIEWS.LAST_REFRESH_DATE)中。
Oracle 物化视图记录不会自动获得时间戳。但是,通过将“ORA_ROWSCN AS SCN”添加到 select 语句,可以将系统更改号 (SCN) 包含在每个记录中。系统更改编号 (SCN) 提供行版本号,并在更新行时更新。