How to implement the ACID model for a database?

前端 未结 3 1520
滥情空心
滥情空心 2021-02-04 21:29

How do Igo about achieving the ACID properties for my database - A- Atomicity, C- Consistency, I- Isolation, D- Durability. Database system being used - MySql.

3条回答
  •  逝去的感伤
    2021-02-04 22:16

    Use the innoDB-engine in MySQL, create a proper database schema including foreign keys, use transactions for related queries, use servergrade hardware and let the database do it's job.

    http://en.wikipedia.org/wiki/ACID

提交回复
热议问题