recently, I have been studying the scheme of sub-database and sub-database. I don"t have much experience. If you have any questions, I will ask you for advice.
for example, an order table with fields: placing an order for id, goods, id, store, id, issuing order time, etc.
when doing the sub-table, first consider pressing the single id to split, so that the buyer will query the data more quickly, but the seller will generally query the order by store or commodity will not be ideal, and there will be such problems in other scenarios such as customer service and administrator.
but if the product is segmented by id, the buyer query will not be ideal. So I"d like to ask you how to deal with it.