To read data from an Amazon RDS database instead of writing to one, use the RDS Query component.
If you’re using a Matillion Full SaaS solution, you may need to allow these IP address ranges from which Full SaaS Maia runners will call out to their source systems or to cloud data platforms.
Properties
Your RDS database endpoint. If the IAM role attached to the instance (or the manually entered credentials associated with the current environment) has the permissions granted to query the RDS endpoints, you may select the RDS endpoint from a list. Otherwise, you must enter it manually—it can be found in the RDS console and is a long dotted-name and port number, separated by a colon. To acquire your database endpoint and provide it manually, follow these steps:
- Log in to the AWS Console.
- In the Find Services search bar, search for RDS.
- In the Amazon RDS navigation column on the left side of your screen, click Databases.
- Select a database.
- Locate the endpoint for that database in the Connectivity & security section.
Provide the name of the database within your RDS instance. In the AWS Console, this is the “DB identifier”.
Choose the secret definition that represents your credentials for this connector.If you have not already saved your credentials for this connector as a secret definition, click Add secret to create a secret definition representing these credentials. Read Secrets and secret definitions for details about creating a secret definition.
- Parameter: A JDBC parameter supported by the database driver. The available parameters are explained in the data model. Manual setup is not usually required, since sensible defaults are assumed.
- Value: A value for the given parameter.
The Snowflake database. The special value
[Environment Default] uses the database defined in the environment. Read Databases, Tables and Views - Overview to learn more.The Snowflake schema. The special value
[Environment Default] uses the schema defined in the environment. Read Database, Schema, and Share DDL to learn more.A schema in the target database. Required if the RDS Type is PostgreSQL or SQL Server.
- None: Assume the RDS database already has the table defined with the correct structure.
- Create if not exists: Only create the table if it doesn’t already exist.
- Replace: Always drop and recreate the table.
Select one or more columns to use as the table’s primary key. The component uses the primary key to identify matching rows in the target table when determining the update strategy.If you select multiple columns, the component creates a composite primary key using the combination of the selected columns.Leave this blank to load all rows without duplicate checking.
Select how the output will handle replacing rows with matching primary keys. Options are:
- Ignore: Any existing row in the target that matches the primary key is not replaced and the matching row from the source table is not uploaded.
- Replace: Rows in the target table that match the primary key are replaced with the matching rows from the source table.
Choose whether to continue with the load if an error is raised, or to fail the run.
Any additional options that you want to apply to the copy operation. Some of these may conflict with the options the component already sets—in particular, care is taken to escape the data to ensure it loads into the target database even if the data contains row and/or column delimiters, so you should never override the escape or delimiter options.