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

Chapter 2. Understanding the PostgreSQL Transaction Log

In the previous chapter, we dealt with various replication concepts. That was meant to be more of a theoretical overview to sharpen your senses for what is to come, and was supposed to introduce the topic in general.

In this chapter, we will move closer to practical solutions, and you will learn how PostgreSQL works internally and what it means for replication. We will see what the so-called transaction log (XLOG) does and how it operates. The XLOG is the very backbone of the PostgreSQL onboard replication machinery. It is essential to understand how this part works in order to fully understand replication. You will learn the following topics in this chapter:

  • How PostgreSQL writes data
  • Which memory and storage parameters are involved
  • How writes can be optimized
  • How writes are replicated
  • How data consistency can be ensured

In this chapter, you will also learn about replication slots and logical decoding. Once you have completed reading this chapter, you will be ready to understand the next chapter, which will teach you how to safely replicate your first database.

主站蜘蛛池模板: 泰宁县| 靖江市| 衡东县| 芒康县| 无为县| 榆社县| 延寿县| 镇原县| 望江县| 台东市| 长宁区| 雅安市| 永昌县| 神木县| 张北县| 常德市| 开阳县| 浮山县| 天长市| 绥中县| 丰镇市| 汾阳市| 南涧| 大荔县| 肃北| 乌拉特后旗| 兴义市| 广州市| 亚东县| 九寨沟县| 肥乡县| 柳州市| 子洲县| 茶陵县| 庄河市| 泽库县| 贵港市| 江北区| 青田县| 刚察县| 清新县|