Open Closed

[General Query] Does ABP natively support mixing of tenant DB and Host DB? (i.e AbpUsers in host DB, SaasTenant in tenant DB) #7952


User avatar
0
Bryan-EDV created
  • ABP Framework version: v8.3
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: N/A

Hi all,

I would like to have some entities (e.g. Book, AbpUsers) be stored in the tenant's database, while other entities (e.g. SaasTenant, other Abp* tables ) be stored in the host's database. Is this something that ABP supports natively? Would storing AbpUsers in a tenant database cause issues if SaasTenants is in the host database?

Does anyone have guides or documentation for implementing such functionality?

Thank you Bryan

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    no, ABP doesn't support it

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    You can read these documents to understand it

    https://abp.io/docs/latest/framework/fundamentals/connection-strings https://abp.io/docs/latest/framework/architecture/multi-tenancy

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.