DB Reader

The DB reader is a spark-based reader which gives you capability to read data from multiple database sources. All the database sources are listed below:

Drivers Available:

  • MySQL

  • Oracle

  • PostgreSQL

  • MS-SQL

  • ClickHouse

  • Snowflake

All component configurations are classified broadly into the following sections:

Please follow the steps given in the demonstration to configure the DB Reader component.

Please Note:

  • The ClickHouse driver in the Spark components will use HTTP Port and not the TCP port.

  • In the case of data from multiple tables (join queries), one can write the join query directly without specifying multiple tables, as only one among table and query fields is required.

  • Table name: Provide a single or multiple table names. If multiple table name has be given, then enter the table names separated by comma(,).

  • Fetch Size: Provide the maximum number of records to be processed in one execution cycle.

  • Create Partition: This is used for performance enhancement. It's going to create the sequence of indexing. Once this option is selected, the operation will not execute on server.

  • Partition By: This option will appear once create partition option is enabled. There are two options under it:

    • Auto Increment: The number of partitions will be incremented automatically.

    • Index: The number of partitions will be incremented based on the specified Partition column.

  • Query: Enter the spark SQL query in this field for the given table or table(s). Please refer the below image for making query on multiple tables.

  • Enable SSL: Check this box to enable SSL for this components. Enable SSL feature in DB reader component will appear only for two(2) drivers: PostgreSQL and ClickHouse.

  • Certificate Folder: This option will appear when the Enable SSL field is checked-in. The user has to select the certificate folder from drop down which contains the files which has been uploaded to the admin settings. Please refer the below given images for the reference.

Note: To use DB reader component with SSL, the user needs to upload the following files on the certificate upload page:

  • Certificate file (.pem format)]

  • Key file (.key format)

Check out the given demonstration of the DB Reader component with the Snowflake driver.

Last updated