# Optimistic `vs.` Pessimistic
+ Optimistic transaction  (`TiDB` as the client for example)
  + Traditional model
  + The default model for **`autocommit`**
+ Pessimistic transaction (`TiDB` as the client for example)
  + New default model
  + Built on top of optimistic transaction

------------------------------------------------------------

