Earlier quoted context omitted.
schools either never worked or stopped working. after all, look, almost all the people who went to school don't give a fuck about underperforming underfunded school systems. (or healthcare or ... or if they care they are ignorant and clueless about what to do with the problem, and easily fell prey to political dogma of some group.) it's simply time to stop worrying about it.
School systems are not underfunded. They're underperforming despite being overly funded. We're throwing good money after bad.
PostgreSQL 16
81–89 of 89 posts
Re: PostgreSQL 16
#82Earlier quoted context omitted.
schools either never worked or stopped working. after all, look, almost all the people who went to school don't give a fuck about underperforming underfunded school systems. (or healthcare or ... or if they care they are ignorant and clueless about what to do with the problem, and easily fell prey to political dogma of some group.) it's simply time to stop worrying about it.
The people underfunding our schools had their private schooling paid for by virtue of being unconscionably wealthy. The more you realise what has happened the more maddeningly upset you will get, so it's best not to think about it. Sufficed to say: you're wrong, additionally: dead wrong and it's not relevant for a topic about databases.
if a few thousand private school darlings can bamboozle hundreds of millions for decades, then the problem is not just with them.
of course it's cultural and it's due to the very strong biases of the last who-knows-how-many centuries.
> and it's not relevant for a topic about databases
it's very relevant for the whole concept of FOSS "moon landings" and the commons
Re: PostgreSQL 16
#83anytime a huge multi-decades-old FOSS project lands a milestone, I can't help but equate it to something like a moon landing. So much (unpaid) work and thought goes into stewarding open software. Kudos to the whole team. Software infra is just as important as bridges and roads -- here's hoping we can fund it at least as well, for humanity's sake. [1] [1]: https://www.fordfoundation.org/work/learning/research-report..…
Isn't the work in large projects often done by those paid by their employers on "company time"? For instance Bruce Momjian by EDB.
I used to be paid full time to mostly work on a Linux kernel subsystem. This discussion is silly.
Re: PostgreSQL 16
#84Earlier quoted context omitted.
I probably meant to say "synchronous_commit", which is how data is written to disk from the WAL. If you want full data guarantees, with regular hard drives, you'd be looking at less than 200 transactions per second. You set synchronous_commit to off, and suddenly you can do 10k transactions per second. You can tune when the WAL gets flushed to disk based on time and/or size. So you can set the amount of recent data l…
> If you want full data guarantees, with regular hard drives, you'd be looking at less than 200 transactions per second. That sounds like an anecdote from the time before SSDs. > "setting this parameter to off does not create any risk of database inconsistency: an operating system or database crash might result in some recent allegedly-committed transactions being lost, but the database state will be just the same as…
Yes, I stated "regular hard drives" :)
Re: PostgreSQL 16
#85Earlier quoted context omitted.
They just changed the versioning scheme; it used to be that e.g. 9.3 -> 9.4 was a major version (i.e. can't be upgraded in-place). Starting with PG 10 major versions are now 10 -> 11, etc. I don't believe the major release cadence itself changed that much
It seems like they fell more inline with Semantic Versioning when that format came in vogue. Semantic Versioning is what most devs expect now; it makes sense to communicate the version in a format that has a broadly understood meaning for devs.
Re: PostgreSQL 16
#86Anyone know more about the "vacuum" improvements? To make my database fast, I often have to do a vacuum full on some key tables. Which is basically a freeze all access to the table, and copy byte by byte to a new physical file. So as your data size doubles, the vacuum full time doubles. Have a table that is so big I basically can't vacuum full it anymore (in an acceptable amount of downtime).
Re: PostgreSQL 16
#87Anyone know more about the "vacuum" improvements? To make my database fast, I often have to do a vacuum full on some key tables. Which is basically a freeze all access to the table, and copy byte by byte to a new physical file. So as your data size doubles, the vacuum full time doubles. Have a table that is so big I basically can't vacuum full it anymore (in an acceptable amount of downtime).
As other commenter mentioned, you can use pg_repack. We also had similar issue and we configured it to run every month and it works flawlessly.
Re: PostgreSQL 16
#88Earlier quoted context omitted.
How do you figure? Postgres docs are quite clear. Table space is not reclaimed without a vacuum full. So delete a column in a big table? you are storing that data forever.
Have you tried pg_repack?
Re: PostgreSQL 16
#89Earlier quoted context omitted.
How do you figure? Postgres docs are quite clear. Table space is not reclaimed without a vacuum full. So delete a column in a big table? you are storing that data forever.
If rewriting the table is part of a regular workflow, then database configuration can play a significant role in its performance. However I still contend that rewriting tables regularly is an anti pattern. Are you able to partition any of your tables so that you can VACUUM FULL the partitions individually?