This section covers the following areas around general connectivity of the .
Additional configuration may be required for individual connection types. For more information, see Connection Types.
The platform automatically enables connectivity to relational databases for reading in datasets and writing results back out.
NOTE: Relational connectivity requires the use of an encryption key file, which must be created and deployed before you create relational connections. For more information, see Create Encryption Key File in the Install Guide.
The platform streams records from relational sources through the data service. These records are applied to transformation and sampling jobs on the Photon running environment, which is native to the .
Tip: In general, you should not have to modify settings for the data service. However, if you are experiencing general performance issues or issues with specific connection types, you may experiment with settings in the data service.
For more information, see Configure Data Service in the Configuration Guide.
To enhance performance of your relational datasets, you can enable the use of custom SQL queries against your relational datasources, which allows you to pre-filter your datasets before you ingest them into the platform. This feature is enabled by default, but additional configuration can be applied. See Enable Custom SQL Query.
By default, the platform ingests data from your relational datasources to the base storage layer for faster job execution. See Configure JDBC Ingestion.
NOTE: This feature may be available via Hot Fix only. Please contact .
Optionally, you can choose to enable appending the as a comment to the SQL queries that are written to your database logs. Example:
execute <unnamed>: SELECT * FROM "public"."artifacts" LIMIT 10 /* userId: 1 */
In the above, the (
1) is written in the comment.
These types of queries are logged for the following basic activities:
This feature enables auditing of through your database logs.
Locate the following setting and set it to
Optionally, you can enable the inclusion of log entries from the driver underlying a relational connection.
NOTE: This option applies only to relational connections that rely on CData drivers. Some connections may not support this option.
When you create or edit a relational connection, insert the following as part of the Connect String Options:
Log entries are included in the
data-service.log file is included in the standard Support Bundle. For more information, see Support Bundle Contents.
For more information, see Configure Security for Relational Connections.
If you have enabled Kerberos on the Hadoop cluster, you can leverage the Kerberos global keytab to enable SSO connections to relational sources. See Enable SSO for Relational Connections.
By default, the platform applies type inferencing to all imported datasources. However, for schematized sources, you may wish to disable type inferencing from the platform instead relying on the types provided from the source.
Tip: You can also toggle the use of type inferencing for individual connections or for individual imported datasets.
For more information, see Configure Type Inference.
Some supported relational datastores support authentication using OAuth 2.0.