docs/docs/en/data-sources/data-source-main/index.md
NocoBase's main database can be used to store both business data and the metadata of the application, including system table data and custom table data. The main database supports relational databases such as MySQL, PostgreSQL, etc. During the installation of the NocoBase application, the main database must be installed synchronously and cannot be deleted.
This is a built-in plugin, no separate installation is required.
The main data source provides complete collection management functionality, allowing you to create new tables through NocoBase and sync existing table structures from the database.
An important feature of the main data source is the ability to sync tables that already exist in the database into NocoBase for management. This means:
Through the "Load from Database" feature, you can:
NocoBase supports creating and managing various types of collections:
NocoBase supports flexible field type conversion based on the same database type.
Example: String Type Field Conversion Options
When a database field is of String type, it can be converted to any of the following forms in NocoBase:
This flexible conversion mechanism means:
NocoBase not only syncs entire tables but also supports granular field-level sync management:
This flexible synchronization mechanism allows NocoBase to integrate well into existing technical architectures, without requiring changes to existing database management practices, while still enjoying the convenience of low-code development that NocoBase provides.
See more in the Collection Fields / Overview section.