# Greenplum

Greenplum Database is a parallel processing (MPP) database server with an architecture specially designed to manage large-scale analytic data warehouses and business intelligence workloads. In the OvalEdge application, the Greenplum connector allows users to crawl and profile datasets like Tables, Columns, and Views and helps build the data catalog and lineage.&#x20;

![greenplum\_hubspot](https://support.ovaledge.com/hs-fs/hubfs/greenplum_hubspot.png?width=688\&height=302\&name=greenplum_hubspot.png)

#### **Connector Capabilities**

The connector capabilities are shown below:

**Crawling**

| **Features** | **Supported Objects**                                                                                                       | **Remarks** |
| ------------ | --------------------------------------------------------------------------------------------------------------------------- | ----------- |
| Crawling     | Tables, Table Columns, Views, Stored Procedures, Functions, Triggers, Roles, Users, Permissions, Triggers, Usage Statistics | -           |

**Profiling**

| **Features**     | **Details**                                   | **Remarks**                                                                                                          |
| ---------------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| Table Profiling  | Row count, Columns count, View sample data    | -                                                                                                                    |
| View Profiling   | Row count, Columns count, View sample data    | View is treated as a table for profiling purposes.                                                                   |
| Column Profiling | Min, Max, Null count, distinct, top 50 values | **Un-Supported datatypes**: “blob", "clob", "lob", "img", "bytea", "aclitem\[]", "\_aclitem", "xid", "array", "json" |
| Full Profiling   | Supported                                     | -                                                                                                                    |
| Sample Profiling | Supported                                     | -                                                                                                                    |

**Lineage Building**

| **Lineage entities** | **Details**                                                         |
| -------------------- | ------------------------------------------------------------------- |
| Table Lineage        | Supported                                                           |
| Column Lineage       | Supported                                                           |
| Lineage Sources      | Stored Procedures, Functions, Views, SQL queries (from Query Sheet) |

**Querying**

| **Operation**          | **Details**                |
| ---------------------- | -------------------------- |
| Select                 | Supported                  |
| Insert                 | Not supported, by default. |
| Update                 | Not supported, by default. |
| Delete                 | Not supported, by default. |
| Joins within database  | Supported                  |
| Joins outside database | Not supported              |
| Aggregations           | Supported                  |
| Group By               | Supported                  |
| Order By               | Supported                  |

#### **Prerequisites**

The following are prerequisites for connecting to the Greenplum:

Greenplumn jdbc driver should be placed in the jar path before creating a connection, then download the jar from here.

**Drivers**

The APIs/drivers used by the connector are given below:

| **Sl.No** | **Driver / API** | **Version**              | **Details**                                                           |
| --------- | ---------------- | ------------------------ | --------------------------------------------------------------------- |
| 1         | jdbc driver      | greenplum-jdbc-5.1.4.jar | <https://mvnrepository.com/artifact/com.pivotal/greenplum-jdbc/5.1.4> |

**Configuring Environment Variables**

Configuring environment names enables you to select the appropriate environment from the drop-down list when adding a connector. This allows for consistent crawling of schemas across different environments, such as production (PROD), staging (STG), or temporary environments. It also facilitates schema comparisons and assists in application upgrades by providing a temporary environment that can later be deleted.

Before establishing a connection, it is important to configure the environment names for the specific connector. If your environments have been configured, skip this step.&#x20;

**Steps to Configure the Environment**

1. Log into the OvalEdge application.
2. Navigate to **Administration** >  **System Settings**.
3. Select the Connector tab.
4. Find the key name “connector.environment”.<br>
5. Enter the desired environment values (PROD, STG) in the **Value** column.
6. Click ✔ to Save.

**Service Account Permissions**

A service account is required for crawling and profiling. By default, the service account provided for the connector will be used for any query operations. If the service account has a write privilege, insert, update, and delete queries can be executed. The minimum privileges required are listed below.

| **Operation**         | **Access Permission**            |
| --------------------- | -------------------------------- |
| Connection Validation | Select                           |
| Crawling              | Select, Reference, and Execution |
| Profiling             | Read, Select                     |
| Query execution       | Select Execution                 |

#### **Establish a Connection**

To connect to Greenplum using the OvalEdge application, complete the following steps:

1. Log in to the **OvalEdge** application.
2. Navigate to **Administration** > **Connectors.**
3. Click on the + (New Connector) icon.<br>
4. The **Add Connector** pop-up window is displayed, and you can search for the Greenplum connector.<br>
5. The Add Connector with Connector Type specific details pop-up window is displayed. Enter the relevant information to configure the Greenplum connection.\
   **Note:** An asterisk (\*) denotes a mandatory field for establishing a connection.<br>

   | **Field Name**                   | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
   | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | Connector Type                   | This field allows you to select the connector from the drop-down list provided. By default, 'Greenplum' is displayed as the selected connector type.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
   | Credential Manager\*             | <p>Select the option from the drop-down menu where you want to save your credentials:</p><p><br></p><p><strong>OE Credential Manager:</strong> The Greenplum connection is configured with the basic Username and Password of the service account in real time when OvalEdge establishes a connection to the Greenplum database. Users must manually add the credentials if the OE Credential Manager option is selected.</p><p><br></p><p><strong>HashiCorp:</strong> The credentials are stored in the HashiCorp database server and fetched from HashiCorp to OvalEdge.  </p><p><br></p><p><strong>AWS Secrets Manager:</strong> The credentials are stored in the AWS Secrets Manager database server and fetched from the AWS Secrets Manager to OvalEdge.</p><p><br></p><p>For more information on Azure Key Vault, refer to <a href="https://support.ovaledge.com/azurekeyvaultintegration">Azure Key Vault.</a></p><p><br></p><p>For more information on Credential Manager, refer to <a href="https://support.ovaledge.com/credential-manager">Credential Manager</a>.</p> |
   | License Add Ons                  | <p>By default, all the connectors will have a Base Connector License, which allows you to crawl and profile to obtain metadata and statistical information from a data source. </p><p>OvalEdge supports various License Add-Ons based on the connector’s functionality requirements.</p><ul><li>Select the Auto Lineage Add-On license that enables the automatic construction of the Lineage of data objects for a connector with the Lineage feature. </li><li>Select the Data Quality Add-On license to identify, report, and resolve the data quality issues for a connector whose data supports data quality using DQ Rules/functions, Anomaly detection, Reports, and more.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                         |
   | Connector Name\*                 | The connection name refers to the Greenplum database connection in the OvalEdge application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
   | Connector Environment            | <p>The Connector Environment drop-down list allows you to select the environment configured for the connector from the drop-down list. </p><p>For example, you can select PROD or STG (based on the items configured in the OvalEdge configuration for the connector environment).</p><p>The purpose of the environment field is to help you identify which connector is connecting what type of system environment (Production, STG, or QA).</p><p> <em><strong>Note:</strong> The</em> <a href="https://support.ovaledge.com/greenplum#Configureenvivar"><em>Configuring Environment Variables</em></a> <em>section explains setting up environment variables.</em></p>                                                                                                                                                                                                                                                                                                                                                                                                           |
   | Server\*                         | <p>Specify the name of the Greenplum database instance server IP/URL, which is accessible via the OvalEdge application.</p><p><em><strong>Example</strong></em>: </p><p><strong>IP</strong>: 190.x1.x3.xx90</p><p><strong>Server</strong>: ovalgreenplumdbms.com</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
   | Port\*                           | By default, port number 5432, which is related to the Greenplum database, is displayed. A new port number can be provided if needed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
   | Database\*                       | Enter the source database name for crawling.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
   | Driver\*                         | A JDBC driver is a Java library file with the extension .jar that connects to a database. The driver details associated with the Greenplum database will be auto-populated by default.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
   | Username\*                       | Enter the Service Account Username of the Greenplum Server.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
   | Password\*                       | Enter the password of the Greenplum server name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
   | Connection String                | <p>Set the Connection string toggle button to get the details from the credentials provided automatically. Alternatively, you can manually enter the string.</p><p><br></p><p><em><strong>Format</strong></em>: jdbc:pivotal:greenplum://{server}:5432;database={sid}</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
   | Plugin Server                    | Enter the server name if you are running this as a plugin.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
   | Plugin Port                      | The port number on which the plugin is running.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
   | **Default Governance Roles**     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
   | Steward\*                        | Select the Steward from the drop-down list options.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
   | Custodian\*                      | Select the Custodian from the drop-down list options.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
   | Owner\*                          | Select the Owner from the drop-down list options.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
   | Governance Roles 4, 5, 6\*       | <p>Select the respective user from the drop-down options.</p><p><br></p><p><em>Note: The drop-down list displays all the configurable roles (for a single user or a team) according to the configurations made in the OvalEdge <strong>Security</strong> > <strong>Governance Roles</strong> section.</em></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
   | **Admin Roles**                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
   | Integration Admins\*             | <p>To add Integration Admin Roles, search for or select one or more roles from the Integration Admin options, then click the <strong>Apply</strong> button.<br>The Integration Admin's responsibilities include configuring the connector's crawling and profiling settings and deleting connectors, schemas, or data objects.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
   | Security and Governance Admins\* | <p>To add Security and Governance Admin roles, search for or select one or more roles from the list and click the <strong>Apply</strong> button.<br>The Security and Governance Admin is responsible for:</p><ul><li>Configuring role permissions for the connector and its associated data objects.</li><li>Adding admins to set permissions for the connector's roles and associated data objects.</li><li>Updating governance roles.</li><li>Creating custom fields.</li><li>Developing Service Request templates for the connector.</li><li>Creating approval workflows for  Service Request templates.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
   | No. of Archive Objects\*         | The number of archive objects indicates the number of recent metadata modifications made to a dataset at a remote/source location. By default, the archive objects feature is deactivated. However, users may enable it by clicking the Archive toggle button and specifying the number of objects they wish to archive.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
   | Select Bridge\*                  | <p>With the OvalEdge Bridge component, any cloud-hosted server can connect with any on-premise or public cloud data source(s) without modifying firewall rules. A bridge provides real-time control, making data movement between source and destination easy. For more information, refer to</p><p><a href="https://support.ovaledge.com/bridge-overview">Bridge Overview</a>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
6. After entering all the required connection details, select the appropriate option based on your preferences:&#x20;
   1. **Validate:** Click the Validate button to verify the connection details. This ensures that the provided information is accurate and enables successful connection establishment.
   2. **Save:** Click on the Save button to store the connection details. Once saved, the connection will be added to the Connectors home page for easy access.
   3. **Save & Configure:** For certain Connectors requiring additional configuration settings, click the Save & Configure button. This will open the Connection Settings pop-up window, allowing you to configure the necessary settings before saving the connection.
7. Once the connection is validated and saved, it will be displayed on the Connectors home page.

***Note:** You can either save the connection details first or validate the connection first and then save it.*

**Connection Validation Details**

| **S.No** | **Error Message(s)**                                            | **Description**                                                                                                       |
| -------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| 1        | Connection Time Out                                             | <p>The browser could not establish a connection to the server in time.</p><p>Check if the port is enabled or not.</p> |
| 2        | Failed to establish a connection, please check the credentials. | In case of an invalid username and password.                                                                          |

***Note**: If you have issues creating a connection, please contact your assigned OvalEdge Customer Success Management (CSM) team.*

#### **Connector Settings**

Once the connection is successfully established, various settings are provided to fetch and analyze the information from the data source.

The connection settings include Crawler, Profiler, Query Policies, Access Instruction, Business Glossary Settings, Anomaly Detection Settings, and Others.

To view the Connector Settings page,

1. Go to the Connectors page.
2. From the 9- dots, select the **Settings** option.
3. This will display the Connector Settings page, where you can view all the connector settings.

   | **Connection Settings**            | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
   | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
   | Crawler                            | Crawler settings are configured to connect to a data source and collect and catalog all the data elements in metadata.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
   | <p>Profiler</p><p><br><br><br></p> | Profiler settings govern the gathering of statistics and informative summaries about the connected data source(s). These statistics can help assess the quality of data sources before using them for analysis. Profiling is always optional; crawling can be run without profiling.                                                                                                                                                                                                                                                                                                                                                                               |
   | Query Policies                     | A query policy enforces security by preventing users with specific roles from performing certain query functions on the data source.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
   | Access Instruction                 | Access Instruction allows the data owner to instruct others on using the objects in the application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
   | Business Glossary Settings         | The Business Glossary Settings provide flexibility and control over how users view and manage term association within a business glossary at the connector level.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
   | Anomaly Detection Settings         | Anomaly Detection Settings enable users to configure anomaly detection preferences at the connector level. By default, the configuration aligns with the global settings in System Settings and cannot be modified.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
   | Others                             | <p>The Enable/Disable Metadata Change Notifications option sets the change notification about metadata changes of the data objects.</p><ul><li>You can use the toggle button to set the Default Governance Roles (e.g., Steward, Owner Custodian, etc.). </li><li>Using the <strong>Roles</strong> and <strong>Teams</strong>, you can select the role and team to receive the notification of metadata changes.When you have finished making your desired changes, click on <strong>Save Changes</strong>. All setting changes will be applied to the metadata.<br>The following is a list of connection settings and their corresponding descriptions.</li></ul> |

***Note**: For more information, refer to the* [*Connector Settings.*](https://support.ovaledge.com/connector-settings)

#### **Crawling of Schema(s)**

The **Crawl/Profile** option allows you to select the schema for the following operations:     &#x20;

Crawl, Crawl & Profile, Profile, or Profile Unprofiled. Under the Action section, the defined run date and time are displayed for any scheduled crawlers and profilers.

1. Navigate to the Connectors page and click on the **Crawl/Profile** button.\
   **Select Schemas to Crawl and Profile** pop-up window is displayed.
2. Select the schema.
3. The list of actions below is displayed in the **Action** section.
   1. **Crawl**:  This allows the selected schema(s) metadata to be crawled.
   2. **Crawl & Profile**: This allows the metadata of the selected schema(s) and profiles of the sample data to be crawled.
   3. **Profile**: This allows the collection of table column statistics.
   4. **Profile Unprofiled**: This allows data that has not been profiled to be profiled.
   5. **Schedule**: Connectors can also be scheduled in advance to run crawling and/or profiling at prescribed times and selected intervals.\
      **Note:** For more information on Scheduling, refer to [Scheduling Connector](https://support.ovaledge.com/how-to-schedule-connectors).
4. Click on the **Run** button. This gathers all metadata from the connected source and puts it into the OvalEdge Data Catalog.

#### **Additional Information**

The following system-level schemas exist in every database:

* pg\_catalog contains the system catalog tables, built-in data types, functions, and operators. It is always part of the schema search path, even if it is not explicitly named in the search path.
* information\_schema consists of a standardized set of views that contain information about the objects in the database. These views get system information from the system catalog tables in a standardized way.
* pg\_toast stores large objects, such as records that exceed the page size. This schema is used internally by the Greenplum Database system.
* pg\_bitmapindex stores bitmap index objects such as lists of values. This schema is used internally by the Greenplum Database system.
* pg\_aoseg stores append-optimized table objects. This schema is used internally by the Greenplum Database system.
* gp\_toolkit is an administrative schema that contains external tables, views, and functions that you can access with SQL commands. All database users can access gp\_toolkit to view and query the system log files and other system metrics.

***

Copyright © 2025, OvalEdge LLC, Peachtree Corners, GA, USA.
