Professional Documents
Culture Documents
Introduction
The best option for ODI Changed Data Capture is to leverage Oracle GoldenGate. To understand how to best leverage the
of-the-box integration between ODI and GoldenGate, we will review how ODI handles CDC with an in depth explanation of
JKMs principles, then expand this explanation to the specifics of the ODI-GoldenGate integration.
There are two journalizing modes for the JKMs: simple mode, and consistent set mode. Before going into the specifics for e
mode, let’s review the common ground.
1 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
To store these Primary Keys the JKM will create a table named after the source table with a J$ prefix. ODI also creates
that join this J$ table with the original table so that one simple select statement can extract all the columns of the changed
records. ODI automatically purges the content of the J$ table when the records have been processed.
Social Facebook Arch Beat Twitter OTN Group FMW Group
ODI alsoInformation
Copyright maintains a list of subscribers
Privacy at Oracle toTerms
the changes
of use the same
About theway messaging systems work: each target application th
A-Team
requires a copy of the changes can be assigned a subscriber name. When consuming the changes, applications filter the
changes by each
All content providing
and s/w their
code on this own
site are subscriber name.
offered without In that case,
any warranty, when
or promise of performing a purge,
operational quality only the changes processed
or functionality.
subscribers are removed from the J$ table (in other words, as long as at least one subscriber has not consumed a changed
record, that record remains in the J$ table). Different subscribers can safely consume changes at their own pace with no ris
missing changes when they are ready for their own integration cycle. Figures 1 to 3 illustrate the consumption by 2 subscrib
with different integration cycles and shows how purges are handled.
For the purpose of our illustration we assume that we have two subscribers: GL_INTEGRATION and DWH_INTEGRATION
GL_INTEGRATION consumes the changes every hour, 15 minutes past the hour. DWH_INTEGRATION consumes the cha
once a day at 8:00pm. First, the GL_INTEGRATION processes all available changes at 12:15 PM:
As more changes appear in the J$ table, GL_INTEGRATION continues to process the new changes at 1:15 PM.
2 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
At the end of the day, the subscriber DWH_INTEGRATION consumes all the changes that have occurred during the day.
Figure 3: Changes processed by the second subscriber followed by a purge of the consumed records.
► NOTE: In the above example, if changes had occurred before 8:00pm, but after GL_INTEGRATION last processe
changes (i.e. 7:15pm) then these changes would not be purged until GL_INTEGRATION has processed them all (i.e.
8:15pm)
To process the changes, ODI applies a logical lock on the records that it is about to process. Then the records are process
3 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
and the unlock step defines if the records have to be purged or not, based on other subscribers consumption of the change
Two views are created: the JV$ view and the JV$D view.
The JV$ view is used in the mappings where you select the option Journalized data only. Figure 4 shows where to find this
in the Physical tab of the mappings:
The code generated by ODI uses this view instead of the original source table when this option is selected. The JV$ view jo
the J$ table with the source table on the primary key. A filter in Logical tab of the mappings allows the developers to select
subscriber for which the changes are consumed, as illustrated in figure 5 below:
4 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Figure 5: Selecting the subscriber name in the mapping options to consume changes.
► NOTE: The subscriber name does not have to be hard-coded: you can use an ODI variable to store this name an
the variable in the filter.
The JV$D view is used to show the list of changes available in the J$ table when you select the menu Journal Data
CDC menu under the models and datastores. Figure 6 shows how to access this menu:
5 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Because of these limitations though, the most recent and most efficient JKMs provided out of the box with ODI are all
set JKMs. One important caveat with simple CDC JKMs is that they create one entry per subscriber in the J$ table for every
single changed row. If you have two subscribers, each change generates two records in the J$ table. Having three subscrib
means three entries in the J$ table for each change. You can immediately see that this implementation works for basic case
it is very limited when you want to expand your infrastructure.
When using Simple CDC JKMs, the lock, unlock and purge operations are performed in the IKM: each IKM has the necessa
steps for these operations, and these steps are only executed if:
Journalizing is selected in the interface, as described above in figure 4;
The JKM used for journalizing in the model that contains the source table is a Simple CDC JKM
6 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Figure 7: Parent and children records arriving during the processing of changes
When you define the parameters for consistent set CDC, you have to define the parent-child relationship between the table
do so, you have to edit the Model that contains these tables and select the Journalized Tables tab. You can either use the
Reorganize button to have ODI compute the dependencies for you based on the foreign keys available in the model, or you
manually set the order. Parent tables should be at the top, children tables (the ones referencing the parents) should be at th
bottom.
In Figure 8 we see a Diagram that was created under the model that hosts the journalized tables to represent the relationsh
between the tables. To reproduce this, create a Diagram under your Model, then drag and drop the selected tables in that
diagram: the foreign keys will automatically be represented as arrows by the ODI Studio.
Figure 8: ODI Diagram that represents the parent-child relationship in a set of tables.
7 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
In the illustration shown in figure 9 we would have to move PRODUCT_RATINGS down the list because of its reference to
SUPPLIERS table.
Once the tables are ordered, the Consistent Set JKMs can “lock” the records based on this order: children records first, the
parent records. From then on it is safe to process the parent records, followed by the children records knowing that none of
children are missing their references. If more parent and children records are delivered to the J$ tables while the data is be
processed (as was the case in Figure 7 with order #3 and the matching order lines), the new records are not locked and are
ignored until the next iteration of the integration process. This next iteration can be anywhere from a few seconds later to ho
later, depending on latency requirements.
Another improvement over simple CDC is that consistent set CDC does not duplicate the records in the J$ table when mult
subscribers are registered. Instead, ODI maintains window_ids that are used to identify when the records have been inserte
the infrastructure. Then it is only a matter of knowing which window_ids have been processed by which subscriber.
When the records of a set (parents and children records) are about to be processed, children records and parent records ar
logically locked. The KMs do the following operations:
Make sure that all records have a window_id, then identify the highest available window_ids (this is the Extend Window
operation)
Define the array of window_ids to be processed by the subscribers (this is the Lock Subscriber operation).
These operations are performed in the packages before processing the interfaces where CDC data is processed as shown
Figure 10. After the data has been processed, the subscribers must be unlocked and the J$ table can be purged of the
consumed records.
8 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
To add these operations to a package, drag and drop the Model that contains the CDC set, then set the Type to Journalizin
Model and select the appropriate options in the consumption section, as shown in Figure 10. You can drag and drop the mo
twice to separate the two operations. Note that in this case, the Extend Window operation must be done before the
Subscriber operation.
We will now look at how the Extend Window and Lock Subscriber package steps work:
Extend window
Either the window_id column of the J$ table is updated by the detection mechanism (as is the case with GoldenGate JKMs)
is not (as is the case with trigger based JKMs). In all cases, the SNP_CDC_SET table is first updated with the new compute
window_id for the CDC Set that is being processed. The window_id is computed from the checkpoint table for GoldenGate
or is based on an increment of the last used value (found in the SNP_CDC_SET table) for other JKMs.
For non GoldenGate JKMs, all records of the J$ table that do not have a window_id yet (the value would be null) are update
with this new window_id value so that the records can be processed: these are records that were written to the J$ table afte
last processing of changes and were never assigned a window_id.
Again, GoldenGate writes this window_id as it inserts records into the J$ table.
Lock subscriber
For all JKMs, the subscribers have to be locked: their processing window are set to range between the last processed wind
(which is the “minimum” window_id) and the newly computed window_id (which is the “maximum” window_id).
9 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Now that we understand the mechanics of ODI CDC, we can look into the details of the infrastructure.
The subscribers table is created in the Work Schema of the Default Schema for the data server. To identify the Default Sche
look under the data server definition in the physical architecture of the Topology Navigator: the Default Schema is marked w
checkmark. If you edit the schema, the Default checkbox is selected. As such, there will be a single, shared subscribers tab
all the schemas on that server.
The J$ table and the two views are created for each table that is journalized. These are created in the Work Schema
to the Physical Schema where the source table is located.
SNP_CDC_SUBS
The JRN_CONSUMED is used to logically lock the records: when the records are inserted in the J$ table, the value is set to
Remember, for Simple CDC the lock/unlock operations are performed by the IKMs. When the IKMs lock the records, the va
changed to 1. The “unlock” process only purges records with a value equal to 1.
The JRN_FLAG column indicates the type of change detected in the source system. Deleted records are marked with a ‘D’
Inserts and updates are marked with an ‘I’: the IKM differentiates between inserts and updates based on the content of the
table: there could have been more than one change in the source system between two ODI integration cycles, for instance
10 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
record can be inserted and then updated before the new cycle gets started. In that case, even though the last event in the s
system is an update, the operation that is needed on the target side is an insert with the latest values found in the source sy
J$<SOURCE_TABLE_NAME>
This shows that ODI does not replicate the transactions; it does an integration of the data as they are at the time the integra
process runs. Oracle GoldenGate replicates the transactions as they occur on the source system.
An additional filter is added in the mappings at design time so that only the records for the selected subscriber are consume
from the J$ table, as we saw in figure 5.
Once again, all infrastructure table (SNP_xxx) are created in the Work Schema of the Default Schema for the data server. A
such they are shared resources for all schemas defined under the data server. The J$ table and the associated views are c
in the Work Schema associated to the Physical Schema where the source table is located.
SNP_CDC_SET
11 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
SNP_CDC_SUBS
After the Extend Window step updated in the SNP_CDC_SET table for the current CDC set, the Lock Subscriber step in the
packages updates the maximum window_ids of the SNP_CDC_SUBS table with the same values for the current subscriber
Only the changes from the J$ table that have a window_id between the minimum and maximum window_id recorded in the
SNP_CDC_SUBS table are processed. Once these changes have been processed and committed, the maximum window_
used to overwrite the minimum window_id (this is done in the Unlock Subscriber step of the package). This guarantees that
infrastructure is ready for the next integration cycle, starting where we left off.
SNP_CDC_SET_TABLE
12 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
SNP_CDC_OBJECTS
J$<SOURCE_TABLE_NAME>
A filter created in the mappings allows the developers to select the subscriber for which the changes are consumed, as we
figure 5.
The JV$D view uses the same approach to remove duplicate entries, but it shows all entries available to all subscribers, inc
the ones that have not been assigned a window_id yet.
13 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
We would not be doing justice to GoldenGate by trying to explain its many benefits in just a few lines. The GoldenGate
documentation contains a very good introduction to the technology available here: http://docs.oracle.com/goldengate/121
winux/GWUAD/wu_about_gg.htm . If you are interested in best practices, real life recommendations and in depth
understanding of GoldenGate, our experts concentrate their work here: http://www.ateam-oracle.com/di-ogg/.
The important elements of integrating with GoldenGate from an ODI perspective are the following:
Low impact on the source system: GoldenGate reads the changes directly from the database logs, and as such does not
require any additional database activity.
Decoupled architecture: GoldenGate continuously replicates the transactions occurring on the source system, making th
changes available to ODI as needed without the need for ODI to run a (potentially costly) SQL query against the source s
when the ODI integration cycle starts. If part of the infrastructure is down, the impact on the other elements is minimal: th
GoldenGate Capture process is independent from its delivery process, and the ODI processes are independent from the
GoldenGate processes. This also allows for real time capture on the source system and scheduled delivery in the target
system.
Performance of the end-to-end solution: even though the large majority of ODI customers run their ODI processes as bat
jobs, some customers are reducing the processing windows continuously. Using GoldenGate for CDC allows for unique e
end performance, with customers achieving under-10 seconds end-to-end latency across heterogeneous systems: this in
GoldenGate detection of the changes, replication of the changes, transformations by ODI and commit in the target system
Heterogeneous capabilities: both ODI and GoldenGate can operate on many databases available on the market, allowing
more flexibility in the data integration infrastructure.
ODI writes two maps in that prm file. The first one instructs GoldenGate to copy the data from the source table into the stag
14 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
tables.
The second one makes sure that the J$ table is updated at the same time as the staging table. GoldenGate in this case has
targets when it replicates the changes.
If you already have GoldenGate in place to replicate data from the source tables into a staging area, you may not be interes
using the files generated by ODI. You have already configured and fine tuned your environment, you do not want to override
configuration. All you need to do in that case is to add the additional maps for GoldenGate to update the ODI J$ tables.
3.4 Evolution of the GoldenGate JKMs between ODI 11g and ODI 12
There is a deeper integration between ODI and GoldenGate in the 12c release of ODI than what was available with the 11g
release. One immediate consequence is that the JKMs for GoldenGate have evolved to take advantage of features that now
become available:
In ODI 11g the source table for an initial load was different from the source table used with GoldenGate for CDC: the
GoldenGate replicat table had to be used explicitly as a source table in CDC configurations. With the 12c implementation
GoldenGate JKMs, the same original source table is used in the mappings for both initial loads and incremental loads us
GoldenGate. For CDC, the GoldenGate source becomes the source table in the mappings for CDC. The GoldenGate re
is considered as a staging table and as such is not represented in the ODI mappings anymore. David Allan has a very go
pictorial representation of the new paradigm available here: https://blogs.oracle.com/dataintegration/resource/odi_12
/odi_12c_ogg_configuration.jpg.
The new JKMs allow for online or offline use of GoldenGate: in online mode, ODI communicates directly with the Golden
JAgent to distribute the configuration parameters. The offline mode is similar to what was available in ODI 11g.
4.1 Only creating the J$ tables and views if they do not exist
Traditionally in ODI KMs, tables and views can be created with the option to Ignore Errors so that the code does not fail if th
infrastructure is already in place. This approach does not work well in the case of JKMs where we do want to know that the
creation of a J$ table (or view) fails, but we will continuously add tables and views to the environment. What we want is to ig
the tables that have already been created, and only create the ones that are needed.
If you edit the JKM Oracle to Oracle Consistent (OGG) and look at the task Create J$ Table you can see that there is code
Source command section as well as for the Target command section. The target command creates the table, as you would
expect. The source command only returns a result set if the J$ table we are about to create in not referenced in the
15 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
SNP_CDC_OBJECTS table. If there is no result set from the source command, the target command is not executed by OD
standard behavior in KM and procedures tasks is that the target command is executed once for each element of the result s
returned from the source command (if there is a source command). Zero elements in the result set mean no execution.
Figure 11: Repeating the code for all tables of the CDC set in the appropriate order
Note that since GoldenGate updates the window_ids directly for ODI, the matching step does not exist in the GoldeGate JK
But the same technique of processing tables of the set in the appropriate order is leveraged when creating or dropping the
infrastructure (look at the Create J$ and Drop J$ tasks for instance in the GoldenGate JKMs).
Conclusion
As you can see the ODI CDC infrastructure provides a large amount of flexibility and covers the most complex integration
requirements for CDC. The out-of-the-box integration with Oracle GoldenGate helps developers combine both products ver
quickly without the need for experts to intervene. But if you need to alter the way the two products interact with one another
JKMs are the key to the solution you are dreaming about.
For more ODI best practices, tips, tricks, and guidance that the A-Team members gain from real-world experiences working
customers and partners, visit “Oracle A-Team Chronicles for ODI”. For Oracle GoldenGate, visit “Oracle A-Team Chroni
for GoldenGate”
All site content is the property of Oracle Corp. Redistribution not allowed without written permission
16 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Tweet Share 28
filed under: data integration, odi tagged with: cdc, change, changed data capture, detect, gg, goldengate, integration
knowledge module, odi, ogg
Comments
geeta says:
August 7, 2017 at 4:41 AM
Hi Christophe,
I am using odi 11g. I have a model with 4 datastores and these datastores have been used by different subscribers. Like
Datastore 1 and 2 are used by subscriber1 and datastore 1, 2 and 3 are used by subscriber2. This is resulting in lots of ju
data in JV$D table which will never be used by any process.
Creating a separate model per subscriber is not the option.
Could you please suggest something to handle this situation.
Log in to Reply
Creating separate models would be the easy way. An alternative is to create additional processes that have only one
purpose: removing the unconsumed data from the J$ tables and views, either through interfaces that do nothing else t
consume these records, or with statements that delete the records directly in the J$ tables…
My best
-Christophe
Log in to Reply
jtornborg says:
March 8, 2017 at 2:08 AM
Hi Christophe,
Great article!
“If you already have GoldenGate in place to replicate data from the source tables into a staging area, you may not be
interested in using the files generated by ODI. You have already configured and fine tuned your environment, you do not
want to override your configuration. All you need to do in that case is to add the additional maps for GoldenGate to updat
the ODI J$ tables”.
So, this is exactly what i would like to do. But how to configure this in ODI? Is it OGG online KM. But how to configure tha
17 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
KM without any capture / delivery process. I try to leave those process fields blank, but I get an error. Please explain.
Thanks!
Log in to Reply
Hi Johan,
I would recommend that you let ODI generate these files, and then simply copy/paste the maps generated by ODI in y
existing files. This will allow you to keep a reference of what ODI generated, and will still leave you in full control of the
parameter files used by GoldenGate.
my best
-Christophe
Log in to Reply
Li says:
May 17, 2016 at 5:07 PM
Hi
Please solve this issue
We have oracle database as both source and target ,source is dynamic as it got updated every 10 min
from the replication side .
All the changes (inserts/updates and deletes) happening on the source side are captured by J$ but few records(only inse
are not able to
captured by J$ so its not able to load data into target.But I tested this issue by inserting those records (which were not
captured by J$ in Prod environment) manually into the Development environment then its able to process successfully.
We are using LKM –Orcle to Oracle(DBLink) CDC JKM — JKM Oracle consistent IKM–Oracle Incremental Update
CKM-CKM ORACLE consistent
One more important thing is we implemented CDC consistent even though there is no foreign key relationships
Log in to Reply
The JKM Oracle Consistent creates triggers on the tables where you want to detect the changes. If the records are no
created in the J$ table, then either the triggers were not created successfully, or there is an issue with the trigger.
18 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
I would recommend that you validate that the triggers were created properly. You can see this in the code generated b
the KM when you ran the command ‘start journal’, and you can validate this at the database level as well with the view
user_triggers and all_triggers.
Log in to Reply
Li says:
May 23, 2016 at 10:36 AM
I hope the triggers works good …if not it shouldnot work in development environment too..
because I tested this issue by inserting those records (which were not captured by J$ in Prod
environment) manually into the Development environment then its able to process successfully.
Log in to Reply
Li says:
May 23, 2016 at 10:43 AM
I hope the triggers are working fine …if not it should not work in development environment too..I
simply export the scenarios into prod environment after working in development environment
because I tested this issue by inserting those records (which were not captured by J$ in Prod
environment) manually into the Development environment then its able to process successfully.
J$ is not capturing only few records say out of 1000 records only 10 records were not captured and also this issu
for 25 tables out of 145 tables..
Log in to Reply
I would recommend that you review the records that are missing and check if there is anything particular about
these. The triggers fire no matter what…
Li says:
May 23, 2016 at 4:56 PM
I reviewed those records and tested those records by manually inserting those records into
development source table in this case J$ capturing those records but those were the records
which are not captured by production J$ table
I hope the triggers are not firing properly since production source is not static, of course
development is static
Is there any alternate way to test
Thanks
19 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Have you tried to contact Oracle support? There are many configuration elements that might have to be review
along with validity of the processes in place and this forum is not the best way to perform these reviews.
You might also want to look into GoldenGate for CDC since GoldenGate is the closest you can get to no impac
the source tables.
Li says:
May 17, 2016 at 5:01 PM
Hi
Can I implement Simple CDC and Consistent CDC in the same ODI studio by creating model/project
seperately for each method even with different tables
Log in to Reply
Yes. The CDC infrastructure is created independently for each model, so you can handle consistent and simple CDC f
separate models. make sure that you are not using the same tables in different models though, because this could cre
some overlap and unexpected behaviors across the different models.
Log in to Reply
wingrider says:
January 13, 2016 at 11:15 AM
Hello,
Thankyou for the information. can you please tell how can we deploy a Journalising package to an
Execution repository.
Log in to Reply
20 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Hello,
You can create a dedicated package with the sole purpose of starting/stopping the journals. The start operation will cre
the infrastructure for you (snp_cdc, snp_cdc_set, etc). You can use this to add subscribers as well.
1. Create a new package
2. Drag-and-drop the model that you want to work on in that package
3. Click on the icon that represents the model in the package.
4. In the properties window, set the “Type” of the step to “Journalizing Model”
5. You will see options to start/stop the journal, add and remove subscribers. Don’t forget to add the subscriber names
further down if you want them created.
You can add multiple instances of the model in your package if you want to control the behavior with parameters (for
instance two separate branches to start or stop the journal, pass the subscriber name as a parameter, etc).
I hope this helps
-Christophe
Log in to Reply
If transformation mappings are not able to keep up with the rate at which my J$ tables are updated is there any way to te
ODI mapping to process n records at a time?
Thanks,
Vishal
Log in to Reply
Hello Vishal,
There are several ways you can do this – what will be important is to make sure that the JKM does not loose any data
it goes through the processes of extend window, lock/unlock and purge logs.
If the order in which the data arrives is important, you will have to compute an acceptable value for the increment (inst
of using the last window_id) and use the lowest of these two values for the extend / lock / unlock / purge processes.Th
said, you will have to make sure that the transformation process can eventually catch-up with the changes, or will will
keep running further and further behind – so I would first invest heavily in optimizing the transformation process.
If the order in which data arrives is not important, then you can run multiple processes in parallel (using a modulus
21 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
approach, each process would be in charge of a subset of the records). Here again, you would have to make sure that
the JKM is modified properly so that the lock / extend / unlock / purge mechanisms work properly.
My best
Log in to Reply
Hello there,
Thanks for the post!
I have a question about how to read and consume data from table under CDC:
I’d like to write a mapping once (ODI 12.1.3), and reuse it for first population and for reading the changes without need of
checking – unchecking “Journalized Data only” within the mapping itself?
Is there a dynamic way in an ODI Package (for instance) to tell ODI to use the JV$ tables instead than the source?
Log in to Reply
Hello Fabio,
In ODI 12c, you only have to create a new deployment specification in the physical tab of the mapping. In the original
physical tab, you leave the checkbox unchecked, and select the most appropriate KM combination for an initial load (li
and insert/append). Then in the new tab, you select the checkbox (processing only the changes) and select the most
appropriate KM for that (probably a merge or incremental KM). There is a good description of this feature here:
http://www.rittmanmead.com/2013/10/oracle-data-integrator-12c-release-part-1/
Log in to Reply
Is there an option of not using the staging tables? My use case is to use Golden gate to ingest data from sources onto so
landing zone (linux file system) and then send the data to Hbase for which we are planning to leverage ODI. Using the
staging tables would be a bottleneck situation for us. Does ODI have capability of reading data directly from Golden gate
trail files and send it to Hbase? Would really appreciate if you could provide some info.
Thanks
Log in to Reply
22 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Kartik,
if you want to consume CDC data using GG and deliver to HBase, you do not need to use ODI. Refer to
this blog post for that exact use case: https://blogs.oracle.com/dataintegration/entry
/streaming_relational_transactions_to_hbase
and take a look at this MOS note (1586211.1) for details on the GG Java adapter usage example.
You can definitely leverage ODI downstream to transform data in Hadoop or load data to/from RDBMS using sqoop; s
this post on ODI 12c capabilities with Hadoop: https://blogs.oracle.com/dataintegration/entry
/new_big_data_features_in
Log in to Reply
Daniel says:
July 31, 2014 at 11:48 PM
I am learning a little bit more about GoldenGate, but I am curious about one item as it relates to
ODI/GoldenGate. Can you perform a soft delete on the target (e.g. DW) where the source performed a hard delete?
Log in to Reply
23 of 24 28-03-2018, 13:01
Understanding the ODI JKMs and how they work with Oracle GoldenGate http://www.ateam-oracle.com/understanding-the-odi-jkms-and-how-the...
Share
28
Categories
Categories
Recent Posts
Connecting Oracle Data Sync to the
Autonomous Data Warehouse Cloud
using OCI
Archives
Archives
24 of 24 28-03-2018, 13:01