🎉 PostgreSQL 14 has been released today.

The amount of new features EVERY YEAR is incredible and there are again many nice features greatly improving your daily life. Most important this year is JSONB!

👇 Keep reading for an overview of the most important features.
👉Improved JSONB

If you never stored any JSON content in your tables you are definitely missing out on some very great features of PostgreSQL. From now on, you can use an improved syntax with much simpler support for updating nested values. postgresql.org/docs/14/dataty… Image
👉Multirange Types

Range Types have always been a fantastic feature of PostgreSQL and I totally fell in love with them. You can now store multiple ranges within one column and use the extensive range operators for querying.

postgresql.org/docs/14/ranget…
postgresql.org/docs/14/functi… Image
👉Date Binning

This may look like a small feature, but I have implemented it so often in the past. I am thrilled it's now in the core. Like truncing with date_trunc() to a specified precision, you can now bin the date to a completely custom interval. postgresql.org/docs/14/functi… Image
👉SEARCH/CYCLE

Recursive queries are a powerful but lesser known feature. They have now been improved with the ability to specify depth-first or breadth-first search. And cycle detection will prevent you from doing infinite recursion. postgresql.org/docs/14/querie…
👉 LZ4 compression for TOAST values (much faster, slight more used space)
👉 Improvements for handling large number of connections
👉 Smaller B-Tree bloat
👉 pg_read_all_data/pg_write_all_data for backup/restore and monitoring apps

And many more... postgresql.org/docs/release/1…
If you enjoyed reading this summary of the most important PostgreSQL 14 innovations, feel free to follow me. I regularly share database news, knowledge and tips & tricks.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Tobias Petry

Tobias Petry Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @tobias_petry

21 Sep
I finished a large chunk on improving the enhanced @PostgreSQL driver for @laravelphp. The new version has a lot of new indexing functionality to make your database queries really fast and use all the power of PostgreSQL 🔥

👇 All new features explained one-by-one Image
With partial indexes you can limit an index to only handle specific rows to build smaller indexes or even do things you couldn't do before. You can e.g. make the email address now unique by ignoring duplicate values in soft-deleted rows.

Read more:
use-the-index-luke.com/sql/where-clau… Image
You can add columns to the index which are not used for lookups but can be used to get the most efficient type of lookups a database can do: index-only lookups and index-only scans.

You should read the article to fully understand how powerfull this is:
use-the-index-luke.com/blog/2019-04/i… Image
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(