Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Блиц-доклад на pgconf.russia 2018

Nikolay Sivko
February 07, 2018

Блиц-доклад на pgconf.russia 2018

Nikolay Sivko

February 07, 2018
Tweet

More Decks by Nikolay Sivko

Other Decks in Technology

Transcript

  1. PG versions 0 100 200 300 400 500 600 8.4

    9.0 9.1 9.2 9.3 9.4 9.5 9.6 10
  2. 0% 10% 20% 30% 40% 50% 60% 70% 80% 90%

    100% 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10
  3. DB size • Sum = 245 Tb • Avg =

    457 Gb • Max = 8.5 Tb • Avg (total_phys_mem:db_size) = 1 : 7
  4. WAL • Sum WAL rate= 250 MB/s (2Gbit/s) • Max

    WAL rate = 20MB/s (160Mbit/s)
  5. max_connections • Avg max_conns = 360 • Max max_conns =

    3000 • Avg actual connections = 10% (max)
  6. Memory • Avg shared_buffers_size : total_mem = 1 : 3

    • Avg buffer cache hit rate = 98 % • Avg os_page_cache : total_mem = 1 : 2
  7. Disk • Avg disk usage = 50% • IOPS read

    : write = 1.8 : 1 • IO traffic read : write = 3 : 1
  8. PG + SSD • SSD стоит в ~20% серверов* •

    SSD wearout indicator (S.M.A.R.T): – Avg = 96.5% – Min = 55%
  9. Самое главное :) • Средняя температура CPU по больнице 43.8

    °C (min=17, max=106) • Средняя температура дисков по больнице 29.3 °C (min=13, max=50)