Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

"RUPD$" tables

Posted on 2012-04-13
8
2,302 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 74

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 74

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 74

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 74

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

807 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