Quantcast
Channel: Database Design forum
Viewing all articles
Browse latest Browse all 2729

Using two separate databases we are having difficulty in maintain referential integrity from transaction_database tables to masters_database tables

$
0
0

Environment : SQL Server 2019 , Azure SQL database, Windows server 2019

Question In our software product, we maintain two databases, one is masters_database(20 tables) and the other is transaction_database (30 tables).

masters_database comprises of about 20 master tables that requires no update in the 24x7 live environment, the masters_database tables are updated once in a while, only when configuring the product for live environment with new implementations. Number of maximum master entries in the largest tables are in the order of few hundred (less than 1000).

transaction_database comprises of about 30 tables that stores 24x7 transactions and logs in the live environment. Number of transactions are in the order of maximum 100,000 per day

Using two separate databases we are having difficultyin maintaining referential integrity from transaction_database tables to masters_database tables.

Should we maintain two separate databases for masters and transactions or merge them into one database?

Please accept my gratitude for your time and suggestions.

Thank you and warm regards,

Vijay Singh


Viewing all articles
Browse latest Browse all 2729