PostgreSQL 17 release

watch 2m, 36s
views 2

10:39, 30.09.2024

PostgreSQL 17 was released in September 2024, and updates to the current version will be delivered until November 2029. The main additions and changes to the project are as follows:

  • New features for working with JSON have been added. If we talk directly about functionality, there is a new jsonpath operator so that you can convert data from native format to PostgreSQL, in addition, JSON-TABLE function became available, which is necessary for converting data to PostgreSQL. New functions for querying and creating JSON format data have also been introduced;
  • The approach in the data structure of the VACUUM operation has been changed. Now during the execution of the operation less resources will be used and thus the execution speed will be increased;
  • If a B-tree-based index is used in a query with IN in such a variant, the efficiency will be significantly improved. Parallel construction will be available in BRIN indexes. CTE processing when using WITH command is slightly accelerated, and NOT NULL queries are also optimized. SIMD will be used to speed up certain calculations;
  • The MERGE command has been slightly modified to create conditional expressions. RETURNING support is now available, the expression outputs a value based on changes or deletions made;
  • Improved throughput in systems with a large number of simultaneous requests. The WAL log code has been modified to achieve optimization. In the ANALYZE operation, the speed of data processing in tables to update statistical data has been increased;
  • In the batch mode, some changes were made regarding data loading/exporting. Also in COPY command, it became possible to increase the speed of export, copying was optimized a bit and ON_ERROR command was added - it ensures the continuation of import even if there was an error in loading some data;
  • DBMS update has been simplified; the logical replication mechanism has been considerably simplified in case of any changes in the database. Previously, the replication process included deleting the replication slots, but now this stage has been canceled. Now you just need to switch to a failover server for logical replication. Also, the pg_createsubscriber utility, which is needed for conversion to logical replication, has been released;
  • Support for Constraint exclusion optimization has been added to sectioned tables and it is now possible to set unique identifiers for columns;
  • EXPLAIN command added information about memory and time consumption during input and output. With the help of SERIALIZE and MEMORY options, it is possible to retrieve exact information about the time and memory used to change data for further transfer;
  • It is now possible to transfer IN/EXISTS queries in external postgres_fdw tables to an external server;
  • Added support for incremental backups in the pg_basebackup utility. In order to restore a backup from multiple copies you can now apply pg_combinebackup. And with the filter option in pg_dump it is now possible to select necessary objects;
  • The pg_maintain role has been added, giving the right to manage and maintain the DBMS;
  • It is now possible to use pg_wait_events together with pg_stat_activity to detect the reason for data being in the waiting state.
Share

Was this article helpful to you?

VPS popular offers

-4.8%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
40 GB HDD
Bandwidth
Bandwidth
300 Gb
wKVM-HDD HK 1024 Windows

10.29 /mo

/mo

Billed annually

-16.3%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
30 GB SSD
Bandwidth
Bandwidth
40 Mbps
DDoS Protected SSD-KVM 2048 Linux

48 /mo

/mo

Billed annually

-5.9%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
Unlimited
wKVM-SSD 2048 Windows

14.8 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 8192 Linux

25.25 /mo

/mo

Billed annually

-15.4%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
100 Mbps
DDoS Protected SSD-wKVM 16384 Windows

130 /mo

/mo

Billed annually

-21%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
8 TB
wKVM-SSD 8192 Metered Windows

65 /mo

/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
50 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-KVM-SSD 4096 Linux

60.5 /mo

/mo

Billed annually

-12.3%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-wKVM-SSD 16384 Windows

237 /mo

/mo

Billed annually

-5.6%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
60 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 2048 Windows

13.7 /mo

/mo

Billed annually

-15.3%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
40 Mbps
DDoS Protected SSD-wKVM 2048 Windows

54 /mo

/mo

Billed annually

Other articles on this topic

cookie

Accept cookies & privacy policy?

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the HostZealot website.