---
description: "Known limitations of FbExpert: embedded engine, backups, UDR, external sources and demonstration."
---

# Known limitations

This page gathers the limitations FbExpert **accepts**. They are documented to avoid surprises, not to be worked around with fragile tricks.

<figure>
  <img src="/images/diagrams/architecture.svg" alt="Limitations: one process, one kit, one database" />
  <figcaption>The embedded engine allows only one process per database; kits are resolved by version.</figcaption>
</figure>

## Embedded engine

- **One process per database**: the embedded engine does not allow two applications to open the same file. `gbak`, `gfix` and `isql` must therefore run while FbExpert does not have the database open.
- **System backup outside a session**: `--backup-system` requires the service to be stopped; that is why the pre-migration backup runs before the database is opened.
- **No multi-instance** on the same database: two FbExpert services must not point to the same `DataDirectory`.

## Firebird kits

- a database can only be read with the kit matching its **ODS**;
- 2.5 and 3.0 are end-of-life engines; 6.0 is a **pre-release** (`--allow-prerelease`);
- a kit belongs to the `fbexpert` account: a kit installed as root cannot be read by the service.

## UDR

- a native module must be **compiled for the target platform**: NativeAOT refuses cross-compilation from Windows to Linux;
- a loaded module is not replaced on the fly: restart the service;
- parameters are read **by position**, not by name (named arguments on the SQL side are still possible);
- `TEXT_ONLY` mode converts the page of a block (memory proportional to the page); HTML mode remains streaming;
- in demonstration mode (read-only), a visitor cannot install a module or modify a declaration.

## T-SQL compatibility

- the functions listed as "not covered" remain **skeletons** (`FBEXPERT_NOT_TRANSLATED`): they must be adapted by hand;
- `MERGE`, `FOR XML`, `TRY_CAST`, `@@TRANCOUNT` and metadata (`DB_ID`, `USER_NAME`…) are not translated;
- `YEARDAY` and `WEEKDAY` are not valid units for `DATEADD`/`DATEDIFF`;
- `VIEWS` does not expose `VIEW_DEFINITION`, and `OBJECT_ID` identifiers are offset by type;
- the `MSSQL_SCHEMA` compatibility views use Firebird schemas: they require **Firebird 6.0**. A compilation targeting 5.0 is explicitly refused (`firebird.compile.schema_requires_fb6`); compilation follows the catalogue target, a different `ExternalAnalysis:TargetVersion` is ignored.

## External sources

Current state of the workshop:

| Source | Status |
|---|---|
| Firebird 2.5 → 6 | **supported** |
| SQL Server 14 (2017) and T-SQL 2019 | **supported** |
| Oracle | to do |
| PostgreSQL | to do |
| Paradox | to do |
| dBase III+ | to do |
| SQLite | to do |
| DB2 | to do |
| MySQL / MariaDB | to do |

New connectors and programmable services (replication, scheduled backups, etc.) are added **according to the real needs** of installations, not in advance.

## Import and migration

- a skeleton is never presented as a success;
- a migration really writes to the target database: test on a copy and back up beforehand;
- triggers are disabled (`INACTIVE`) during the load, then re-enabled;
- value fidelity is checked on decimals, dates and text, but a type conversion chosen manually remains your responsibility.
- UTF8 index keys are limited by the page size (page/4): a `VARCHAR(450)` with the `UNICODE_CI` collation (ASP.NET Identity keys) requires **at least 16 KB**. The blank compilation and the workshop create their databases at 32 KB (16 KB before Firebird 4); for an import target database, choose 16 or 32 KB.

## Demonstration

- demonstration mode is **read-only** by default (`Demo:AllowAdminWrites=false`);
- IP-based lockout protects the shared account (3 failures / 10 min, 60-minute block) but the counter is held in memory: a restart resets it;
- reverting to the snapshot cuts ongoing sessions;
- public credentials live in `/etc/fbexpert/demo.env`, never in the repository.

## Site and documentation

- the site is **quadrilingual**: French (root), Brazilian Portuguese (`/pt/`), English (`/en/`) and German (`/de/`), with **23 pages translated per language**;
- each page declares its existing variants in `hreflang` (French remains the `x-default` reference); a new page must be translated into the other three languages — `npm run docs:i18n` checks it and the build regenerates `llms.txt` per language.

## Security

- the authentication cookie is `Secure`: without HTTPS, the session is not kept (`SameAsRequest` mode exists for a lab);
- behind a remote proxy, the proxy address must be declared (`--trusted-proxy`), otherwise the HTTPS scheme and the real client IP are ignored;
- anti-forgery and vault keys are in `DataDirectory/keys`: deleting them logs everyone out and makes encrypted backups unreadable if `backup.key` disappears.
