SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
What’s new in Postgres Plus
Advanced Server 9.3?
Craig Silveira
Director, Product management
© 2013 EDB All rights reserved 8.1.

1
Postgres Plus: A Super-Set of Features
Synchronized with and contributing to the PostgreSQL community

© 2013 EDB All rights reserved 8.1.

2
Core PostgreSQL New Features/
Improvements
© 2013 EDB All rights reserved 8.1.

3
PostgreSQL 9.3 Performance!
•  pg_upgrade parallel process enhancements

pg_upgrade performance
seconds vs number of tables

© 2013 EDB All rights reserved 8.1.

4
PostgreSQL 9.3 Performance!
•  Optimize Referential Integrity Checks Involving NULLs
−  #1 deadlock issue in Postgres
−  UPDATEs that do not affect columns in foreign key now take new
lock: NO KEY UPDATE lock so it doesn’t block
−  Foreign key checks use KEY SHARE lock which doesn’t block
−  Should greatly benefit systems with high concurrency

•  New lock parameter
−  Lock_timeout specifies how long to wait to acquire a lock

© 2013 EDB All rights reserved 8.1.

5
PostgreSQL 9.3 Materialized Views!
•  A stored query result
•  Can be refreshed ad-hoc
•  For results that don't need to be completely up-to-date
•  Useful for reporting and warehousing data
•  Can be indexed like a regular table
•  Won’t thrash shared cache
•  Can reduce memory usage of server
•  #1 requested feature by Postgres Community

© 2013 EDB All rights reserved 8.1.

6
Materialized View Example!
CREATE TABLE survey_results (id serial PRIMARY KEY,
survey_date date, survey_id int, survey_result_count int);!
!
!
SELECT survey_date, count(survey_result_count)
total_surveys,!
round(avg(survey_result_count))
average_result,!
min(survey_result_count) smallest_sample,!
max(survey_result_count) largest_sample!
FROM survey_results!
GROUP BY survey_date!
ORDER BY survey_date ASC;!
!
CREATE MATERIALIZED VIEW survey_summary AS!
SELECT survey_date, count(survey_result_count)
total_surveys,!
round(avg(survey_result_count))
average_result,!
min(survey_result_count) smallest_sample,!
max(survey_result_count) largest_sample!
FROM survey_results!
GROUP BY survey_date!
ORDER BY survey_date ASC;!
!
SELECT * FROM survey_summary;!
!
!

© 2013 EDB All rights reserved 8.1.

7

Takes 7.5 seconds to
execute on test machine on
table with 20 million rows:
7552.442 ms

Creating the view takes the
same time to execute as the
original query.

Executing survey_summary
query takes 4.62ms
PostgreSQL 9.3 Additional Features!
•  User Defined Background Worker Processes
−  Develop own processes using PostgreSQL as workload coordinator

•  Writeable Foreign Tables
•  Extend large object access to 4TB
−  The previous limit was 2GB

•  Auto updateable views – instead of triggers no longer needed
•  Event Triggers
−  Triggers fire on DDL actions

•  Continued development of NoSQL-like functionality
−  Additional constructor and extractor methods
−  JSON parsing support
−  Hstore/JSON casting functions

•  LATERAL Joins
© 2013 EDB All rights reserved 8.1.

8
PostgreSQL 9.3 Additional Features con’t!
•  Enhanced Reliability and Availability
−  Fast failover
−  Ensures sub second failover thus providing ‘carrier grade’ availability

−  Streaming re-mastering
−  Makes reconfiguration of replicas after failover easier

−  Data page checksums
−  Helps identify bad disks that could lead to data corruption

−  PG_ISREADY utility
−  A new CLI utility to test whether a server is ready to accept connections
−  Ex pg_isready –h localhost –p 5432

−  Pg_basebackup generates basic recovery file
−  Simplifies setup of standby database

−  Architecture independent streaming

© 2013 EDB All rights reserved 8.1.

9
PPAS New Features

© 2013 EDB All rights reserved 8.1.

10
Advanced Server 9.3 Oracle Compatibility!
•  Package Support for:
− 
− 
− 
− 
− 

DBMS_RANDOM - random number generator
DBMS_SCHEDULER – db job scheduler
DBMS_CRYPTO – data encryption
DBMS_LOCK.sleep
DBMS_MVIEW – materialized view management

•  Package Support for:
−  UTL_HTTP – make url calls and return page contents
−  UTL_URL

•  Support for Functions:
−  REGEXP_INSTR
−  REGEXP_COUNT
−  REGEXP_SUBSTR

•  Custom constructor methods for Objects
•  Oracle compatible Materialized Views

© 2013 EDB All rights reserved 8.1.

11
Advanced Server 9.3!
•  EDB Loader Enhancements
−  Perform updates as well as inserts
−  New bulk loading options – ROWS parameter
−  Environment variables for control

•  RPM distributions for Linux
−  Easier and more consistent installations and maintenance

•  Partitioning improvements
−  Fast pruning
−  Ability to address more partitions without performance degradation

© 2013 EDB All rights reserved 8.1.

12
Fast Pruning Enhancement!

© 2013 EDB All rights reserved 8.1.

13
Scale to Larger # of Partitions!

© 2013 EDB All rights reserved 8.1.

14
EDB Failover Manager

© 2013 EDB All rights reserved 8.1.

15
What is Failover Manager?
•  A solution to aid in the creation of highly available
configurations of Postgres
•  Monitors the health of a Postgres HA configuration
•  Automates the failover process in the even of a failure
•  Used in conjunction with Streaming Replication

© 2013 EDB All rights reserved 8.1.

16
Failover Manager Architecture

Agent

© 2013 EDB All rights reserved 8.1.

Agent

17
Failover Manager Features
•  Automatic Failover from master to replica node
•  Configurable fencing operation
−  By default uses VIP
−  Parameter to specify alternative operation
−  Ex: reconfigure a load balancer

•  Manual failover configuration possible
•  Email notifications when cluster status changes
•  Witness node provides protection against ‘split brain’ scenarios
•  User configurable wait times
•  Built on PPCD/Jgroups technology
−  Proven functionality

© 2013 EDB All rights reserved 8.1.

18
Postgres Enterprise Manager 4.0

© 2013 EDB All rights reserved 8.1.

19
Postgres Enterprise Manager (PEM)

MONITOR

MANAGE

TUNE

Only solution available combining
all three tasks into one tool
• Single management console allows easy visual
control
• Works for both PostgreSQL and Postgres Plus
• Graphically start/stop, configure, define and
manage storage, security, database objects

© 2013 EDB All rights reserved 8.1.

20
Postgres Enterprise Manager 4.0
•  New Features
− Tuning Wizard
− Logfile Alerting
− Advanced Graphics
− Auto-discovery of
manageable servers by
Agent installer
− User Customizable
Dashboards
− Bulk Probe Tuning
− Many other usability and
performance
enhancements
− SQL/Protect support

PEM 4.0 Webinar
December 17th 1pm EST
Register Now!

© 2013 EDB All rights reserved 8.1.

21
Summary
•  9.3 New Features include significant enhancements in:
− 
− 
− 
− 

Performance
High Availability
Compatibility
Ease of Development

•  Be sure to download Postgres Plus Advanced Server 9.3 and
give it a try!
http://www.enterprisedb.com/downloads

© 2013 EDB All rights reserved 8.1.

22
© 2013 EDB All rights reserved 8.1.

23

Weitere ähnliche Inhalte

Was ist angesagt?

PGConf.ASIA 2019 Bali - Building PostgreSQL as a Service with Kubernetes - Ta...
PGConf.ASIA 2019 Bali - Building PostgreSQL as a Service with Kubernetes - Ta...PGConf.ASIA 2019 Bali - Building PostgreSQL as a Service with Kubernetes - Ta...
PGConf.ASIA 2019 Bali - Building PostgreSQL as a Service with Kubernetes - Ta...Equnix Business Solutions
 
MySQL Replication Overview -- PHPTek 2016
MySQL Replication Overview -- PHPTek 2016MySQL Replication Overview -- PHPTek 2016
MySQL Replication Overview -- PHPTek 2016Dave Stokes
 
Percona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient BackupsPercona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient BackupsMydbops
 
Webinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera ClusterWebinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera ClusterSeveralnines
 
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...Severalnines
 
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...PostgreSQL-Consulting
 
Automating Gluster @ Facebook - Shreyas Siravara
Automating Gluster @ Facebook - Shreyas SiravaraAutomating Gluster @ Facebook - Shreyas Siravara
Automating Gluster @ Facebook - Shreyas SiravaraGluster.org
 
SUSE Manager with Salt - Deploy and Config Management for MariaDB
SUSE Manager with Salt - Deploy and Config Management for MariaDBSUSE Manager with Salt - Deploy and Config Management for MariaDB
SUSE Manager with Salt - Deploy and Config Management for MariaDBMariaDB plc
 
Highly efficient backups with percona xtrabackup
Highly efficient backups with percona xtrabackupHighly efficient backups with percona xtrabackup
Highly efficient backups with percona xtrabackupNilnandan Joshi
 
Demystifying postgres logical replication percona live sc
Demystifying postgres logical replication percona live scDemystifying postgres logical replication percona live sc
Demystifying postgres logical replication percona live scEmanuel Calvo
 
PGPool-II Load testing
PGPool-II Load testingPGPool-II Load testing
PGPool-II Load testingEDB
 
Elephants in the Cloud
Elephants in the CloudElephants in the Cloud
Elephants in the CloudMike Fowler
 
Zero Downtime Schema Changes - Galera Cluster - Best Practices
Zero Downtime Schema Changes - Galera Cluster - Best PracticesZero Downtime Schema Changes - Galera Cluster - Best Practices
Zero Downtime Schema Changes - Galera Cluster - Best PracticesSeveralnines
 
Logical replication with pglogical
Logical replication with pglogicalLogical replication with pglogical
Logical replication with pglogicalUmair Shahid
 
CM for MariaDB Galera cluster
CM for MariaDB Galera clusterCM for MariaDB Galera cluster
CM for MariaDB Galera clusterMariaDB plc
 

Was ist angesagt? (19)

PGConf.ASIA 2019 Bali - Building PostgreSQL as a Service with Kubernetes - Ta...
PGConf.ASIA 2019 Bali - Building PostgreSQL as a Service with Kubernetes - Ta...PGConf.ASIA 2019 Bali - Building PostgreSQL as a Service with Kubernetes - Ta...
PGConf.ASIA 2019 Bali - Building PostgreSQL as a Service with Kubernetes - Ta...
 
Rit 2011 ats
Rit 2011 atsRit 2011 ats
Rit 2011 ats
 
MySQL Replication Overview -- PHPTek 2016
MySQL Replication Overview -- PHPTek 2016MySQL Replication Overview -- PHPTek 2016
MySQL Replication Overview -- PHPTek 2016
 
Percona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient BackupsPercona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient Backups
 
SQL Server vs Postgres
SQL Server vs PostgresSQL Server vs Postgres
SQL Server vs Postgres
 
Webinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera ClusterWebinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera Cluster
 
Shootout at the AWS Corral
Shootout at the AWS CorralShootout at the AWS Corral
Shootout at the AWS Corral
 
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
 
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
 
ProxySQL para mysql
ProxySQL para mysqlProxySQL para mysql
ProxySQL para mysql
 
Automating Gluster @ Facebook - Shreyas Siravara
Automating Gluster @ Facebook - Shreyas SiravaraAutomating Gluster @ Facebook - Shreyas Siravara
Automating Gluster @ Facebook - Shreyas Siravara
 
SUSE Manager with Salt - Deploy and Config Management for MariaDB
SUSE Manager with Salt - Deploy and Config Management for MariaDBSUSE Manager with Salt - Deploy and Config Management for MariaDB
SUSE Manager with Salt - Deploy and Config Management for MariaDB
 
Highly efficient backups with percona xtrabackup
Highly efficient backups with percona xtrabackupHighly efficient backups with percona xtrabackup
Highly efficient backups with percona xtrabackup
 
Demystifying postgres logical replication percona live sc
Demystifying postgres logical replication percona live scDemystifying postgres logical replication percona live sc
Demystifying postgres logical replication percona live sc
 
PGPool-II Load testing
PGPool-II Load testingPGPool-II Load testing
PGPool-II Load testing
 
Elephants in the Cloud
Elephants in the CloudElephants in the Cloud
Elephants in the Cloud
 
Zero Downtime Schema Changes - Galera Cluster - Best Practices
Zero Downtime Schema Changes - Galera Cluster - Best PracticesZero Downtime Schema Changes - Galera Cluster - Best Practices
Zero Downtime Schema Changes - Galera Cluster - Best Practices
 
Logical replication with pglogical
Logical replication with pglogicalLogical replication with pglogical
Logical replication with pglogical
 
CM for MariaDB Galera cluster
CM for MariaDB Galera clusterCM for MariaDB Galera cluster
CM for MariaDB Galera cluster
 

Ähnlich wie What's New in Postgres Plus Advanced Server 9.3

Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...VMware Tanzu
 
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014Dave Stokes
 
Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5EDB
 
EDB Database Servers and Tools
EDB Database Servers and Tools EDB Database Servers and Tools
EDB Database Servers and Tools Ashnikbiz
 
GLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New FeaturesGLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New FeaturesBiju Thomas
 
Doing More with Postgres - Yesterday's Vision Becomes Today's Reality
Doing More with Postgres - Yesterday's Vision Becomes Today's RealityDoing More with Postgres - Yesterday's Vision Becomes Today's Reality
Doing More with Postgres - Yesterday's Vision Becomes Today's RealityEDB
 
How to use postgresql.conf to configure and tune the PostgreSQL server
How to use postgresql.conf to configure and tune the PostgreSQL serverHow to use postgresql.conf to configure and tune the PostgreSQL server
How to use postgresql.conf to configure and tune the PostgreSQL serverEDB
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13EDB
 
How Databases Work - for Developers, Accidental DBAs and Managers
How Databases Work - for Developers, Accidental DBAs and ManagersHow Databases Work - for Developers, Accidental DBAs and Managers
How Databases Work - for Developers, Accidental DBAs and ManagersEDB
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13EDB
 
Save money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxSave money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxEDB
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Antonios Chatzipavlis
 
Intro.to.pem webinar.slides-061913
Intro.to.pem webinar.slides-061913Intro.to.pem webinar.slides-061913
Intro.to.pem webinar.slides-061913EDB
 
MySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksMySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksDave Stokes
 
What's New in PostgreSQL 9.3
What's New in PostgreSQL 9.3What's New in PostgreSQL 9.3
What's New in PostgreSQL 9.3EDB
 
Overview of Postgres Utility Processes
Overview of Postgres Utility ProcessesOverview of Postgres Utility Processes
Overview of Postgres Utility ProcessesEDB
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015Mario Beck
 
SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBUniFabric
 

Ähnlich wie What's New in Postgres Plus Advanced Server 9.3 (20)

Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
 
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
MySQL 5.7 New Features to Exploit -- PHPTek/Chicago MySQL User Group May 2014
 
Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5
 
EDB Database Servers and Tools
EDB Database Servers and Tools EDB Database Servers and Tools
EDB Database Servers and Tools
 
GLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New FeaturesGLOC 2014 NEOOUG - Oracle Database 12c New Features
GLOC 2014 NEOOUG - Oracle Database 12c New Features
 
Doing More with Postgres - Yesterday's Vision Becomes Today's Reality
Doing More with Postgres - Yesterday's Vision Becomes Today's RealityDoing More with Postgres - Yesterday's Vision Becomes Today's Reality
Doing More with Postgres - Yesterday's Vision Becomes Today's Reality
 
How to use postgresql.conf to configure and tune the PostgreSQL server
How to use postgresql.conf to configure and tune the PostgreSQL serverHow to use postgresql.conf to configure and tune the PostgreSQL server
How to use postgresql.conf to configure and tune the PostgreSQL server
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
How Databases Work - for Developers, Accidental DBAs and Managers
How Databases Work - for Developers, Accidental DBAs and ManagersHow Databases Work - for Developers, Accidental DBAs and Managers
How Databases Work - for Developers, Accidental DBAs and Managers
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
Save money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxSave money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinux
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
 
Intro.to.pem webinar.slides-061913
Intro.to.pem webinar.slides-061913Intro.to.pem webinar.slides-061913
Intro.to.pem webinar.slides-061913
 
MySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksMySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disks
 
What's New in PostgreSQL 9.3
What's New in PostgreSQL 9.3What's New in PostgreSQL 9.3
What's New in PostgreSQL 9.3
 
Greenplum Architecture
Greenplum ArchitectureGreenplum Architecture
Greenplum Architecture
 
Les 14 perf_db
Les 14 perf_dbLes 14 perf_db
Les 14 perf_db
 
Overview of Postgres Utility Processes
Overview of Postgres Utility ProcessesOverview of Postgres Utility Processes
Overview of Postgres Utility Processes
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DB
 

Mehr von EDB

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSEDB
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenEDB
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube EDB
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EDB
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLEDB
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLEDB
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLEDB
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?EDB
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLEDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINEDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQLEDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLEDB
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesEDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoEDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJEDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 

Mehr von EDB (20)

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQL
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 

Kürzlich hochgeladen

H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Kürzlich hochgeladen (20)

H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

What's New in Postgres Plus Advanced Server 9.3

  • 1. What’s new in Postgres Plus Advanced Server 9.3? Craig Silveira Director, Product management © 2013 EDB All rights reserved 8.1. 1
  • 2. Postgres Plus: A Super-Set of Features Synchronized with and contributing to the PostgreSQL community © 2013 EDB All rights reserved 8.1. 2
  • 3. Core PostgreSQL New Features/ Improvements © 2013 EDB All rights reserved 8.1. 3
  • 4. PostgreSQL 9.3 Performance! •  pg_upgrade parallel process enhancements pg_upgrade performance seconds vs number of tables © 2013 EDB All rights reserved 8.1. 4
  • 5. PostgreSQL 9.3 Performance! •  Optimize Referential Integrity Checks Involving NULLs −  #1 deadlock issue in Postgres −  UPDATEs that do not affect columns in foreign key now take new lock: NO KEY UPDATE lock so it doesn’t block −  Foreign key checks use KEY SHARE lock which doesn’t block −  Should greatly benefit systems with high concurrency •  New lock parameter −  Lock_timeout specifies how long to wait to acquire a lock © 2013 EDB All rights reserved 8.1. 5
  • 6. PostgreSQL 9.3 Materialized Views! •  A stored query result •  Can be refreshed ad-hoc •  For results that don't need to be completely up-to-date •  Useful for reporting and warehousing data •  Can be indexed like a regular table •  Won’t thrash shared cache •  Can reduce memory usage of server •  #1 requested feature by Postgres Community © 2013 EDB All rights reserved 8.1. 6
  • 7. Materialized View Example! CREATE TABLE survey_results (id serial PRIMARY KEY, survey_date date, survey_id int, survey_result_count int);! ! ! SELECT survey_date, count(survey_result_count) total_surveys,! round(avg(survey_result_count)) average_result,! min(survey_result_count) smallest_sample,! max(survey_result_count) largest_sample! FROM survey_results! GROUP BY survey_date! ORDER BY survey_date ASC;! ! CREATE MATERIALIZED VIEW survey_summary AS! SELECT survey_date, count(survey_result_count) total_surveys,! round(avg(survey_result_count)) average_result,! min(survey_result_count) smallest_sample,! max(survey_result_count) largest_sample! FROM survey_results! GROUP BY survey_date! ORDER BY survey_date ASC;! ! SELECT * FROM survey_summary;! ! ! © 2013 EDB All rights reserved 8.1. 7 Takes 7.5 seconds to execute on test machine on table with 20 million rows: 7552.442 ms Creating the view takes the same time to execute as the original query. Executing survey_summary query takes 4.62ms
  • 8. PostgreSQL 9.3 Additional Features! •  User Defined Background Worker Processes −  Develop own processes using PostgreSQL as workload coordinator •  Writeable Foreign Tables •  Extend large object access to 4TB −  The previous limit was 2GB •  Auto updateable views – instead of triggers no longer needed •  Event Triggers −  Triggers fire on DDL actions •  Continued development of NoSQL-like functionality −  Additional constructor and extractor methods −  JSON parsing support −  Hstore/JSON casting functions •  LATERAL Joins © 2013 EDB All rights reserved 8.1. 8
  • 9. PostgreSQL 9.3 Additional Features con’t! •  Enhanced Reliability and Availability −  Fast failover −  Ensures sub second failover thus providing ‘carrier grade’ availability −  Streaming re-mastering −  Makes reconfiguration of replicas after failover easier −  Data page checksums −  Helps identify bad disks that could lead to data corruption −  PG_ISREADY utility −  A new CLI utility to test whether a server is ready to accept connections −  Ex pg_isready –h localhost –p 5432 −  Pg_basebackup generates basic recovery file −  Simplifies setup of standby database −  Architecture independent streaming © 2013 EDB All rights reserved 8.1. 9
  • 10. PPAS New Features © 2013 EDB All rights reserved 8.1. 10
  • 11. Advanced Server 9.3 Oracle Compatibility! •  Package Support for: −  −  −  −  −  DBMS_RANDOM - random number generator DBMS_SCHEDULER – db job scheduler DBMS_CRYPTO – data encryption DBMS_LOCK.sleep DBMS_MVIEW – materialized view management •  Package Support for: −  UTL_HTTP – make url calls and return page contents −  UTL_URL •  Support for Functions: −  REGEXP_INSTR −  REGEXP_COUNT −  REGEXP_SUBSTR •  Custom constructor methods for Objects •  Oracle compatible Materialized Views © 2013 EDB All rights reserved 8.1. 11
  • 12. Advanced Server 9.3! •  EDB Loader Enhancements −  Perform updates as well as inserts −  New bulk loading options – ROWS parameter −  Environment variables for control •  RPM distributions for Linux −  Easier and more consistent installations and maintenance •  Partitioning improvements −  Fast pruning −  Ability to address more partitions without performance degradation © 2013 EDB All rights reserved 8.1. 12
  • 13. Fast Pruning Enhancement! © 2013 EDB All rights reserved 8.1. 13
  • 14. Scale to Larger # of Partitions! © 2013 EDB All rights reserved 8.1. 14
  • 15. EDB Failover Manager © 2013 EDB All rights reserved 8.1. 15
  • 16. What is Failover Manager? •  A solution to aid in the creation of highly available configurations of Postgres •  Monitors the health of a Postgres HA configuration •  Automates the failover process in the even of a failure •  Used in conjunction with Streaming Replication © 2013 EDB All rights reserved 8.1. 16
  • 17. Failover Manager Architecture Agent © 2013 EDB All rights reserved 8.1. Agent 17
  • 18. Failover Manager Features •  Automatic Failover from master to replica node •  Configurable fencing operation −  By default uses VIP −  Parameter to specify alternative operation −  Ex: reconfigure a load balancer •  Manual failover configuration possible •  Email notifications when cluster status changes •  Witness node provides protection against ‘split brain’ scenarios •  User configurable wait times •  Built on PPCD/Jgroups technology −  Proven functionality © 2013 EDB All rights reserved 8.1. 18
  • 19. Postgres Enterprise Manager 4.0 © 2013 EDB All rights reserved 8.1. 19
  • 20. Postgres Enterprise Manager (PEM) MONITOR MANAGE TUNE Only solution available combining all three tasks into one tool • Single management console allows easy visual control • Works for both PostgreSQL and Postgres Plus • Graphically start/stop, configure, define and manage storage, security, database objects © 2013 EDB All rights reserved 8.1. 20
  • 21. Postgres Enterprise Manager 4.0 •  New Features − Tuning Wizard − Logfile Alerting − Advanced Graphics − Auto-discovery of manageable servers by Agent installer − User Customizable Dashboards − Bulk Probe Tuning − Many other usability and performance enhancements − SQL/Protect support PEM 4.0 Webinar December 17th 1pm EST Register Now! © 2013 EDB All rights reserved 8.1. 21
  • 22. Summary •  9.3 New Features include significant enhancements in: −  −  −  −  Performance High Availability Compatibility Ease of Development •  Be sure to download Postgres Plus Advanced Server 9.3 and give it a try! http://www.enterprisedb.com/downloads © 2013 EDB All rights reserved 8.1. 22
  • 23. © 2013 EDB All rights reserved 8.1. 23