Solved

"RUPD$" tables

Posted on 2012-04-13
8
2,224 Views
Last Modified: 2012-04-13
Hi,

I am replicating some tables using Mviews. In Master DB some RUPD$ tables are generated.
May i know what they are?
0
Comment
Question by:ajaybelde
  • 4
  • 3
8 Comments
 
LVL 73

Expert Comment

by:sdstuber
ID: 37842331
they should be temporary tables, so they'll appear empty most of the time unless your session happens to be doing an update on the mview.

and they only exist for updateable mviews, they are used internally by Oracle to manage the updates
0
 

Author Comment

by:ajaybelde
ID: 37842373
I heared that rupd$ tables will be there when the mv log tables have primary keys. Is that true?
0
 
LVL 73

Expert Comment

by:sdstuber
ID: 37842407
yes only mv's with primary keys will get those, and only for snapshots with fast refreshes, not complete
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37842411
This is a temporary updatable snapshot log created for Java RepAPI. When the user creates
a PK snapshot log on a master table, or does an 'alter snapshot log add primary key',  in
addition to  MLOG$_<tablename>, a temporary table by name RUPD$_<tablename> is also
automatically created.   When the user gives 'Drop snapshot log on tablename', the
snapshot log as well as the temporary snapshot log are dropped.


http://asktom.oracle.com/pls/asktom/f?p=100:11:::::P11_QUESTION_ID:1300401907681
0
 

Author Comment

by:ajaybelde
ID: 37842425
Ok Thanks!

So they will be dropped by themselves when i drop mview logs or i need to remove them manually while disabling replication between master & slave DBs?
0
 
LVL 73

Expert Comment

by:sdstuber
ID: 37842464
yes, if you drop the mv logs, the rupd$ table should go with them
0
 

Author Comment

by:ajaybelde
ID: 37842484
Thanks..My doubt is clear & i am closing this question.

Thanks Again!
0
 
LVL 73

Expert Comment

by:sdstuber
ID: 37842504
on last thing,  in my first post ...

>>> an update on the mview.
>>> and they only exist for updateable mviews,

this was poor phrasing on my part

the rpud$ temp tables exist to manage the the updates on the source table INTO the mv
they exist whether the mv itself is updatable or not

sorry for any confusion
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question