gpt4 book ai didi

performance - Postgresql buffers_alloc

转载 作者:行者123 更新时间:2023-11-29 13:50:12 25 4
gpt4 key购买 nike

我正在尝试为 postgresql 创建一个性能监视器。 Inpostgresql 已经看到 buffers_alloc ( https://www.postgresql.org/docs/9.2/static/monitoring-stats.html ) 并且解释是“分配的缓冲区数”。我厌倦了寻找缓冲区数量的确切含义。有人可以给我解释一下吗?

最佳答案

PostgreSQL 中的所有数据都以 8KB block 的形式组织在存储和内存中。

缓冲区是数据库共享内存中的一个 8KB block 。

关于performance - Postgresql buffers_alloc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42439971/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com