User Tools

Site Tools


flashback_query_with_database_in_noarchivelog_mode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
flashback_query_with_database_in_noarchivelog_mode [2018/12/06 21:05] – created 91.177.234.129flashback_query_with_database_in_noarchivelog_mode [2019/01/30 11:32] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Flashback_query_with_database_in_noarchivelog_mode ====== 
- 
 Typically, development databases are not started in archivelog mode. This causes a problem for hot backups but not necessarily for flashback queries. Typically, development databases are not started in archivelog mode. This causes a problem for hot backups but not necessarily for flashback queries.
 You can still flashback to any time within the online redo logs: You can still flashback to any time within the online redo logs:
  
 +<code>
  alter session set nls_timestamp_format = 'dd-mon-yyyy hh24:mi:ss.ff3';  alter session set nls_timestamp_format = 'dd-mon-yyyy hh24:mi:ss.ff3';
  set lines 9999  set lines 9999
Line 10: Line 9:
  set headi off  set headi off
  spool old_version.sql  spool old_version.sql
- +</code> 
 + 
 +<code>
  select text  select text
- from   dba_source  + from   dba_source
  as of  timestamp to_timestamp('22-sep-2011 07:30:00.000')  as of  timestamp to_timestamp('22-sep-2011 07:30:00.000')
  where  1=1  where  1=1
Line 19: Line 20:
  order  by type  order  by type
  ,      line;  ,      line;
- +</code> 
 + 
 +<code>
  spool off  spool off
 +
flashback_query_with_database_in_noarchivelog_mode.1544130326.txt.gz · Last modified: 2018/12/06 21:05 by 91.177.234.129

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki