Saturday, May 10, 2008

17-25. Flashback Versions Query Considerations

The VERSIONS clause cannot be used to query
  • External tables
  • Temporary tables
  • Fixed tables
  • Views
The VERSIONS clause cannot span DDL commands
The VERSIONS clause in a SELECT statement cannot produce versions of rows across the DDL statements that change the structure of the corresponding tables. This means that the query stops producing rows after it reaches a time in the past when the table structure was changed.
What if I want to flashback version query after a DDL? is it possible?

Segment shrink operations are filtered out
Certain maintenance operations, such as a segment shrink, may move table rows across blocks. In this case, the version query filters out such phantom versions because the row data remains the same.

0 comments: