Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3016
  • Last Modified:

"RUPD$" tables

Hi,

I am replicating some tables using Mviews. In Master DB some RUPD$ tables are generated.
May i know what they are?
0
ajaybelde
Asked:
ajaybelde
  • 4
  • 3
1 Solution
 
sdstuberCommented:
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
 
ajaybeldeAuthor Commented:
I heared that rupd$ tables will be there when the mv log tables have primary keys. Is that true?
0
 
sdstuberCommented:
yes only mv's with primary keys will get those, and only for snapshots with fast refreshes, not complete
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
AnuroopsunddCommented:
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
 
ajaybeldeAuthor Commented:
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
 
sdstuberCommented:
yes, if you drop the mv logs, the rupd$ table should go with them
0
 
ajaybeldeAuthor Commented:
Thanks..My doubt is clear & i am closing this question.

Thanks Again!
0
 
sdstuberCommented:
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now