473,508 Members | 2,396 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flashback over database link

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
Jul 19 '05 #1
1 7852
l.***********@vertriebsunion.de (Lothar Armbr?ster) wrote in message news:<35**************************@posting.google. com>...
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.
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2879
by: Sven Jacobs | last post by:
Dear newsgroup, I've upgraded to PEAR::DB 1.6.5 recently. Unfortunately now the database connection doesn't work as expected anymore :( The problems seems to be the method disconnect(), which...
0
1017
by: Tuncay Baskan | last post by:
http://groups.google.com/group/microsoft.public.dotnet.general/browse_frm/thread/ec39c22f6b90c1ee/6037d3498eef290d It is quite amazing that 3 long years passed but Visual Studio 2005 Intellisense...
5
2314
by: Slant | last post by:
Here's a question that most will have different answers to. I'm just dying to find a solution that seems halfway automated!! There really are two seperate issues which might be answered by the...
15
2659
by: harvey | last post by:
How do I make PHP create a database for mysql please? I can see how to make tables and I have read all the documents I can find but I don't understand how to make the database itself. All...
221
366977
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
0
16344
debasisdas
by: debasisdas | last post by:
DATABASE LINK =============== A database link is a path through which a remote user in another database can connect to any other database. Once created database link exists as an object in the...
39
5823
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
1
404
by: Lothar Armbr?ster | last post by:
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...
25
2767
by: pereges | last post by:
Hello, I'm trying to build a database driven website for a library management system. The database is stored on a remote server which all of my team mates can access. I've installed MySQL, PHP and...
0
7118
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7493
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5625
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.