Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

clog.c

Blame
    • Robert Haas's avatar
      33aaa139
      Make the number of CLOG buffers adaptive, based on shared_buffers. · 33aaa139
      Robert Haas authored
      Previously, this was hardcoded: we always had 8.  Performance testing
      shows that isn't enough, especially on big SMP systems, so we allow it
      to scale up as high as 32 when there's adequate memory.  On the flip
      side, when shared_buffers is very small, drop the number of CLOG buffers
      down to as little as 4, so that we can start the postmaster even
      when very little shared memory is available.
      
      Per extensive discussion with Simon Riggs, Tom Lane, and others on
      pgsql-hackers.
      33aaa139
      History
      Make the number of CLOG buffers adaptive, based on shared_buffers.
      Robert Haas authored
      Previously, this was hardcoded: we always had 8.  Performance testing
      shows that isn't enough, especially on big SMP systems, so we allow it
      to scale up as high as 32 when there's adequate memory.  On the flip
      side, when shared_buffers is very small, drop the number of CLOG buffers
      down to as little as 4, so that we can start the postmaster even
      when very little shared memory is available.
      
      Per extensive discussion with Simon Riggs, Tom Lane, and others on
      pgsql-hackers.