{"Entry":{"collection":"guc","key":"bgwriter_lru_percent","name":"bgwriter_lru_percent","aliases":[],"metadata":{"baseline":false,"boot_human":"Not specified","boot_val":null,"category":"Resource Usage","category_zh":"","changed_in":[],"changes":[{"documentation_changed":false,"fields":{},"from":"8.0","status":"added","to":"8.1"},{"documentation_changed":true,"fields":{},"from":"8.1","status":"changed","to":"8.2"},{"documentation_changed":false,"fields":{},"from":"8.2","status":"removed","to":"8.3"}],"content_hash":"9f301f54f3872353cf0e0bf6d0b76ac37054446b2c3085d6c7a1c470b25ba846","context":"","default_changed_in":[],"default_history":[],"editorial":{},"enumvals":[],"first_version":"8.1","group":"Resource Usage","group_slug":"resource","imported_at":"2026-09-27T17:57:30.895807+08:00","intro_commit":{},"key":"bgwriter_lru_percent","last_version":"8.2","max_val":"","min_val":"","name":"bgwriter_lru_percent","position":47,"present_in":["8.1","8.2"],"short_desc":"To reduce the probability that server processes will need to issue their own writes, the background writer tries to write buffers that are likely to be recycled soon.","short_desc_zh":"","source_rev":"english-manuals:723566ce23cb30a99f1e87a4a6e78046471beda654ed4bfa3902b1286f748354","unit":"","vartype":"real"}},"Definition":{"Collection":"guc","Key":"bgwriter_lru_percent","SourceDatabase":"center","Version":"8.2","SourceTable":"guc","SourceKey":"bgwriter_lru_percent","SourceRevision":"english-manuals:723566ce23cb30a99f1e87a4a6e78046471beda654ed4bfa3902b1286f748354","Facts":{"boot_val":null,"category":"Background Writer","context":"","description":"To reduce the probability that server processes will need to issue their own writes, the background writer tries to write buffers that are likely to be recycled soon. In each round, it examines up to bgwriter_lru_percent of the buffers that are nearest to being recycled, and writes any that are dirty. The default value is 1.0 (1% of the total number of shared buffers). This parameter can only be set in the postgresql.conf file or on the server command line.","doc":{"anchor":"GUC-BGWRITER-LRU-PERCENT","file":"runtime-config-resource.html","lang":"en","sha256":"58e7050a55a788769e3cb0bb328aebf1aeb4d49b4cc7e101c0c375786ccb870c","slug":"8.2"},"documented":true,"enumvals":[],"extra_desc":"","lang":"en","max_val":null,"metadata_version":"","min_val":null,"name":"bgwriter_lru_percent","short_desc":"","source":"english-manual","unit":"","vartype":"real"},"ManualEvidence":{"doc":{"anchor":"GUC-BGWRITER-LRU-PERCENT","file":"runtime-config-resource.html","lang":"en","sha256":"58e7050a55a788769e3cb0bb328aebf1aeb4d49b4cc7e101c0c375786ccb870c","slug":"8.2"}},"MeasuredEvidence":{"metadata_version":""}},"Text":{"Collection":"guc","Key":"bgwriter_lru_percent","SourceDatabase":"center","Version":"8.2","Locale":"en","Title":"bgwriter_lru_percent","Summary":"To reduce the probability that server processes will need to issue their own writes, the background writer tries to write buffers that are likely to be recycled soon. In each round, it examines up to bgwriter_lru_percent of the buffers that are nearest to being recycled, and writes any that are dirty. The default value is 1.0 (1% of the total number of shared buffers). This parameter can only be set in the postgresql.conf file or on the server command line.","BodyHTML":"\u003cp\u003eTo reduce the probability that server processes will need to issue their own writes, the background writer tries to write buffers that are likely to be recycled soon. In each round, it examines up to bgwriter_lru_percent of the buffers that are nearest to being recycled, and writes any that are dirty. The default value is 1.0 (1% of the total number of shared buffers). This parameter can only be set in the postgresql.conf file or on the server command line.\u003c/p\u003e","SourceRevision":"english-manuals:723566ce23cb30a99f1e87a4a6e78046471beda654ed4bfa3902b1286f748354","ContentHash":"3b52739e3ece5683233ba42f8d8f338c98ba9921e9424f7a2ba555973df2dabd","Payload":{"description":"To reduce the probability that server processes will need to issue their own writes, the background writer tries to write buffers that are likely to be recycled soon. In each round, it examines up to bgwriter_lru_percent of the buffers that are nearest to being recycled, and writes any that are dirty. The default value is 1.0 (1% of the total number of shared buffers). This parameter can only be set in the postgresql.conf file or on the server command line."}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["8.1","8.2"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
