PostgreSQL 11 首个测试版发布:引入 JIT ,性能再提升

  

PostgreSQL 11 首个 Beta 测试版已发布,包含 PostgreSQL 11 最终版本中可用的所有特性的预览。当然,部分细节可能最终会有所变化。

PostgreSQL 11 的主要特性集中在性能、更大的数据集以及易用性上。

分区改进

  • 支持 hash partitioning

  • UPDATE statements issued to a partition key now move affected rows to the appropriate partitions

  • Improved SELECT query performance due to enhanced partition elimination during query processing and execution as well as parallelized partition scans

  • Support for PRIMARY KEYFOREIGN KEY, indexes, and triggers on partitions

PostgreSQL 11 还引入了 query 在最终聚合之前将分组和聚合分布到分区表的功能,该功能默认是禁用的,需设置 enable_partitionwise_aggregate = on 开启。

并行性改进

  • Parallelized hash joins

  • Parallelized CREATE INDEX for B-tree indexes

  • Parallelized CREATE TABLE .. ASCREATE MATERIALIZED VIEW, and certain queries with UNION

SQL 存储过程

PostgreSQL 11 引入了 SQL 存储过程,使用户能够过程中使用嵌入式事务( BEGINCOMMIT/ROLLBAC)。 过程可使用 CREATE PROCEDURE 命令创建,并使用 CALL 命令执行。

JUST-IN-TIME(JIT)

PostgreSQL 11 还引入了对 JIT(just-in-time) 编译的支持,以在运行时优化代码和其他操作的执行。

此外,PostgreSQL 11 还包括窗口函数(统计分析函数)完全支持 SQL:2011 标准,引入 SCRAM 认证的通道绑定,改进用户体验等变化,更多内容请查阅:

下载地址:

猜你喜欢

转载自www.oschina.net/news/96425/postgresql-11-beta1-released
JIT