dbTalk Databases Forums  

Flashback over database link

comp.databases.oracle comp.databases.oracle


Discuss Flashback over database link in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lothar Armbr?ster
 
Posts: n/a

Default Flashback over database link - 03-09-2005 , 06:37 AM






Hello out there,

this morning I had to get some rows via flashback query. Since my undo
retention is just 3h, the undo segments were already aged out.
But I have a physical standby database that is mounted read only
during daytime for report processing etc.
On this one the old data is still available, but I was not able to
pull them over to my primary site.
Here is what I tried:

create table hay_abos_20050309 as
(select * from dt_abo_bezug@standby as of timestamp
to_date('08.03.2005 15:15','DD.MM.YYYY HH24:MI')
where mandantenkode='HAY');

ERROR at line 1:
ORA-25124: Database link name not allowed.

Okay, then I tried to use dbms_flashback but I was not able to call
the procedure over a database link:

begin
dbms_flashback.enable_at_time@standby(to_date('08. 03.2005
15:21','DD.MM.YYYY HH24:MI'));
end;
/

ERROR at line 1:
ORA-02083: database name has illegal character '¹'
ORA-06553: PLS-707: unsupported construct or internal error [2604]

I can call simple procedures over the database link but obviously
calling packaged procedures this way gives an error.

It is Oracle 9.2.0.5.0 on W2k SP4.

Can I use flashback query over a database link?
If so, how do I do this?

Many thanks in advance,

Lothar

Reply With Quote
  #2  
Old   
Carlos
 
Posts: n/a

Default Re: Flashback over database link - 03-10-2005 , 03:02 AM






l.armbruester (AT) vertriebsunion (DOT) de (Lothar Armbr?ster) wrote in message news:<35559896.0503090437.187780be (AT) posting (DOT) google.com>...
Quote:
Hello out there,

this morning I had to get some rows via flashback query. Since my undo
retention is just 3h, the undo segments were already aged out.
But I have a physical standby database that is mounted read only
during daytime for report processing etc.
On this one the old data is still available, but I was not able to
pull them over to my primary site.
Here is what I tried:

create table hay_abos_20050309 as
(select * from dt_abo_bezug@standby as of timestamp
to_date('08.03.2005 15:15','DD.MM.YYYY HH24:MI')
where mandantenkode='HAY');

ERROR at line 1:
ORA-25124: Database link name not allowed.

Okay, then I tried to use dbms_flashback but I was not able to call
the procedure over a database link:

begin
dbms_flashback.enable_at_time@standby(to_date('08. 03.2005
15:21','DD.MM.YYYY HH24:MI'));
end;
/

ERROR at line 1:
ORA-02083: database name has illegal character '¹'
ORA-06553: PLS-707: unsupported construct or internal error [2604]

I can call simple procedures over the database link but obviously
calling packaged procedures this way gives an error.

It is Oracle 9.2.0.5.0 on W2k SP4.

Can I use flashback query over a database link?
If so, how do I do this?

Many thanks in advance,

Lothar
From Metalink:

Flashback Table operations are not valid for the following object types:
================================================== =

- Tables that are part of a cluster
- Materialized views
- Advanced Queuing tables
- Static data dictionary tables
- System tables
- Partitions of a table
- Remote tables (via database link) <== Ops!

Cheers.

Carlos.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.