mysql - How to ensure data consistency under large batch update operations?
習慣沉默
習慣沉默 2017-06-22 11:54:46
0
1
746

During the execution of large batch update operations, the application layer is not aware of it. It will only know when the update is completed.
The current method that comes to mind is the a/b library mechanism. Are there any other methods?

習慣沉默
習慣沉默

reply all(1)
学霸

For transactions, use try catch, if an error occurs, rollback, if not, commit

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!