Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Блиц-доклад на pgconf.russia 2018
Search
Nikolay Sivko
February 07, 2018
Technology
430
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Блиц-доклад на pgconf.russia 2018
Nikolay Sivko
February 07, 2018
Transcript
12 slides
Интересные факты о 500+ инстансов PG наших клиентов
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
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
DB size • Sum = 245 Tb • Avg =
457 Gb • Max = 8.5 Tb • Avg (total_phys_mem:db_size) = 1 : 7
Transactions • Sum = 240 000 TPS • Commits :
rollbacks = 500 : 1
WAL • Sum WAL rate= 250 MB/s (2Gbit/s) • Max
WAL rate = 20MB/s (160Mbit/s)
max_connections • Avg max_conns = 360 • Max max_conns =
3000 • Avg actual connections = 10% (max)
Memory • Avg shared_buffers_size : total_mem = 1 : 3
• Avg buffer cache hit rate = 98 % • Avg os_page_cache : total_mem = 1 : 2
work_mem • Max = 4G • (work_mem * max_conns):total_mem =
1.5:1
Disk • Avg disk usage = 50% • IOPS read
: write = 1.8 : 1 • IO traffic read : write = 3 : 1
PG + SSD • SSD стоит в ~20% серверов* •
SSD wearout indicator (S.M.A.R.T): – Avg = 96.5% – Min = 55%
Самое главное :) • Средняя температура CPU по больнице 43.8
°C (min=17, max=106) • Средняя температура дисков по больнице 29.3 °C (min=13, max=50)
More Decks by Nikolay Sivko
See All by Nikolay Sivko
Тонкая настройка балансировки нагрузки
def
2
400
Автодискавери в мониторинге
def
0
110
Эксплуатация container based инфраструктур
def
1
340
Other Decks in Technology
See All in Technology
Amazon EFS のマルウェアスキャンをClamAV で自前実装したら苦労した話
mtmtfactory01
0
140
売り切りの先へ ~ IoTを組み込んだ製品が、事業を伸ばす理由と始め方
soracom
PRO
0
120
デザインシステムのフィードバックループをほぼ自動化した話
tongari07
1
1.4k
データ界隈LT祭の運営のふりかえり
yoshimura_datam
0
120
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
180
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
10
6.4k
社内アプリ基盤「Quartz」による、 非エンジニアとAIに本番デプロイを 任せても壊れないプラットフォームの設計
staka121
PRO
1
450
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
21
24k
攻撃と守りは何が変わり、何が変わらないのか~最近の不正アクセスから考える、リスク評価と標準の使いどころ
oidfj
2
390
AIエージェントのアーキテクチャ設計
nsatoh
0
610
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
140
セキュリティチームは どのコンテナイメージの脆弱性対応を優先すべきか 〜CISA新指針とSCCで作る脆弱性トリアージ〜
swdtkuy
0
380
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
630
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Cult of Friendly URLs
andyhume
79
7.1k
Agile that works and the tools we love
rasmusluckow
331
22k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
700
Well, that’s weird…
csswizardry
3
270
Building AI with AI
inesmontani
PRO
1
1.4k
Writing Fast Ruby
sferik
630
63k
4 Signs Your Business is Dying
shpigford
187
23k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.5k
The Spectacular Lies of Maps
axbom
PRO
1
1.2k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k