Lightup account setup

Lightup needs an account that can query data and metadata for all tables you want to monitor. You might already have an account set up that will work, or you might need to create one. Grant the account SELECT rights, preferably using a security role. Make note of the user name and password— you'll need them to create a Greenplum datasource in Lightup.

You can run the following SQL as a DBA to create the Lightup user and a role with sufficient privileges for all the tables in a schema, and then grant that role to the Lightup user account.

  • The script names the Lightup user account lightup, but you can use an existing account or another name; likewise the role name readaccess can be a different name if you prefer.
  • If you only want to include one schema, remove ', <another_schema>'.
  • Replace <schema name>, <another_schema>, and <password> with your own values. Note that you can include more schemas by appending them with commas.
CREATE USER lightup WITH <password>;
GRANT USAGE ON SCHEMA <schema_name>, <aacount_name> TO readaccess;
GRANT SELECT ON ALL TABLES IN SCHEMA <schema_name>, <another_schema> TO readaccess;
GRANT ROLE readaccess TO lightup;

For more information about managing access using roles in Greenplum, see their page, Managing Roles and Privileges.

Configure connector

  • Host Name - The hostname for the datasource (check the browser address bar; you want the string between // and /). Example:
  • Database Name - The name of the database you're connecting to. Each datasource can only connect to one database. If you need to connect to more than one, you'll need to create a datasource for each.
  • Username - Enter the account name (e.g., lightup).
  • Password - The account's password.

Advanced/Schema scan frequency

You can adjust how often scans run for a datasource.

  • In section 3 - Advanced, select a value for Schema scan frequency: Hourly, Daily, or Weekly.

Query Governance

Greenplum datasources support the Query History, Scheduling, Enable data storage, and Maximum backfill duration, and Maximum distinct values settings. For steps, see Set query governance settings for a datasource.

Metadata metrics

For information about supported metadata metrics, see Metadata metric types.

Date/time data types

These Greenplum date/time data types are supported:

  • DATE

Object types

These Greenplum object types are supported:


Greenplum datasources support partitions and partition time zones.