TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PostgreSQL Configuration for Humans

262 pointsby sharjeelsayedover 4 years ago

9 comments

nix23over 4 years ago
Most of the time i just use that:<p><a href="https:&#x2F;&#x2F;pgtune.leopard.in.ua&#x2F;#&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pgtune.leopard.in.ua&#x2F;#&#x2F;</a>
评论 #25029310 未加载
评论 #25025356 未加载
评论 #25026686 未加载
评论 #25025790 未加载
spapas82over 4 years ago
For me, the greatest pain of postgresql is upgrading between major versions. You need to install both versions to the same db server at the same time and then Tthe data must be copied (using pg_upgrade) between the two clusters, something that leads to downtime (that is proportional to the size of the data ie how much time it needs to copy and run some maintenance commands). If you consider that our cluster hosts databases for like 15 apps and each needs to be changed to display some &quot;maintenance mode&quot; home page you&#x27;lln understand my frustration and fear of major upgrades...<p>I know there are some ways that reduce the downtime, like hard linking the data between the clusters instead of version, or using logical replication between the clusters and switching to the new version cluster. The problem is that since I am not a full time DBA (and my organisation doesn&#x27;t have one) I don&#x27;t trust myself with these techniques and rely to the trusted pg_upgrade method that will leave the old cluster as it was with all its data intact in case anything went wrong!<p>The only good thing is that postgresql supports each major version for a lot of time (5 years) so such updates don&#x27;t need to be very frequent :)
评论 #25028044 未加载
评论 #25027787 未加载
评论 #25027694 未加载
daniellarussoover 4 years ago
I thought this was going to be a written word article. It is a 52 minute video.<p>Shame on me for not looking at the domain.<p>It is a conference.
评论 #25025617 未加载
评论 #25029328 未加载
评论 #25025562 未加载
technics256over 4 years ago
How much does something like RDS get us there regarding configuration tuning?
评论 #25030744 未加载
评论 #25029355 未加载
samokhvalovover 4 years ago
I use this almost daily. Last time it was an hour ago -- checked when hot_standby&#x27;s default changed from off to on (it was in Postgres 10).<p>Highly recommend it.
cpursleyover 4 years ago
Does anyone know if there&#x27;s a way to pull secrets into PG from an environment variable or similar and access it within PG in a way that does not directly expose the value to the db user or to logs?
评论 #25028318 未加载
评论 #25025706 未加载
RedShift1over 4 years ago
Any guides on how to combine SSD&#x27;s, software RAID (Linux md) and ext4 for best performance? Plenty of guides for the individual components but not all of them together
abledonover 4 years ago
Has anyone other than Amazon successfully migrated off oracle.. and ported stuff into Postgres... e.g. 1000s of PL&#x2F;SQL procedures&#x2F;packages moved to postgres
KoenDGover 4 years ago
The nice thing about this website it the extra explanation on most of the options, with considerations explained.