Skip to content
M↓ View as Markdown ↗

Actian Ingres

Connect an Actian Ingres database so that Actian AI Analyst can query its tables for Models, Metrics, and SemQL. In Studio, this connector is the Ingres tile.

Availability

  • Who can do this: members with the Edit capability in the active Workspace. If your organization turns on Restrict connection management, adding or changing organization connections also needs the Manage organization capability. See Who can add connections.
  • Plan: your organization's plan can leave this connector out. Studio then doesn't show the Ingres tile.
  • Deployment: offered only on deployments that are set up to reach Actian, Ingres, Informix, and ZenDB databases. If the Ingres tile isn't listed under Warehouses, ask your administrator.

Use a read-only user

AI Analyst only needs read access. This connector can't enforce read-only access by itself, so Studio shows "This Connector cannot enforce read-only access itself. Supply a warehouse user that is limited to read-only privileges." AI Analyst asks the driver for a read-only session where the driver supports it, and limits how long queries run and how many rows they return. See Read-only access and query limits.

1. Create a read-only user

Create a dedicated database user for AI Analyst. Run the following SQL as a user with administrative privileges:

-- Create a user for Actian AI Analyst
CREATE USER actian_analyst_user WITH PASSWORD = '<your_secure_password>';

2. Grant read access to your tables

Grant the user read access to each table you want to use:

-- Grant read-only access to a specific table
GRANT SELECT ON your_schema.your_table_name TO actian_analyst_user;

Repeat this for each table.

Info

Ingres organizes tables into schemas. Grant access to the tables in each schema you plan to use. When you set up the connection, you choose those schemas in the Schemas list after a successful test.

3. Allow network access

If your Ingres instance is protected by a firewall, allow AI Analyst's egress IP addresses on your Ingres listener port (default 21071).

  • If your deployment publishes its egress IP addresses, Studio lists them under Which IPs to allow in the Setup help panel next to the connection form.
  • Otherwise, for example on a self-managed deployment, allow your installation's outbound addresses, or ask your administrator which addresses to allow.

For details, see Network access and IP allowlisting.

4. Add the connection in Studio

  1. In Studio, open Connections and click + (Add connection).
  2. Under Warehouses, select Ingres.
  3. Under Connection details, enter a Name (for example Our Analytics DB) and, if you like, a Description (optional).
  4. Leave Private to this Workspace unticked to create an organization connection, or tick it to keep the connection in this Workspace only. See Data connections and Workspaces.
  5. Under Credentials, fill in the fields described in Connection fields, or paste a connection string.
  6. Click Test connection and wait for Connection successful.
  7. In Schemas, select the schemas you granted access to in step 2. In Ingres, a schema is a table owner, so the list shows the owners of the user tables in the database. The first one is preselected. If you change the selection, the test result is cleared: click Test connection again (your selection is kept) and wait for Connection successful.
  8. Click Save connection.

Save connection stays disabled until the connection has a name and a successful test. If you change a credential field after testing, test again. For the general flow and the Setup help panel, see Connect a data source.

Connection fields

Field What to enter
Host The hostname without a protocol (no https://), for example ingres-host.example.com.
Port The port your instance accepts JDBC connections on. The default is 21071.
Database The database name, for example mydb. Required.
Username actian_analyst_user, or the read-only user you created.
Password The password you set in step 1.
Schemas Appears after a successful test. Select the schemas to expose for browsing and Model authoring.

Host and Database can't contain ;, =, or spaces.

Ports and listen addresses

The default port 21071 matches the Ingres listen address II7, the usual default for JDBC access. When you paste a connection string, Studio converts II to port 21064, II1 to 21065, and so on up to II7 (21071). For any other listen address, enter the port number your database administrator gives you.

Paste a connection string

Instead of typing each field, you can fill the form from a connection string:

  1. Under Credentials, click Paste a connection string.
  2. Paste a JDBC URL or an ODBC-style string into Connection string, for example:

    jdbc:ingres://ingres-host.example.com:II7/mydb;UID=actian_analyst_user;PWD=<your_secure_password>
    
    Server=ingres-host.example.com;Port=21071;Database=mydb;UID=actian_analyst_user;PWD=<your_secure_password>
    
  3. Click Fill the form, then check the filled-in fields.

A symbolic listen address such as II7 is converted to its port number (21071). Studio fills the fields in your browser. It doesn't store the string, and nothing is sent until you test the connection.

Troubleshooting

Problem What to try
The Ingres tile isn't listed The connector isn't enabled for your deployment or isn't included in your organization's plan. Ask your administrator.
This warehouse type isn't available right now Your deployment can't currently reach Ingres databases. Contact your administrator.
Could not reach the warehouse Check Host and Port (the JDBC listen address), and allow AI Analyst through your firewall (step 3).
Authentication failed Check Username and Password.
This warehouse user cannot see those objects Grant the user read access to the tables (step 2).
The schema you need isn't in Schemas Check that Database names the database that holds its tables. The list only shows owners of user tables.

For the other messages, see If the test fails.

Next steps