docs/docs/en/data-sources/data-source-main/index.md
The database configured when deploying NocoBase stores NocoBase system tables and can also store application business tables.
| Database | Supported version | Community | Standard | Professional | Enterprise |
|---|---|---|---|---|---|
| MySQL | >= 8.0.17 | Yes | Yes | Yes | Yes |
| PostgreSQL | >= 10 | Yes | Yes | Yes | Yes |
| MariaDB | >= 10.9 | Yes | Yes | Yes | Yes |
| KingbaseES | >= V9 | No | No | Yes | Yes |
| OceanBase | >= 4.3 | No | No | No | Yes |
:::tip Tip
KingbaseES supports only PostgreSQL compatibility mode. OceanBase supports only MySQL compatibility mode.
:::
| Database | Plugin | Installation |
|---|---|---|
| MySQL | None | Built in; no separate installation is required. |
| PostgreSQL | None | Built in; no separate installation is required. |
| MariaDB | None | Built in; no separate installation is required. |
| KingbaseES | @nocobase/plugin-data-source-kingbase | Requires a commercial license and is enabled after installation. |
| OceanBase | @nocobase/plugin-data-source-oceanbase | Requires a commercial license and is enabled after installation. |
The main database manages collections and fields. You can:
Synchronizing existing database tables lets you manage them in NocoBase without recreating them.
With Load from database, you can:
NocoBase supports creating and managing these collection types:
NocoBase supports flexible Field interface conversion when the underlying database type is compatible.
For example, a database string field can be presented as:
This conversion does not change the underlying database storage type. It lets you adjust presentation and interaction as business requirements change while preserving existing data.
NocoBase can synchronize fields individually as well as synchronize an entire collection.
See Collection fields for details.