Integrating Monte Carlo with Teradata allows you to monitor your data assets through custom SQL monitors, which can be created in either the UI wizard and/or programmatically via monitors as code (API/SDK too). These monitors can be used to generate notifications (incidents) to relevant stakeholders and circuit break pipelines.
To connect Monte Carlo to a Teradata database, follow these steps:
- Enable network connectivity between the database and Monte Carlo's data collector.
- Create a read-only service account with the appropriate permissions on your database.
- Provide service account credentials to Monte Carlo (requires Using the CLI).
Follow the Network Connectivity guide to IP Allowlist or VPC peer to provide access to Teradata.
To create a service account, you will need admin credentials to your Teradata database.
Please run the SQL snippet below on your Teradata database to create a read-only service account for Monte Carlo
CREATE USER montecarlo AS PASSWORD = <password> PERMANENT = 1000000 BYTES TEMPORARY = 1000000 BYTES SPOOL = 10000000 BYTES; -- Grants SELECT access on required metadata tables GRANT SELECT ON DBC.DatabasesV TO montecarlo; GRANT SELECT ON DBC.TablesV TO montecarlo; -- Grants SELECT on all tables contained in <DATABASE NAME>. -- Run this command for each Database that contains tables you would like to create custom monitors on GRANT SELECT ON <DATABASE NAME> TO montecarlo;
- Please follow this guide to install and configure the CLI.
- Please use the command
montecarlo integrations add-teradatato connect. For reference, see help here.
montecarlo integrations add-teradata \ --host example.fake.teradata.com \ --port 80 \ --user montecarlo \ --password -1 \ --name teradata
Below are the supported monitors for the Teradata integration today. Please reach out to your Monte Carlo representative if you have requirements for additional Monitors.
|Automated Anomaly Detection||Freshness|
|Automated Anomaly Detection||Volume|
|Automated Monitoring||Schema Changes|
|Opt-in Monitor||SQL Rule|
|Opt-in Monitor||Comparison Rule|
|Opt-in Monitor||Field Quality Rule|
|Opt-in Monitor||Freshness Rule|
|Opt-in Monitor||Volume Rule|
|Opt-in Monitor||Volume Anomaly Detection|
|Opt-in Monitor||Field Health Monitor|
|Opt-in Monitor||Dimension Tracking|
|Opt-in Monitor||JSON Schema Changes|
What hosting solutions are supported?
This integration supports any instance that is reachable from the AWS cloud (e.g. AWS hosted, site-to-site VPN with AWS, publicly accessible, etc). Please see the networking docs for more detail.
How do I fix
No more spool space in montecarlo. error?
Depending on the size of your tables, you might need to allocate more spool space to the service account that Monte Carlo is using. If you see this error when trying to add a Teradata connection (during the validation step) or during metadata collection, modify the user to allocate more spool space with this query:
MODIFY USER montecarlo AS SPOOL = <new spool size> BYTES;
Updated 1 day ago