PostgreSQL Internals in Action: Shared Memory and Buffers

preview_player
Показать описание
PostgreSQL uses shared memory to expedite access to the database by caching data in memory and to coordinate the execution of requests from multiple standalone Postgres backends/sessions. In this episode, we're looking into shared buffers, one of the areas of shared memory that holds table data for read and write operations.

0:00 Shared memory overview
5:43 Shared buffers in action

Want to reproduce all the steps on your end? Use this guide:

Interested in diving deeper into databases? Stay connected with me here:
Рекомендации по теме
Комментарии
Автор

Another simple and awesome video. Great work pal! I can't wait for the next episode 🍿

MrApalazuelos
Автор

Thanks a lot, very helpful video with crisp and to the point information. One query i had, would be helpful if you can advise.

Isn't a shared memory where multiple database backend processes handling respective client connections and using this shared memory to storedl client database data a security risk ? Considering that in case of some mishandling of shared memory, one compromised backend process can read or modify data of another database handled by another backend process ?

dcode