Oracle Execute Action
Plugin version: 1.10.0
Action that runs an Oracle command.
The action can be used whenever you want to run Oracle command before or after a data pipeline. For example, you might want to run an SQL update command on a database before the pipeline source pulls data from tables.
Configuration
Property | Macro Enabled? | Description |
---|---|---|
Driver Name | No | Required. Name of the JDBC driver to use. Default is oracle. |
Host | Yes | Required. Host that Oracle is running on. Default is localhost. |
Port | Yes | Required. Port that Oracle is running on. Default is 1521. |
Connection Type | No | Required. Whether to use an SID, Service Name, or TNS Connect Descriptor when connecting to the database. |
SID/Service Name/TNS Connect Descriptor | Yes | Required. Oracle connection point (Database name, Service name, or a TNS Connect Descriptor). When using TNS, place the full TNS Connect Descriptor in the text field. For example: |
Database Command | Yes | Required. Database command to execute. |
Username | Yes | Optional. User identity for connecting to the specified database. |
Password | Yes | Optional. Password to use to connect to the specified database. |
Connection Arguments | Yes | Optional. A list of arbitrary string key/value pairs as connection arguments. These arguments will be passed to the JDBC driver as connection arguments for JDBC drivers that may need additional configurations. |
Default Batch Value | No | Optional. The default batch value that triggers an execution request. Default is 10. |
Example
Suppose you want to execute a query against Oracle database named (service name) "XE" that is running on "localhost" port 1251 (Ensure that the driver for Oracle is installed. You can also provide driver name for some specific driver, otherwise "oracle" will be used), then configure the plugin with:
Property | Value |
---|---|
Driver Name |
|
Host |
|
Port |
|
Connection Type |
|
SID/Service Name/TNS Connect Descriptor |
|
Database Command |
|
Username |
|
Password |
|
Default Batch Value |
|
Created in 2020 by Google Inc.