SlideShare a Scribd company logo
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
Bruce Momjian, Principal Database Architect
Marc Linster, SVP Product Development
1
What’s new in Postgres 12
Innovation in the fastest growing open source relational
database
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
Agenda
● Who is EDB
● What’s new in PostgreSQL 12?
● What's new in EDB Postgres Advanced Server 12?
● Q&A
WHO IS EDB?
The world leader in
open-source based Postgres
software and services
3
• Founded in 2004
• Recognized RDBMS leader by:
• Gartner
• Forrester
• Customer base > 4000
• 300+ employees
• Offices worldwide
• Largest PostgreSQL
community leader
ONLY OPEN
SOURCE BASED
RDBMS IN
GARTNER MQ
EDB Recognized 6 Years
In A Row on Gartner’s
Magic Quadrant
4
5
Customers working SMARTER, reducing RISK and being more PRODUCTIVE with EDB.
OVER 4,000 CUSTOMERS
U.S Customers
EMEA Customers APAC Customers
102
of the Fortune
500
337
of the Forbes
Global 2000
EDB OPEN SOURCE LEADERSHIP
NAMED EDB OPEN SOURCE COMMITTERS AND CONTRIBUTORS
6
• CORE TEAM
• • •
• MAJOR CONTRIBUTORS • CONTRIBUTORS
Akshay
Joshi
Amul
Sul
Ashesh
Vashi
Dilip
Kumar
Jeevan
Ladhe
Mithun
Cy
Andres
Freund
Devrim
Gündüz
Thomas
Munro
Amit
Kapila
Bruce
Momjian
Dave
Page
Robert
Haas
Ashutos
h
Sharma
Rushabh
Lathia
- designates committers
PostgreSQL 12
8
Postgres 12
Link to PG 12 slides
Survey
Which databases do you use
today?
EDB Postgres Advanced
Server 12
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
EDB Postgres Advanced Server
● Super set of PostgreSQL
○ All PostgreSQL features are available in EDB Postgres Advanced Server
○ Managed fork, continuously synchronized with PostgreSQL
● When would you pick EDB Postgres Advanced Server?
○ Native PL/SQL compatibility, key Oracle packages, pragma autonomous transaction,
query hints, etc.
○ Resource Manager manages CPU and I/O resources
○ SQL Session/System Wait Diagnostics
○ EDB Loader for fast bulk loads
○ Enhanced security features
■ Separate audit log
■ Native data redaction
■ Password policy management
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
What’s new in Advanced Server 12
● New Compatibility Features (1 of 2)
○ New System Views
■ {USER|ALL|DBA}_TAB_PRIVS
■ {USER|ALL|DBA}_COL_PRIVS
■ {USER|ALL|DBA}_DEPENDENCIES
○ MEDIAN and LISTAGG
■ New aggregate functions for finding medians and
for concatenating values, respectively.
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
What’s new in Advanced Server 12
● New Compatibility Features (2 of 2)
○ CAST(MULTISET)
■ Provides an easy way to convert the result of a
subquery to a collection value.
○ COMPOUND Triggers
■ Multiple, related triggers that share access to a
common set of variables.
■ Statement and row-level triggers in a single triggers
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
What’s new in Advanced Server 12
● Logical Decoding on standby server
○ Allows creation of logical replications slots on a standby
● Interval Partitioning
○ Automatic partition creation without deadlocks
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
Interval Partitioning Example
edb=# CREATE TABLE sales (prod_id int, prod_quantity int, sold_month date)
edb-# PARTITION BY RANGE (sold_month) INTERVAL (NUMTOYMINTERVAL(1,'MONTH')) (
edb(# PARTITION jan VALUES LESS THAN ('31-JAN-2019'),
edb(# PARTITION feb VALUES LESS THAN ('28-FEB-2019'));
CREATE TABLE
edb=# d+ sales
Partitioned table "public.sales"
Column | Type | Collation | Nullable | Default | Storage | Stats target |
Description
---------------+-----------------------------+-----------+----------+---------+---------+--------------+------
--
prod_id | integer | | | | plain | |
prod_quantity | integer | | | | plain | |
sold_month | timestamp without time zone | | | | plain | |
Partition key: RANGE (sold_month) INTERVAL ('1 mon'::interval)
Partitions: sales_feb FOR VALUES FROM ('31-JAN-19 00:00:00') TO ('28-FEB-19 00:00:00'),
sales_jan FOR VALUES FROM (MINVALUE) TO ('31-JAN-19 00:00:00')
edb=# INSERT INTO sales VALUES (1,1000,'10-JAN-2019');
INSERT 0 1
edb=# INSERT INTO sales VALUES (2,100000,'25-FEB-2019');
INSERT 0 1
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
Interval Partitioning Example
--when new month entry came it will automatically create a partition for that month and insert into it.
edb=# INSERT INTO sales VALUES (1,19000,'05-MAR-2019');
psql: NOTICE: Low value ('28-FEB-19 00:00:00') High value ('28-MAR-19 00:00:00')
INSERT 0 1
edb=# d+ sales
Partitioned table "public.sales"
Column | Type | Collation | Nullable | Default | Storage | Stats target |
Description
---------------+-----------------------------+-----------+----------+---------+---------+--------------+------
--
prod_id | integer | | | | plain | |
prod_quantity | integer | | | | plain | |
sold_month | timestamp without time zone | | | | plain | |
Partition key: RANGE (sold_month) INTERVAL ('1 mon'::interval)
Partitions: sales_feb FOR VALUES FROM ('31-JAN-19 00:00:00') TO ('28-FEB-19 00:00:00'),
sales_jan FOR VALUES FROM (MINVALUE) TO ('31-JAN-19 00:00:00'),
sales_sys1271190103 FOR VALUES FROM ('28-FEB-19 00:00:00') TO ('28-MAR-19 00:00:00')
Survey
How soon are you planning to
deploy Postgres 12?
Upcoming events
Pulse of
Postgres
Installing Postgres on
Linux
Sept 11
Installing Postgres in
Docker Containers
Sept 25
Installing Postgres on
Windows
Oct 9
Contact Information, info@enterprisedb.com
QUESTIONS & DISCUSSION
19

More Related Content

What's hot (20)

PDF
How to Build On-demand Oracle Compatible Postgres Database in Minutes
EDB
 
PDF
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EDB
 
PPTX
PostgreSQL to Accelerate Innovation
EDB
 
PDF
EDB & ELOS Technologies - Break Free from Oracle
EDB
 
PDF
No Time to Waste: Migrate from Oracle to EDB Postgres in Minutes
EDB
 
PPTX
Les nouveautés d'EDB Postgres 11
EDB
 
PPTX
Advanced Database Patterns for Kubernetes
EDB
 
PPTX
Creating a Multi-Layered Secured Postgres Database
EDB
 
PDF
HTAP By Accident: Getting More From PostgreSQL Using Hardware Acceleration
EDB
 
PPTX
Preview of the EDB Postgres Roadmap
EDB
 
PPTX
EDB Postgres Platform 11 Webinar
EDB
 
PDF
Discover PostGIS: Add Spatial functions to PostgreSQL
EDB
 
PPTX
New Approaches to Integrating Oracle and Postgres Database Strategies
EDB
 
PPTX
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
EDB
 
PDF
Remote DBA Service: Powering your DBA needs
EDB
 
PDF
EDB Failover Manager - Features and Demo
EDB
 
PDF
KT/KTDS Case Study: Open Source Database Adoption in Telecom
EDB
 
PPTX
Migrate Today: Proactive Steps to Unhook from Oracle
EDB
 
PPTX
Neuerungen in EDB Postgres 11
EDB
 
PDF
New Strategies for Database Modernization
EDB
 
How to Build On-demand Oracle Compatible Postgres Database in Minutes
EDB
 
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EDB
 
PostgreSQL to Accelerate Innovation
EDB
 
EDB & ELOS Technologies - Break Free from Oracle
EDB
 
No Time to Waste: Migrate from Oracle to EDB Postgres in Minutes
EDB
 
Les nouveautés d'EDB Postgres 11
EDB
 
Advanced Database Patterns for Kubernetes
EDB
 
Creating a Multi-Layered Secured Postgres Database
EDB
 
HTAP By Accident: Getting More From PostgreSQL Using Hardware Acceleration
EDB
 
Preview of the EDB Postgres Roadmap
EDB
 
EDB Postgres Platform 11 Webinar
EDB
 
Discover PostGIS: Add Spatial functions to PostgreSQL
EDB
 
New Approaches to Integrating Oracle and Postgres Database Strategies
EDB
 
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
EDB
 
Remote DBA Service: Powering your DBA needs
EDB
 
EDB Failover Manager - Features and Demo
EDB
 
KT/KTDS Case Study: Open Source Database Adoption in Telecom
EDB
 
Migrate Today: Proactive Steps to Unhook from Oracle
EDB
 
Neuerungen in EDB Postgres 11
EDB
 
New Strategies for Database Modernization
EDB
 

Similar to Whats New in Postgres 12 (20)

PPTX
New and Improved Features in PostgreSQL 13
EDB
 
PDF
PostgreSQL 13 is Coming - Find Out What's New!
EDB
 
PDF
Introducing Postgres Plus Advanced Server 9.4
EDB
 
PDF
Introducing Postgres Plus Advanced Server 9.4
EDB
 
PDF
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
EDB
 
PDF
EDB 13 - New Enhancements for Security and Usability - APJ
EDB
 
PPTX
New enhancements for security and usability in EDB 13
EDB
 
PDF
Practical Partitioning in Production with Postgres
Jimmy Angelakos
 
PDF
Practical Partitioning in Production with Postgres
EDB
 
PDF
New enhancements for security and usability in EDB 13
EDB
 
PPTX
Powering GIS Application with PostgreSQL and Postgres Plus
Ashnikbiz
 
PDF
Technical Introduction to PostgreSQL and PPAS
Ashnikbiz
 
PDF
Partition and conquer large data in PostgreSQL 10
Ashutosh Bapat
 
PDF
Maria_Colgan_2.pdf
Lucky Ally
 
PDF
The Truth About Partitioning
EDB
 
PDF
What's New in Postgres Plus Advanced Server 9.3
EDB
 
PDF
The Central View of your Data with Postgres
EDB
 
PPTX
PostgreSQL as a Strategic Tool
EDB
 
PDF
Top 10 Tips for an Effective Postgres Deployment
EDB
 
PDF
Best Practices – Extreme Performance with Data Warehousing on Oracle Databa...
Edgar Alejandro Villegas
 
New and Improved Features in PostgreSQL 13
EDB
 
PostgreSQL 13 is Coming - Find Out What's New!
EDB
 
Introducing Postgres Plus Advanced Server 9.4
EDB
 
Introducing Postgres Plus Advanced Server 9.4
EDB
 
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB
 
New enhancements for security and usability in EDB 13
EDB
 
Practical Partitioning in Production with Postgres
Jimmy Angelakos
 
Practical Partitioning in Production with Postgres
EDB
 
New enhancements for security and usability in EDB 13
EDB
 
Powering GIS Application with PostgreSQL and Postgres Plus
Ashnikbiz
 
Technical Introduction to PostgreSQL and PPAS
Ashnikbiz
 
Partition and conquer large data in PostgreSQL 10
Ashutosh Bapat
 
Maria_Colgan_2.pdf
Lucky Ally
 
The Truth About Partitioning
EDB
 
What's New in Postgres Plus Advanced Server 9.3
EDB
 
The Central View of your Data with Postgres
EDB
 
PostgreSQL as a Strategic Tool
EDB
 
Top 10 Tips for an Effective Postgres Deployment
EDB
 
Best Practices – Extreme Performance with Data Warehousing on Oracle Databa...
Edgar Alejandro Villegas
 
Ad

More from EDB (20)

PDF
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
EDB
 
PDF
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
EDB
 
PDF
Migre sus bases de datos Oracle a la nube
EDB
 
PDF
EFM Office Hours - APJ - July 29, 2021
EDB
 
PDF
Benchmarking Cloud Native PostgreSQL
EDB
 
PDF
Las Variaciones de la Replicación de PostgreSQL
EDB
 
PDF
NoSQL and Spatial Database Capabilities using PostgreSQL
EDB
 
PDF
Is There Anything PgBouncer Can’t Do?
EDB
 
PDF
Data Analysis with TensorFlow in PostgreSQL
EDB
 
PDF
A Deeper Dive into EXPLAIN
EDB
 
PDF
IOT with PostgreSQL
EDB
 
PDF
A Journey from Oracle to PostgreSQL
EDB
 
PDF
Psql is awesome!
EDB
 
PPTX
Comment sauvegarder correctement vos données
EDB
 
PDF
Cloud Native PostgreSQL - Italiano
EDB
 
PPTX
Best Practices in Security with PostgreSQL
EDB
 
PDF
Cloud Native PostgreSQL - APJ
EDB
 
PDF
Best Practices in Security with PostgreSQL
EDB
 
PDF
EDB Postgres & Tools in a Smart City Project
EDB
 
PDF
All you need to know about CREATE STATISTICS
EDB
 
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
EDB
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
EDB
 
Migre sus bases de datos Oracle a la nube
EDB
 
EFM Office Hours - APJ - July 29, 2021
EDB
 
Benchmarking Cloud Native PostgreSQL
EDB
 
Las Variaciones de la Replicación de PostgreSQL
EDB
 
NoSQL and Spatial Database Capabilities using PostgreSQL
EDB
 
Is There Anything PgBouncer Can’t Do?
EDB
 
Data Analysis with TensorFlow in PostgreSQL
EDB
 
A Deeper Dive into EXPLAIN
EDB
 
IOT with PostgreSQL
EDB
 
A Journey from Oracle to PostgreSQL
EDB
 
Psql is awesome!
EDB
 
Comment sauvegarder correctement vos données
EDB
 
Cloud Native PostgreSQL - Italiano
EDB
 
Best Practices in Security with PostgreSQL
EDB
 
Cloud Native PostgreSQL - APJ
EDB
 
Best Practices in Security with PostgreSQL
EDB
 
EDB Postgres & Tools in a Smart City Project
EDB
 
All you need to know about CREATE STATISTICS
EDB
 
Ad

Recently uploaded (20)

PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 

Whats New in Postgres 12

  • 1. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. Bruce Momjian, Principal Database Architect Marc Linster, SVP Product Development 1 What’s new in Postgres 12 Innovation in the fastest growing open source relational database
  • 2. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. Agenda ● Who is EDB ● What’s new in PostgreSQL 12? ● What's new in EDB Postgres Advanced Server 12? ● Q&A
  • 3. WHO IS EDB? The world leader in open-source based Postgres software and services 3 • Founded in 2004 • Recognized RDBMS leader by: • Gartner • Forrester • Customer base > 4000 • 300+ employees • Offices worldwide • Largest PostgreSQL community leader
  • 4. ONLY OPEN SOURCE BASED RDBMS IN GARTNER MQ EDB Recognized 6 Years In A Row on Gartner’s Magic Quadrant 4
  • 5. 5 Customers working SMARTER, reducing RISK and being more PRODUCTIVE with EDB. OVER 4,000 CUSTOMERS U.S Customers EMEA Customers APAC Customers 102 of the Fortune 500 337 of the Forbes Global 2000
  • 6. EDB OPEN SOURCE LEADERSHIP NAMED EDB OPEN SOURCE COMMITTERS AND CONTRIBUTORS 6 • CORE TEAM • • • • MAJOR CONTRIBUTORS • CONTRIBUTORS Akshay Joshi Amul Sul Ashesh Vashi Dilip Kumar Jeevan Ladhe Mithun Cy Andres Freund Devrim Gündüz Thomas Munro Amit Kapila Bruce Momjian Dave Page Robert Haas Ashutos h Sharma Rushabh Lathia - designates committers
  • 8. 8 Postgres 12 Link to PG 12 slides
  • 9. Survey Which databases do you use today?
  • 11. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. EDB Postgres Advanced Server ● Super set of PostgreSQL ○ All PostgreSQL features are available in EDB Postgres Advanced Server ○ Managed fork, continuously synchronized with PostgreSQL ● When would you pick EDB Postgres Advanced Server? ○ Native PL/SQL compatibility, key Oracle packages, pragma autonomous transaction, query hints, etc. ○ Resource Manager manages CPU and I/O resources ○ SQL Session/System Wait Diagnostics ○ EDB Loader for fast bulk loads ○ Enhanced security features ■ Separate audit log ■ Native data redaction ■ Password policy management
  • 12. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. What’s new in Advanced Server 12 ● New Compatibility Features (1 of 2) ○ New System Views ■ {USER|ALL|DBA}_TAB_PRIVS ■ {USER|ALL|DBA}_COL_PRIVS ■ {USER|ALL|DBA}_DEPENDENCIES ○ MEDIAN and LISTAGG ■ New aggregate functions for finding medians and for concatenating values, respectively.
  • 13. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. What’s new in Advanced Server 12 ● New Compatibility Features (2 of 2) ○ CAST(MULTISET) ■ Provides an easy way to convert the result of a subquery to a collection value. ○ COMPOUND Triggers ■ Multiple, related triggers that share access to a common set of variables. ■ Statement and row-level triggers in a single triggers
  • 14. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. What’s new in Advanced Server 12 ● Logical Decoding on standby server ○ Allows creation of logical replications slots on a standby ● Interval Partitioning ○ Automatic partition creation without deadlocks
  • 15. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. Interval Partitioning Example edb=# CREATE TABLE sales (prod_id int, prod_quantity int, sold_month date) edb-# PARTITION BY RANGE (sold_month) INTERVAL (NUMTOYMINTERVAL(1,'MONTH')) ( edb(# PARTITION jan VALUES LESS THAN ('31-JAN-2019'), edb(# PARTITION feb VALUES LESS THAN ('28-FEB-2019')); CREATE TABLE edb=# d+ sales Partitioned table "public.sales" Column | Type | Collation | Nullable | Default | Storage | Stats target | Description ---------------+-----------------------------+-----------+----------+---------+---------+--------------+------ -- prod_id | integer | | | | plain | | prod_quantity | integer | | | | plain | | sold_month | timestamp without time zone | | | | plain | | Partition key: RANGE (sold_month) INTERVAL ('1 mon'::interval) Partitions: sales_feb FOR VALUES FROM ('31-JAN-19 00:00:00') TO ('28-FEB-19 00:00:00'), sales_jan FOR VALUES FROM (MINVALUE) TO ('31-JAN-19 00:00:00') edb=# INSERT INTO sales VALUES (1,1000,'10-JAN-2019'); INSERT 0 1 edb=# INSERT INTO sales VALUES (2,100000,'25-FEB-2019'); INSERT 0 1
  • 16. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. Interval Partitioning Example --when new month entry came it will automatically create a partition for that month and insert into it. edb=# INSERT INTO sales VALUES (1,19000,'05-MAR-2019'); psql: NOTICE: Low value ('28-FEB-19 00:00:00') High value ('28-MAR-19 00:00:00') INSERT 0 1 edb=# d+ sales Partitioned table "public.sales" Column | Type | Collation | Nullable | Default | Storage | Stats target | Description ---------------+-----------------------------+-----------+----------+---------+---------+--------------+------ -- prod_id | integer | | | | plain | | prod_quantity | integer | | | | plain | | sold_month | timestamp without time zone | | | | plain | | Partition key: RANGE (sold_month) INTERVAL ('1 mon'::interval) Partitions: sales_feb FOR VALUES FROM ('31-JAN-19 00:00:00') TO ('28-FEB-19 00:00:00'), sales_jan FOR VALUES FROM (MINVALUE) TO ('31-JAN-19 00:00:00'), sales_sys1271190103 FOR VALUES FROM ('28-FEB-19 00:00:00') TO ('28-MAR-19 00:00:00')
  • 17. Survey How soon are you planning to deploy Postgres 12?
  • 18. Upcoming events Pulse of Postgres Installing Postgres on Linux Sept 11 Installing Postgres in Docker Containers Sept 25 Installing Postgres on Windows Oct 9