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

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.

主站蜘蛛池模板: 仙游县| 如东县| 内乡县| 丰县| 龙游县| 凤阳县| 徐闻县| 岐山县| 乌什县| 隆安县| 大新县| 太康县| 玉山县| 三门县| 东港市| 南华县| 新丰县| 西青区| 义乌市| 乐昌市| 福泉市| 平和县| 万载县| 石泉县| 汽车| 青浦区| 钟祥市| 临泽县| 英超| 克什克腾旗| 渭源县| 西丰县| 漠河县| 驻马店市| 剑阁县| 贵港市| 冀州市| 宁国市| 文安县| 木兰县| 津南区|