SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Webinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera ClusterWebinar Slides: Migrating to Galera Cluster
Webinar Slides: Migrating to Galera Cluster
Severalnines
 

Tendances (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
 

Similaire à What's New in Postgres Plus Advanced Server 9.3

SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DB
UniFabric
 

Similaire à 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
 

Plus de 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, 2021
EDB
 
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
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
EDB
 

Plus de 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
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

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