1. Separation of reading and writing
Because Internet applications read more and write less, the disadvantages of separate read and write are
disadvantages.
Master-slave synchronization is slow or synchronization is down.
2. Sub-library and sub-table
Vertical split
Disadvantages:
Business tables cannot be joined, only through the interface
Cross-database transactions cannot be guaranteed
After vertical segmentation, there is still a problem of huge single-table data
Split horizontally
Disadvantages It is
not easy to determine the split rule
Fragmentation transaction consistency is difficult to resolve
Difficulty in data migration and maintenance for secondary expansion