Connect Amazon RDS data with Zoho Analytics

Connect the Amazon RDS database with Zoho Analytics and create powerful reports and dashboards. Deploy advanced analytical models to predict future outcomes and identify anomalies. Utilize AI driven analytics to get the most out of the raw data.
Zoho Analytics supports all database engines available in Amazon RDS, like My SQL, MS SQL Server, Oracle, PostgreSQL, MariaDB, Amazon Aurora My SQL and Amazon Aurora PostgreSQL.

Secure Data Transmission: Data transmitted between Amazon RDS and Zoho Analytics is encrypted using robust encryption mechanisms like SSL(Security Sockets Layer) and SSH (Secure Shell). It also provides another option to strengthen the security layer by allowing users to mark PII columns.

Flexible Connection modes: Pull data from Amazon RDS using the appropriate connection mode depending on your needs. Zoho Analytics provides two types of connection modes, namely Data Import and Live Connect. Refer to the Import vs Live Connect article to learn more.

Automated data import: Enable real-time analysis by scheduling data import to perform analysis on the most recent data.

Seamless Data Preparation: Use Advanced data transformation functions to improve data quality and make it ready for analysis. 

Prerequisite

Import Data from Amazon RDS

Importing data from Amazon RDS comprises of three steps:

Configure Connection Details

  1. Click Import Your Data > Databases and Data lakes.
  2. Choose Amazon RDS from the listed data sources.
  3. Zoho Analytics supports many database engines in Amazon RDS.
    • My SQL
    • Microsoft SQL Server
    • Oracle
    • PostgreSQL 
    • MariaDB
    • Amazon Aurora My SQL 
    • Amazon Aurora PostgreSQL
  4. Choose the Database Type from the drop-down list.
  5. Provide the necessary credentials like Endpoint, Username, Password, and the Database Name.
  6. Choose the method that should be used to contact or connect the database to fetch the data from the How to Connect option.
  7. Choose the Connection Type.
    • Data Import: Data in the MySQL database will be imported and stored in Zoho Analytics. You can set up periodic schedules to fetch the latest data automatically from your MySQL database. Report loading time will be faster as the data is stored in Zoho Analytics.
    • Live Connect: In this mode, data will not be fetched from the MySQL database and stored in Zoho Analytics. Instead, for the reports that you create, Zoho Analytics will generate appropriate queries that will connect the required data live from the MySQL database to Zoho Analytics and show you the report. In this case, the loading time will directly depend on the performance of the MySQL database. The Live Connect option is exclusively available only in paid plans and trials.
  8. Select the checkboxes Use SSL and Use SSH to secure data transmission and then click Next.

Choose Data to Import

Once the connection details are configured, you need to decide which data you want to import from Amazon RDS. Zoho Analytics offers a range of import options, including Single Table, Multiple Table and Custom Query to support various data structures and analysis needs.

Single Table

  1. Select Single Table from the Import From section.
  2. Choose the table to import from the Select Table drop-down menu.
  3. Click Next to continue.
  4. The Import Settings and Preview wizard will open.
    • You can edit the Workspace Name, Table Name, and add a description if needed. 
    • The Data Preview section displays the first few records of your data; you can verify the column name and the data type. 
    • Unselect the checkbox adjacent to the column header to Remove Column from importing. 
  5. On Import Errors section allows you to specify how to handle error conditions in case they occur while importing data. The following are the possible options: 
    • Set Empty Value for the Column (default): Sets an empty value to the corresponding column value which had problems while importing. 
    • Skip Corresponding Rows: Skips the corresponding rows in which an error occurs while importing.  
    • Don't Import the Data: Aborts the import process if any error occurs during importing.
  6. Click Create. Data import will be initiated, and you can also choose to schedule the import.

Multiple Tables

  1. Select Multiple Tables from the Import From section.
  2. Choose the tables to be imported.
  3. Click Next to continue.
  4. In the Import Settings page that opens, specify the Workspace Name that is to be created in Zoho Analytics. You can also provide a Description about the workspace.
  5. Click the Edit icon that appears on mouse hover to edit the Table Name.
  6. Specify how to handle errors that occur during import in the On Import Errors section.
  7. Click Create. Data import will be initiated, and you can also schedule the import. 

Custom Query

  1. Select the Custom Query option and provide the SQL SELECT query in the given text area.
  2. Click Next to continue. The successive steps are similar to importing data from a single table.

Schedule Data Import

Zoho Analytics offers flexible sync schedules to ensure that the data is always up-to-date for effective analysis. It also allows you to configure which data should be fetched in each schedule.You can choose to import All the records in each schedule or the New or modified records based on the requirement.

You can choose to import all the records in each schedule or only the new records, configuring which data should be fetched.

All records

  1. Select All Records from the What data to fetch in each schedule drop-down menu.
  2. Choose one of the below options under How do you want to import the data? field.
    • Add records at the end: Appends the records to the end of the table.
    • Delete existing records and add: Deletes entire records in the Zoho Analytics table and adds the new records.
    • Add records and replace if already exists: Updates the existing records in the table and appends the new records at the end of the table. For this option, select the column(s) to match existing records.
  3. Select Include new columns added in your cloud database automatically into Zoho Analytics table(s) to import data from newly created columns in the subsequent imports. 
  4. Click Next.
  5. In the Schedule Setting pane, choose the interval in which you would like to synchronize the data. You can choose to synchronize your data at one of the intervals mentioned below.
    • Every 'N' hour (Enterprise Plan)
    • Everyday 
    • Weekly Once (Standard plan and above) 
    • Monthly Once (Standard plan and above) 
    • Selecting Not Scheduled will import the data only once, i.e., at the time of import.
    • In the case of continuous import errors, you can choose to be notified via email. To get notifications, select the interval at which you need to be notified from the Notify me after every drop-down menu.
    • You can also choose to notify the Account Admin, All Workspace Admins, All Organization Admins, or any Custom User. 

Incremental Fetch

Incremental fetch imports only the new and updated or modified records into Zoho Analytics.This method is beneficial when the database contains transactional records. that get updated frequently. Refer to the Incremental Fetch article to learn more.

Note: Import will take a few minutes to hours depending on the volume of the data. Please note, if you access the Workspace before the initial fetch is completed, you may find the tables empty (with no data).

Import Rollback

Import rollback reverts the most recent data import to the previous version. Users with administrator privileges and custom role users with permission to create tables can perform this action. Rollback facilitates the correction of errors in data without disrupting operations and also minimizes data loss. It is useful in collaborative environments where multiple users access the data and make changes.

Note:

  • Data can be reverted to its previous state within 4 hours of the import.
  • Deleted columns will not be reverted during the import rollback.
  • Any actions, such as adding a new column, creating formulas, formatting columns, and having lookups defined, will be preserved during the import rollback.

Follow the below steps to revert the data import to the previous version,

  1. Access the data table, which needs to be reverted.
  2. Click Import Data > Last Import Details.
  3. Click Rollback to revert to the previous instance.
  4. Import rollback will be initiated, displaying the status along with the details of the admin who performed the action and the time of execution.

 Manage Data Source Settings

The Data Sources tab is the central hub that helps manage all the connection settings of the data sources in the workspace. It also helps keep tabs on the data sync status and notifies in the case of data sync failures. User with the Administrator Privilege can access the data sources tab and make necessary changes when needed.

Edit Connection: Enables admins to re-authenticate and update the connection details such as credentials or configuration settings without causing any interruption to the existing data flow.

Sync Settings: Helps modify the frequency of data synchronization (e.g., change from daily to hourly syncs) based on the current needs of your analysis. In case of a sync failure, you can specify which users should be notified. You can manage the periodic fetch settings for the tables where only the newly added records are imported. Refer to the Schedule Import section to learn more.

Audit History: Audit logs are crucial for maintaining security and troubleshooting issues. They provide a comprehensive record of User and System Actions, including details of the time when the action occurred and information about the administrator who performed the action. Audit logs are maintained for each data source in the workspace.

The following are the User Actions and the System Actions that are logged in Zoho Analytics

TypeActionDescription 
User ActionData Source CreationProvides the details of the admin who configured the connection with the application
Table CreationProvides the details of the New Tables added to the workspace.
Remove Table from Data sourceProvides details of the tables that are deleted.
Edit SetupProvides the details about the Configuration changes like re-authentication, enabling or disabling SSH.
Import SettingsChanges in data fetch settings
Sync SettingsChanges in data synchronization settings
Table-level Sync nowProvides the details of what records are fetched when the sync now option is used
System ActivitiesSchedule ImportFetching data at the scheduled intervals.

Sync History: Provides a detailed record of data synchronization activities, making it easy for the administrators to track the status of each data sync. The sync operations are color-coded for immediate recognition. Successful data syncs are indicated in green, signaling that the data sync is completed without any issues. Failed data syncs are marked in red with the reasons for failure along with the necessary action to be taken.

Manage Table Synchronization Settings

Zoho Analytics provides flexible data fetch options like full data and incremental fetch, which imports only the new records. Each table can have different data fetch configurations. All the tables imported from the database will be listed with the Table and Source Table Name, What data is fetched in each sync, Last Fetch Time, and its Sync status.

  1. Hover the mouse over the table for which you want to modify the settings.
    • Click the Sync Now icon to include the recent changes made in the source database. The data records are imported based on the type of Data Fetch configured for that table. In the case of tables where only new records are imported, you can also choose to do a Full Data Fetch.
    • Click the Edit icon to modify the synchronization settings of the table. You can choose whether all the data should be fetched from the source or only the new records in each data sync schedule.
  2. Click the Delete icon to remove a table. This will terminate only the data synchronization between the source table and Zoho Analytics. The lookups and the relationships defined, and the reports created over that table, will all be retained.
  3. Click the Info icon to view the Import Details. Get a Summary of the data that were successfully imported and the data that had errors while importing.

Resolving Sync Failures

Data synchronization can fail if the credential provided is invalid or expired, or if the data type mismatches. Zoho Analytics sends an email to the workspace admin and also sends an in-app notification with the reason for failure along with the necessary action to be taken to resolve the issue. Access the Data Sources tab to resolve sync failure. Refer to the Edit Setup section for more details.

Data Blending

Combine data from various data sources, such as Files, Feeds, Cloud storage Databases, and Business applications, for in-depth analysis. While importing data in an existing workspace, Zoho Analytics auto identifies columns of the same data type and provides suggestions for lookup. With Query Tables, you can combine data from different tables in the workspace. Use query tables to import data 

To import data into an existing workspace, Click the Create icon on the side navigation panel and choose New Table/Import Data from the drop-down menu. Successive steps are similar to the steps mentioned in this section.

Import Data into an existing table

  1. Click Import > Import data into this table.
  2. Select the table you want to import.
  3. Choose how you want to import the data into the existing table and select how to handle import errors.
  4. Click Import.