Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,090 of 9,090 pages
About the help in other languages
All help pages

Check the database schema

Step by step - run the database consistency check on Setup > Upgrade check, read missing, changed and extra tables, download the SQL, and apply only what you understand, after a backup.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/tasks/operations/check-the-database-schema.md

On this page

Check the database schema

This task is for administrators and developers after an upgrade, an extension update or a database move. At the end you know whether the database matches what Exponential and its active extensions expect. Reference: The upgrade check, section 6.

Contents

  1. Before you start
  2. Steps
  3. Reading the result
  4. Applying SQL safely
  5. Related pages

Before you start

Steps

  1. Setup > Upgrade check (/setup/systemupgrade).
  2. Check database consistency. It compares the database with share/db_schema.dba and the schema files of active extensions.
  3. Read the figures and the card per table; Download SQL for the record. The page never runs any SQL.

Reading the result

KindMeaningDo
Missing tableshipped with Exponential or an active extension, not in the database; the feature failsrun its CREATE statement after a backup
Changed tablefields or indexes differread each statement; those marked Removes something can remove data
Table not in the schemaan own extension's table, or one of a removed extensionleave it unless you know the data is not needed
Table of an extension that is not activebelongs to an installed, inactive extensionno SQL is written for it; activate or leave
Engine notesdifferences the engine's schema handler writes no SQL fornothing

On MongoDB the check compares collections and offers the mongosh command for missing ones.

Applying SQL safely

  1. On staging first.
  2. One statement at a time, with the vendor's client.
  3. Run the check again: the table disappears from the findings.
  4. Note the statements in the change record.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x