Skip to Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

Chapter 13. Updateable Snapshots

Updateable snapshots offer a means of deploying updateable copies of data at multiple sites. Unlike multi-master replication, which maintains copies of all records in a table at multiple sites, updateable snapshots may be partitioned horizontally. Another key difference between updateable snapshots and multi-master table replication is that updateable snapshot sites need not be in constant communication with the master site. Common usages of updateable snapshots include sales lead data on a salesperson’s laptop computer or grocery register receipt data. In both cases, the master data would reside at a headquarters site, and the updateable snapshot might push data back to the headquarters site at the end of the business day.

About Updateable Snapshots

As described in Chapter 11, updateable snapshots function by placing triggers on the master and snapshot tables. Thetrigger on the master table (TLOG$_table_name) populates the snapshot log table (MLOG$_table_name) at the master site. Similarly, the trigger on the snapshot base table (USTRG$_master_table_name ) populates the snapshot log table (USLOG$_table_name) at the snapshot site.

Like their read-only counterparts, updateable snapshots must be refreshed in order to reflect changes that have occurred to the master table. In addition, updateable snapshots must propagate changes from the snapshot site back to the master table. This propagation can happen either at the same time as the snapshot refresh ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata