Resource Loading Configuration¶
You can configure the BigQuery connector to optimize how it loads resources such as datasets, tables, and columns from BigQuery. These settings control the loading methodology, thread allocation, and batch processing to ensure optimal performance for your environment.
The connector supports both multi-threaded and single-threaded resource loading approaches. Multi-threaded loading can significantly improve performance in environments with large numbers of resources, while single-threaded loading provides more predictable resource usage patterns.
Resource Loading Properties:
Property Name | Description | Default Value | Supported Values |
---|---|---|---|
LOAD RESOURCES KEY | Controls which method to be used to load resources from BigQuery | load_multi_thread | load_from_dataset_columns , load_multi_thread |
LOAD RESOURCES LOAD TABLE THREADS | Maximum number of threads to load the tables inside the configured databases | 2 | Any numeric value |
LOAD RESOURCES LOAD TABLE MIN THREADS | Minimum number of threads to load the tables inside the configured databases | 2 | Any numeric value |
LOAD RESOURCES LOAD COLUMN THREADS | Maximum number of threads to load the columns inside the configured tables | 3 | Any numeric value |
LOAD RESOURCES LOAD COLUMN MIN THREADS | Minimum number of threads to load the columns inside the configured tables | 3 | Any numeric value |
LOAD TABLE SIZE | Load table batch size in a single thread task | 500 | Any numeric value |
Configuration Steps¶
Warning
- Higher thread counts can improve performance but may increase memory usage and BigQuery API quotas.
- Replace the example values with your actual configuration values.
Restart Required
Any changes to these properties require restarting the BigQuery connector application for the updates to take effect.
-
Navigate to Settings → Applications in the Self-Managed Portal.
-
Select BigQuery from the list of Connected Applications.
-
Click on the application name or the icon, then click on Access Management → ADVANCED tab.
-
Add the following properties under the
Add New Custom Properties
section: -
Click SAVE to apply the changes.
-
SSH to the instance where Privacera Manager is installed.
-
Run the following command to open the
.yml
file to be edited.If you have multiple connectors, then replace
instance1
with the appropriate connector instance name.Bash -
Add or modify the following properties:
-
Once the properties are configured, run the following commands to update your Privacera Manager platform instance:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.
-
In PrivaceraCloud, go to Settings → Applications.
-
Select BigQuery from the list of Connected Applications.
-
Click on the application name or the icon, then click on Access Management → ADVANCED tab.
-
Add the following properties under the
Add New Custom Properties
section: -
Click SAVE.
-
Once saved and enabled, the BigQuery connector will start. You can hover on the VIEW LOGS button to check the status, either Running or Stopped.
Note
Perform the following steps only if the connector does not reflect the updated configuration and requires a restart.
Restart the BigQuery Connector:
-
Go to Settings → Applications → select the BigQuery connector application.
-
Edit the application → Disable it → and Save it.
-
Open the same application again and then: Enable it and Save it.
- Prev topic: Advanced Configuration