Lab - Qlik Replicate With Google BigQuery
Lab - Qlik Replicate With Google BigQuery
Google BigQuery
TABLE OF CONTENTS
Introduction ............................................................................................................................................... 3
Prerequisites .............................................................................................................................................. 3
Accessing Replicate Environment ............................................................................................................. 4
Oracle Source Configuration ..................................................................................................................... 5
Google BigQuery Target Configuration ..................................................................................................... 9
Configure Replication Task ...................................................................................................................... 11
Run Task ................................................................................................................................................... 18
Summary .................................................................................................................................................. 22
Introduction
The objective of this lab is to provide the hands-on knowledge to participants on the Qlik Replicate
capability of migrating the data from Oracle database to Google Cloud BigQuery messaging application at
real time. By the end of this lab participants should be able to perform the data migration from database to
Google Cloud BigQuery. The areas covered include:
Prerequisites
• Network connectivity should be good while executing the lab.
Google
Google BigQuery | Oracle Source BigQuery in Qlik Replicate Environment
Configuration 5
5
5. Select + New Endpoint Connection.
6. Enter a meaningful Endpoint Name and Description for the Endpoint Connector.
You will notice as we proceed that the content of the configuration window is context sensitive.
Google
Google BigQuery | Oracle Source BigQuery in Qlik Replicate Environment
Configuration 6
6
8. Fill in both Source, Target Servers credentials as provided by your Systems Administrator.
• Server:
• Port:
• User:
• Password:
• Security/SSL Mode:
Google
Google BigQuery | Oracle Source BigQuery in Qlik Replicate Environment
Configuration 7
7
Look for the “Test Connection succeeded” message. Any other message means something may be
incorrect with your Server/Database definitions, or the Server/Database is unavailable.
Google
Google BigQuery | Oracle Source BigQuery in Qlik Replicate Environment
Configuration 8
8
Google BigQuery Target Configuration
Next, we need to configure our Google BigQuery target endpoint. The process is much the same as you saw with other
endpoints, and once again you will note that the configuration process is context sensitive as we move along.
As before, the first step in the configuration process is to tell Replicate that we want to create a new endpoint.
1. In the Replicate Console, Select Manage Endpoint Connections.
3. Enter a meaningful Endpoint Name and Description for the Endpoint Connector.
Note: The entire contents of the .json file listed above must be copied into the Service Account Key.
GoogleTarget
Google BigQuery | Google BigQuery BigQuery in Qlik Replicate Environment
Configuration 9
9
Again, look for the “Test Connection succeeded” message. Any other message means something may be
incorrect with your Server/Database definitions, or the Server/Database is unavailable.
Your screen should look like the following, indicating that your connection succeeded:
7. Select Save.
8. Select Close.
GoogleTarget
Google BigQuery | Google BigQuery BigQuery in Qlik Replicate Environment
Configuration 10
10
Configure Replication Task
Now that we have configured our Oracle source and Google BigQuery target endpoints, we need to tie them together
in what we call a Replicate task. In short, a task defines the following:
• A source endpoint
• A target endpoint
• Unidirectional
• Full Load: enabled (Blue highlight is enabled; Select to enable / disable)
• Apply Changes: enabled (Blue highlight is enabled; Select to enable / disable)
• Store Changes: disabled (Blue highlight is enabled; Select to enable / disable)
5. Select OK.
- This closes the New Task dialog box.
Once completed, the following window will appear:
Qlik Replicate is all about ease of use. The interface is point-and-click, drag-and-drop. To configure our task,
we need to select a source endpoint (Oracle) and a target endpoint (Google Cloud BigQuery). You can either
drag the Oracle Source endpoint from the box on the left of the screen and drop it into the circle that
says Drop source endpoint here, or you can click on the arrow that appears just to the right of the endpoint
when you highlight it.
2. Locate the Source Endpoint created above or one which meets your Source definitions.
5. Locate the Target Endpoint created above or one which meets your Target definitions.
8. Select HR Schema.
9. Enter % in Table.
Select each table from the Results list and press the > button to move them into the Selected
Tables list. Note that multi-select is enabled. You can select the tables all at once or move them
individually.
At this point we could define transformations on the selected tables if we wanted, but we will keep it simple
for this part of the testing and move the data as is instead.
That completes configuration of the task. We are now ready to save our task and run it.
Select Metadata.
14. Enter Table Target Schema (Because these are file spaces, use your username or as provided by your
Systems Admin).
When you press Run, Replicate will automatically switch from Designer mode to Monitor mode. You will be able to
watch the status of the full load as it occurs, and then switch to monitoring change data capture as well.
8. When completed, press Stop in the top left corner of the Replicate console to end the task.
9. Confirm, by clicking Yes.
10. Close the Oracle to Google BigQuery tab or click on the TASKS tab to return to Replicate Console.
• Defined access and authentication into an Oracle source and a Google Cloud BigQuery target.
• Defined the source tables from which you want to create Google Cloud BigQuery messages.
• Captured initial data from the source without while maintaining business continuity (DML activity was going
on in the background to simulate users working on the source database).
• Captured all new transactions which were happening while the initial load was running.
• Turned all net new data into Google Cloud BigQuery messages.
• Observed change data being recorded as it is sent to and applied at the target.
qlik.com
© 2021 QlikTech International AB. All rights reserved. All company and/or product names may be trade names, trademarks and/or registered trademarks of the respective owners with which they are
associated. CODE NEEDED FOR PUBLISHING