Main vs External Databases
The differences between main databases and external databases in NocoBase are primarily reflected in four aspects: database type support, collection type support, field type support, and backup and migration capabilities.
1. Database Type Support
For more details, see: Data Source Manager
Database Types
Collection Management
2. Collection Type Support
For more details, see: Collections
3. Field Type Support
For more details, see: Collection Fields
Basic Types
Choice Types
Media Types
Date & Time Types
Geometric Types
Advanced Types
System Info Fields
Association Types
Attachment fields depend on file collections, which are only supported by main databases. Therefore, external databases do not currently support attachment fields.
4. Backup and Migration Support Comparison
NocoBase provides backup, restore, and structure migration capabilities for main databases. For external databases, these operations need to be completed independently by users according to their own database environments. NocoBase does not provide built-in support.
Summary Comparison
Recommendations
- If you are using NocoBase to build a new business system, please use the main database, which will allow you to use NocoBase's complete functionality.
- If you are using NocoBase to connect to other systems' databases for basic CRUD operations, then use external databases.

