Transactions
Database transactions are series | of operations executed | as atomic units
Giao dịch cơ sở dữ liệu là chuỗi | các thao tác được thực thi | như các đơn vị nguyên tử
to ensure data integrity.
để đảm bảo tính toàn vẹn dữ liệu.
Follow ACID properties: | Atomicity (all-or-nothing), | Consistency (valid state),
Tuân theo các thuộc tính ACID: | Tính nguyên tử (tất cả hoặc không gì cả), | Tính nhất quán (trạng thái hợp lệ),
Isolation (no interference), | Durability (permanent changes).
Tính cô lập (không can thiệp), | Tính bền vững (các thay đổi vĩnh viễn).
Ensure reliable concurrent operations | and data consistency.
Đảm bảo các thao tác đồng thời tin cậy | và tính nhất quán dữ liệu.
Resources
- SQL Transactions Tutorial (article)
- What is a Database transaction? (video)
- ACID Properties in Databases With Examples (video)
References
- https://roadmap.sh/backend (Node: [label])