Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
IBM InfoSphere Replication Server and Data Event Publisher

You're reading from  IBM InfoSphere Replication Server and Data Event Publisher

Product type Book
Published in Aug 2010
Publisher Packt
ISBN-13 9781849681544
Pages 344 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Pav Kumar-Chatterjee Pav Kumar-Chatterjee
Profile icon Pav Kumar-Chatterjee
Pav Kumar Chatterjee Pav Kumar Chatterjee
Profile icon Pav Kumar Chatterjee
View More author details

Table of Contents (12) Chapters

IBM InfoSphere Replication Server and Data Event Publisher
Credits
About the Author
About the Reviewer
1. Preface
1. Q Replication Overview 2. Q Replication Components 3. The DB2 Database Layer 4. WebSphere MQ for the DBA 5. The ASNCLP Command Interface 6. Administration Tasks 7. Monitoring and Reporting

The Q Capture and Q Apply programs


It is the Q Capture and Q Apply programs, which form the heart of Q replication as it is these two programs, which read transactions from the source system and apply them to the target table.

The Q replication constituent components section from Chapter 1, gave a brief introduction to the Q Capture and Q Apply programs. What we will do in this section is examine at a deeper level how these programs work and communicate with each other.

Q Capture internals

Let’s review what Q Capture does. Essentially, Q Capture reads transactions for tables that it is interested in from the DB2 log by its transaction thread calling the DB2 log interface API db2ReadLog. It builds complete transactions in memory until it detects a commit or rollback statement in the log. If it detects a rollback statement, then the transaction is flushed from memory. If it detects a commit statement, then Q Capture places the transaction in compressed XML format onto a WebSphere MQ queue called...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}