官术网_书友最值得收藏!

Understanding Transactions and Locking

Locking is an important topic in any kind of database. It is not enough to understand just how it works to write proper or better applications; it is also essential from a performance point of view. Without handling locks properly, your applications might not only be slow, they might also be wrong and behave in very unexpected ways. In my opinion, locking is the key to performance and having a good overview will certainly help. Therefore, understanding locking and transaction is important for administrators and developers alike. In this chapter, you will learn the following topics:

  • Working with PostgreSQL transactions
  • Understanding basic locking
  • Making use of FOR SHARE and FOR UPDATE
  • Understanding transaction isolation levels
  • Considering SSI transactions
  • Observing deadlocks and similar issues
  • Optimizing storage and managing cleanups

At the end of the chapter, you will be able to understand and utilize PostgreSQL transactions in the most efficient way possible.

主站蜘蛛池模板: 高唐县| 陕西省| 宿迁市| 东至县| 通化市| 曲阳县| 普宁市| 平定县| 兴化市| 蓬溪县| 拜城县| 招远市| 天气| 祁阳县| 阿鲁科尔沁旗| 微山县| 湟中县| 抚顺市| 云和县| 湄潭县| 湟源县| 拉孜县| 安泽县| 五峰| 舒兰市| 无极县| 绥棱县| 禹州市| 古丈县| 云浮市| 双峰县| 东至县| 大安市| 太原市| 石家庄市| 棋牌| 夏河县| 香格里拉县| 雷州市| 广灵县| 镇巴县|