The database catalog#
The catalog is the structure of a connection's database: its tables and views, its columns with their type, its primary and foreign keys and its indexes. ECenter reads it from the data schemas and stores it, so as not to ask the engine every time. The metadata editor uses it to choose tables and columns, propose relationships and warn about what no longer exists.
Before you start#
- Reading and refreshing the catalog can be done by those with System administration (from Administration › Connections) and by those with Metadata administration (from the metadata editor).
- The connection must be active to refresh its catalog.
When to refresh it#
The catalog is a snapshot: it does not change by itself when the database changes. Refresh it:
- after creating the connection, if the automatic read failed;
- when tables, views or columns that you want to use in the metadata are added;
- when the metadata editor shows the strip “3 metadata items are no longer in the database” and you know the database has already been fixed;
- after changing the database or the schemas of the connection.
Refresh the catalog#
- Press Refresh catalog: in the connection detail, in the catalog explorer or in the consistency strip of the metadata editor.
- Wait. The button says Reading the catalog….
When it finishes, the connection detail summarizes it: “Catalog read: 21 tables and views in COMERCIAL”. If the database belonged to Empowerment Center 7, it adds the tables it left behind, which are not offered (“…, and 3 from EC7 that are not offered”).
Reading is a background job. If it takes longer than 10 seconds (ecenter.datasource.catalog.refresh-wait), the screen stops waiting and says “The catalog is still being read in a job: you can follow it in Activity. It will appear here when finished.”.
Reading the catalog does not change the metadata. What the metadata names and is no longer in the catalog is marked in the editor as It is not in the database, for you to fix.
Explore the catalog#
View catalog, in the connection detail or in the header of the metadata editor, opens the explorer in a side panel.


The list shows the tables in pages (Previous and Next), with these columns:
| Column | What it says |
|---|---|
| Table | The schema and the name. |
| Type | Table or View. |
| Columns | How many columns it has. |
| Primary key | Yes or No. |
| Foreign keys | How many it has. |
| In the metadata | What it already is in the metadata: “Fact table “Clientes””, “Auxiliary table” or both. |
To search, type Part of the name in Search table… and, if the connection reads several schemas, choose the Schema. Pressing a table opens its detail:
- its columns, with their Type, whether they are Nullable and whether they belong to the Primary key;
- its Foreign keys, with the table they point to (also in another data schema);
- its Indexes (a view has none).
Back to the tables returns to the list.
The tables that are not offered#
The catalog has all the tables of the data schemas, but some are not offered for creating fact tables. Their detail explains it with a mark:
| Mark | What it is |
|---|---|
| External data | An external data table, in the work schema. It is managed in External data. |
| EC7 grouping | A table of an Empowerment Center 7 grouping (DATAGI_nnnn, DATAGILU_nnnn) that remained in the data schema. The EC7 importer reads it. |
| EC7 list | The table of an Empowerment Center 7 list (DATALIST_nnnn). |
| EC7 external data | An Empowerment Center 7 external data table (DATAUSERFT_nnnnn). If it was in its metadata, the EC7 importer creates it in External data. |
ECenter's work tables (those of lists and groupings) are in the work schema, which the catalog does not read as a data schema.
If something does not show up#
| Situation | What to do |
|---|---|
| The catalog has not been read yet | Press Read the catalog. |
| A table or a view is missing | Check that it is in one of the connection's data schemas and that the connection user can read it. Then refresh. |
| A table without a primary key | ECenter reads it anyway, but it cannot be an auxiliary table. As a fact table, it will only support lists and forms if its Primary key is marked in its panel of the metadata editor. |
| A foreign key that does not show up in Oracle | In Oracle only foreign keys that point to a primary key show up. |
| “The catalog could not be read: …” | The connection does not work or a permission is missing. Test it with Test. |