For the online market under construction, I was faced with a situation requiring the implementation of a solution to fine the database. I am new to sharding, and after reading the posts on this forum, I believe that a template-based strategy using business units would be appropriate. But I still do not understand how best to use the methods of denormalization and data synchronization with such a stunning solution. There will be 3 main objects, supplier, customer and order. I plan to outline the database based on the vendor ID, since most of the processing of order data will be done by the vendor administrators. This will ensure that orders for the supplier are received from a single db instance, excluding cross db samples. However, in this case, when customers view their order information,the data will be in multiple db instances and will require a large database. What is usually done when such scenarios appear in a closed solution.
source
share