Connections#
A connection takes Empowerment Center to the database that holds the data being analyzed: the client database. On each connection the catalog is read, the metadata is designed, and workbooks, lists, the portal and scheduling do their work. This part explains how to create, test and maintain them.
Before you start#
- Connections are created and changed by whoever has System administration. To other users, the Administration › Connections page (
/admin/connections) only says that it is used by the system administrator. - A connection's catalog can also be read and refreshed by those with Metadata administration, from the metadata editor.
- You need a database user with the permissions described in Preparing the database. That user is not the one of ECenter's own database and cannot see its tables.
What a connection is#
ECenter keeps in its own database (a PostgreSQL or an Oracle schema) the configuration, the metadata, the security, the workbooks and the audit. The client database only has the data. A connection says how to reach it:
| Part | What it is |
|---|---|
| Name | The one users see in the connection selector. Unique in the installation, up to 100 characters. |
| Engine | PostgreSQL, SQL Server or Oracle. ECenter deduces it from the JDBC URL. |
| JDBC URL, user and password | The access details. The password is stored encrypted. |
| Data schemas | From 1 to 20 schemas, in order, from which the tables are read. ECenter only reads them. |
| Work schema | A schema different from the data ones in which ECenter creates its own tables: those of lists, groupings, external data and the temporary tables of some queries. |
| Quote the names | Whether the SQL that ECenter generates puts table and column names in quotes. |
| Only for metadata administrators | Whether the connection is hidden from users while its metadata is being designed. |
| Active or deactivated | Nobody can use a deactivated connection. |
An installation can have several connections at once (production, training, one database per group company). Each user chooses theirs when signing in; if they can only use one, they go straight into it.
The Connections page#
Administration › Connections has a table with all the connections and, when you choose one, its detail on the right. The header summarizes how many there are and how many are active (“3 connections · 2 active”).


| Column | What it says |
|---|---|
| Name | The name of the connection. |
| Engine | PostgreSQL, SQL Server or Oracle. |
| Schemas | The data schemas, separated by commas, and below them the work schema. |
| Status | Active or Deactivated and, if it is restricted, the Metadata only mark. |
| Catalog | How many tables the last catalog read has and when it was read (“21 tables · today 09:14”), or Not read. |
| Metadata | How many fact tables its metadata has, or No metadata. |
The detail of the chosen connection gives the JDBC URL, the user, the schemas in order, the options and these buttons. If the connection's engine cannot do something ECenter asks of it, a line Its engine cannot says so (for example, “create work tables (lists, groupings and external data)”); with PostgreSQL, SQL Server and Oracle it does not appear, because all three can do everything.
| Button | What it does |
|---|---|
| Test | Tests the saved connection and shows the result above the details. |
| Refresh catalog | Reads the database structure again. See The database catalog. |
| View catalog | Opens the catalog explorer in a side panel. |
| Edit | Opens the connection dialog to change it. |
| Deactivate or Activate | Takes the connection out of use or puts it back in service. See Maintaining a connection. |
Below, the File export block gathers the destinations and file formats in which the connection's workbooks write their cubes and listings after recalculation (see File export).
At the bottom of the detail there are two links: Its scheduled tasks, which goes to scheduling, and Its status and its pool in Operations, which goes to the operations console.
Next steps for a new connection#
While a connection has no metadata, its detail shows Next steps, with the steps done ticked:
- Read the database catalog.
- Design the metadata: fact tables, dimensions and metrics (Go to Metadata).
- Or import it from an Empowerment Center 7 installation, while the connection has no metadata (Import from EC7).
- Or import the package exported from another connection with “Export metadata…” (Import a package…).
- Give access in Users and roles and, if the connection is restricted, clear “Only for metadata administrators” when the design is finished.
What cannot be done#
- A connection is not deleted. It is deactivated, and it can be activated again whenever you want. That way neither the metadata nor what uses it is lost.
- A connection is not copied. To take the metadata from one connection to another, it is exported and imported as a package (see Exporting and importing the metadata).
- Creations, changes (which fields change, never their values), activations and deactivations are recorded in the audit.
- What a connection's engine cannot do is not offered: without work tables, Lists, Groupings and External data do not have the button to create and say so in the header. If it is requested anyway (through the API, or with something already made), the response is 409 with the
codeof what is missing (ENGINE_WITHOUT_WORK_TABLES,ENGINE_WITHOUT_EXPLAIN…) and a message saying the engine cannot do it, instead of a database error.
In this part#
- Preparing the database: the user, its permissions and the schemas in each engine.
- Creating and testing a connection: the connection dialog step by step.
- Maintaining a connection: changing it, the password that cannot be decrypted, activating and deactivating, and the session pool.
- The database catalog: reading it, refreshing it and exploring it.
- File export: the server folders, the destinations and the file formats of each connection, the control file, retention and its operation.
- Remote destinations: the Windows shared folder, the SFTP server, the S3 bucket and the Azure Blob container, the network, the server fingerprint and the credential.