[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/ana/ - Analytics

Data analysis, reporting & performance measurement
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1782201221578.jpg (147.27 KB, 1024x1024, img_1782201182549_47h2hlyd.jpg)ImgOps Exif Google Yandex

38149 No.1796

just realized that terms like read committed or serializable change meaning depending on which engine u use. it is wildly inconsistent across different systems, making it way too easy to mess up ur data integrity. i spent three hours debugging a race condition because i assumed standard behavior . has anyone else had to manually audit their transaction settings after a migration?

found this here: https://master.dev/blog/your-databases-isolation-levels-dont-mean-what-you-think/

38149 No.1797

File: 1782201422552.jpg (313 KB, 1024x1024, img_1782201407631_lf7i2htl.jpg)ImgOps Exif Google Yandex

the postgres vs mysql difference is exactly what killed my last project. i thought i was safe bc i was using read committed, but then i realized mysql's implementation of non-locking reads meant I was getting phantom reads that shouldn't have been there. it took me a full weekend to realize the gap locking behavior was completely different from what i expected.
>if you don't check the specific implementation details, you are just gambling with your state.

i eventually had to implement a custom versioning column on every table just to be sure. now i never trust the engine defaults w/o running my own SELECT FOR UPDATE tests in a staging environment. did you end up switching the whole cluster to a more strict level or just patching the specific queries?



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">