NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Unlocking high-performance PostgreSQL with key memory optimizations (stormatics.tech)
qeternity 2 days ago [-]
Does not instill confidence when the queries they provide don't work.

For anyone curious, the corrected query:

SELECT sum(blks_hit)::numeric / nullif(sum(blks_hit + blks_read), 0) AS cache_hit_ratio FROM pg_stat_database;

itiswatitis 1 days ago [-]
I just ran their query, and it works
qeternity 7 hours ago [-]
It does not in PG17.
tehlike 2 days ago [-]
I generally use this: https://pgtune.leopard.in.ua/
arkh 2 days ago [-]
Yup, I was expecting pgtune being mentioned in the article.

And maybe something like HammerDB to check performances.

fix4fun 2 days ago [-]
Nice tool. Do you know maybe similar tool for MySQL ?
iberator 2 days ago [-]
[flagged]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 00:17:08 GMT+0000 (Coordinated Universal Time) with Vercel.