"RUPD$" tables


I am replicating some tables using Mviews. In Master DB some RUPD$ tables are generated.
May i know what they are?
Who is Participating?
AnuroopsunddConnect With a Mentor Commented:
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.

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
ajaybeldeAuthor Commented:
I heared that rupd$ tables will be there when the mv log tables have primary keys. Is that true?
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

yes only mv's with primary keys will get those, and only for snapshots with fast refreshes, not complete
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?
yes, if you drop the mv logs, the rupd$ table should go with them
ajaybeldeAuthor Commented:
Thanks..My doubt is clear & i am closing this question.

Thanks Again!
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.