Database consistency models and isolation levels are often overlooked--but they have massive implications on security, performance, data correctness.