SlideShare a Scribd company logo
Supercharge
Your GIS Platform
Postgres Plus with PostGIS
3/6/2014
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Introduction
• PostgreSQL and buzz it has created
• Postgres Plus Advanced Server
• Architecture
• Oracle Compatibility
• Performance Feature
• Security Features
• High Availability Features
• DBA Tools
• How to start adopting
• User Stories
• PostgreSQL and PostGIS
Agenda
2
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Postgres’ IMPACT
3
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Independent & Thriving Development Community for over 20 years
• Thousands of active deployments worldwide in public and private
sector organizations of all sizes
PostgreSQL and the Community
4
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Postgres with PostGIS
5
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
PostgreSQL – Postgres Plus Users, Globally
6
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
7
Malaysia
Philippines
Singapore
Vietnam Thailand
Indonesia
PostgreSQL – Postgres Plus Users, across ASEAN
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
EnterpriseDB – The Company
8
• The Enterprise PostgreSQL company was founded in 2004,
first product GA in 2005
• 2,000+ customers across all market segments
• 70,000+ downloads/week of PostgreSQL and related products
• Enabling database consolidation using PostgreSQL and
advanced Oracle compatibility
• Saving customers millions through the power of open source
• Strong financial backing:
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Postgres Plus - Recognized
by Gartner’s Magic
Quadrant as a challenger
in the Database Market
The EnterpriseDB Advantage
9
• Products and Tools
• Advanced database server software
• Deep Oracle compatibility
• Bundled development and management tools
• Technical Support and Services
• Around the clock support
• Expert consulting
• Oracle migration services
• Remote management and monitoring
• Professional Training
• Learn PostgreSQL from the experts
• Web and on-site training
• Training for developers and DBAs
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Fast development cycles
• Thousands of developers
• Better code
• Lower cost
• 24/7 support
• Services and training
• Certification
• Indemnification
• Product strategy
Bringing the Advantage to Enterprises
10
Open Source
Software
Commercial
SoftwareEnterpriseDB
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
About PPAS
11
PostgreSQL
xDB
REPLICATION
Server
HIGH
AVAILABILITY
and
Scalability
PERFORMANCE
and
Manageability
SECURITY
and
Cloud
Database
MIGRATION
Toolkit
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Architectural Overview
11
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Process Architecture
Postmaster
BGWRITER STATS
COLLECTOR
ARCHIVERAUTO--VACUUM
BGWRITER STATS
COLLECTOR
Data
Files
WAL
Segments
Archived
WAL
Shared Memory
Shared Buffers Process ArrayWAL Buffers
WAL Writer LOG WRITER
Error Log Files
12
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Database Limitations
14
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Limitations are generally
defined by
• Operating System Limits
• Compile-Time Parameters
– Data Type Usage
General Database
Limitations
Limit Value
Maximum Database Size Unlimited
Maximum Table Size 32 TB
Maximum Row Size 1.6 TB
Maximum Field Size 1 GB
Maximum Rows per Table Unlimited
Maximum Columns per Table 250-1600 (Depending on
Column types)
Maximum Indexes per Table Unlimited
Oracle Compatibility
15
• Run applications written for Oracle
virtually unchanged
• No need to re-train Oracle DBAs and
developers
• Support for PL/SQL language and OCI
interoperability
• Replication for easy sharing of data
• Dramatic Cost Savings
• No Vendor Lock-in
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Survey: Re-Use of Oracle DBA Skills
16
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Compatibility Means
17
• SQL Extension support
• Decode, NVL, Substr, NVL2,replace,translate, table()
• Date/time functions: add_months, extract, next_day,months_between,trunc, current_date support
• Support for cascade option in drop table
• PL/SQL support
• REF Cursors, Implicit and explicit cursors
• Looping, variable declarations, conditional statements
• Collections: Associative Arrays, Varrays, Nested tables
• Bulk binding
• Named parameters
• User Defined Exceptions
• Explicit Transaction Control - within a stored procedure
• Tools
• EDB*Plus – SQL*Plus look-a-like
• EDB*Loader – SQL*Loader equivalent
• EDB*Wrap – similar to the PL/SQL wrapper
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Compatibility Means (cont.)
18
• Packages
• Stored procedures
• Functions
• Triggers
• Optimizer Hints
• Database Links
• Hierarchical Queries
• Synonyms – Public and
Private
• Sequences
• Materialized Views
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Rownum
• Object types
o Create type … as object
o Create type … as table
o Create type …as varray
o Constructor and collection
methods
• PL/SQL like SUBTYPE, which
inherits form base type
• Users/Roles
• Dynamic SQL
• Features
Compatibility Means (cont.)
19
• Data Types
• Integer, number, char, double precision, float, varchar2, blob, clob, xmltype, rowid, boolean
• Built-in Packages
• DBMS_:
o SQL, LOB, JOB, PIPE, ALERT, OUTPUT, UTILITY, PROFILER, RLS
• UTL_:
o FILE, MAIL, SMTP, ENCODE, TCP
• Oracle-like Data Dictionary
• ALL_, DBA_, USER_ views
• Most commonly accessed views
• Diagnostics - DRITA
• System and session waits
o Not exposed in PostgreSQL
o Part of Advanced Server
• Statspack-like reporting
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Flexible Partitioning Scheme in PostgreSQL
20
• Partitioning Example in PostgreSQL
o CREATE TABLE employees
o Create Child Tables
o create table emp_mgmt (check (job in (MANAGER'))) inherits (employees);
o create table emp_sales (check (job in ('SALESMAN'))) inherits (employees);
o Create the partitioning function
o CREATE OR REPLACE FUNCTION partition_emp();
o Create the trigger for partition
o CREATE TRIGGER employees_partition_trigger BEFORE INSERT ON employees
FOR EACH ROW EXECUTE PROCEDURE partition_emp();
• Advantages
• Flexible
• Customize your Partitioning Policy
• Disadvantages
• Complex
• Difficult to add/delete/split Partitions
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Partitioning Example in PPAS
CREATE TABLE employees
(empno numeric(4,0),ename varchar(10),job varchar(9),hiredate timestamp)
PARTITION BY LIST (job)
(PARTITION emp_mgmt VALUES ('MANAGER', 'PRESIDENT') tablespace tbsp_1, PARTITION
emp_sales VALUES ('SALESMAN') tablespace tbsp_2, PARTITION emp_ops VALUES ('CLERK')
tablespace tbsp_3
);
• PPAS Offers
• LIST and RANGE Partitioning Syntax
• Easy to manage and maintain partitions
• You can still take benefit of PostgreSQL syntax for complex partitioning e.g. Dynamic Partitions
• Easy to Add/Delete/Split/Swap/Detach/Attach partitions
• Brings the best of both the world!
Compatible and Flexible Partitioning Scheme in PPAS
21
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Scaling with Partitioning in PPAS v9.3
22
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
100
250
500
1000
Time in Seconds
NumberofTablePartitions
Partitioning Performance: PPAS 9.3 v. PostgreSQL 9.3 v. PPAS 9.2
• Postgres Plus Advanced
Server 9.3 is up to 460
times faster with row
insertions into
partitioned tables than
PostgreSQL 9.3 or PPAS
9.2
• Better performance for
bulk loading and disaster
recovery
• Online Migration Toolkit enables point and click migration from Oracle
• Automatically Migrates:
Database Migration Toolkit
23
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Data
• Schemas
• Stored Procedures
• Triggers
• Functions
• Sequences
• Packages
• Views
• Database Links
• Synonyms
• Developed for High Performance Transaction
Environments (OLTP)
• DynaTune:
• Dynamic tuning of the database server to make the
optimal usage of the system resources available on
the host machine
• Index Advisor:
• Helps determine which columns you should index
to improve performance in a given workload.
• Query Optimization Hints, Hi-Speed Bulk Loader,
Multi-Threaded Replication
Performance enhancement in PPAS
24
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Infinite Cache
• High performance
horizontal scaling
architecture for
cache memory
• Cache expands with
inexpensive
commodity
hardware
Scalability with Infinite Cache
25
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Scalability with Infinite Cache
26
• Architecture: How it Works
• Disk access for data is slower than RAM access
• Infinite Cache puts disk data into the RAM cache
• Additional requests for that data are read from the faster cache
• The cache scales as needed with inexpensive hardware
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Application
High
speed
pg_cach
e buffers
in RAM
Slow speed
disk
High
Speed
Network
Update
d Data
Blocks
Update
Read
If not in buffer
Database Server
InfiniteCache
RAMblades
High
speed
Scalability with Infinite Cache
27
• Single Machine Performance
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Advanced Server is 16X
faster on a single machine
with large amounts of
memory
(e.g. greater than 2 GB)
Infinite Cache can be used
on a single machine!
Scalability with Infinite Cache
28
• Infinite Cache - Features
• Expands and Distributes buffer cache across multiple machines
• Designed for Read-Mostly applications (e.g. Content Management, Query Intensive, Business Intelligence, Data
Warehouse)
• Cache is transparent to client applications (no cache coding needed)
• Compression feature enables caching entire databases (e.g. put a 250 GB database into 32 GB RAM Cache)
• Cache can be pre-warmed for immediate results
• Cache scales using inexpensive commodity hardware
• Infinite Cache can be run to boost single machine performance!
• Created For
• DBAs and data managers overseeing large amounts of data requiring fast response times for queries and
reporting loads
• Developers who don’t want to write specialized caching code
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Red Hat Reference Architecture Series:
• Comparing BenchmarkSQL Performance
on Red Hat Enterprise Linux 5 to Windows
Server Enterprise (2010)
Performance Benchmark to SQL Server
29
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Scalability MySQL Vs PostgreSQL
30
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Security
31
• Object level privileges assigned to roles and users
• Virtual Private Database
• Kerberos and LDAP authentication
• Host base authentication
• SSL communication
• Data Level Encryption (AES, 3DES, etc)
• Ability to utilize 3rd party Key Stores in a full PKI Infrastructure
• Foundation for full compliance with the strictest of security standards (PCI Data Security
Standard)
• Flexible field level encryption and row level security
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
“By default, PostgreSQL is probably the most
security-aware database available ...”
Database Hacker's Handbook- David Litchfield
PL/Secure and EDB*Wrap
32
• Encrypt your Pl/pgsql stored programs with PL/Secure
• Encrypt your SPL procedures with EDB*Wrap
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
SQL/Protect
33
• DBA Managed SQL Injection Protection
• Preventing attacks is normally the responsibility of the application developer, but with SQL/Protect, DBAs can
now provide another layer of protection to prevent corruption or co-opting of the database.
• Multiple Prevention Techniques
• Unauthorized Relations
• Utility Commands (e.g. DDL)
• SQL Tautology
• Unbounded DML
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Multi-Master Replication – Active-Active Technology
• Near real-time Replication
• Multi-Version Concurrency Control (MVCC)
• Point-in-Time Recovery
• Log Shipping for Standby (~ Oracle® Data Guard)
High Availability
34
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Availability
Backup and Recovery Options
35
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Physical and Logical Backup
• Logical Backup using pg_dump
• Instance level logical backup using pg_dumpall
• Table level, Schema level or DB level logical backup
• pg_restore
• Physical Backups
• pg_basebackup
• Compressed backup
• Recovery with WAL and archived WAL
• Point in Time Recover
• Using OS Clustering
• Using a shared disk for data
Active – Passive OS HA Clustering
36
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Uses WAL (Write Ahead Log)
• WAL is continuously shipped through
an opened TCP channel to Hot
Standby Node
• Hot Standby node can be used for
read scalability
Hot Streaming Replication (Hot Standby Mode)
37
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Uses WAL (Write Ahead Log)
• Archived WAL is shipped to Hot
Standby Node
• Hot Standby node can be used for
read scalability
Log Shipping Replication (Hot Standby Mode)
38
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
EnterpriseDB Postgres Plus Failover Manager
39
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Agent Agent
• Using pg-pool
• Using redundant disk for data
• Hot Standby node can be used
for read scalability
HA with read scaling (with pg-pool)
40
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Trigger based replication
• Publication – Subscription
• Snapshot and Continuous
• Cascaded Replication
• Read Scalability
• Master/Slave DB can be:
• Oracle
• MSSQL
• Postgres Plus Advanced Server
• Either Master or Slave should be
PPAS/PostgreSQL
xDB Single Master Replication (SMR)
41
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• High Availability uses
• Geographic distribution of load
• For creation of Testing/staging env using snapshot replication
• Segregate OLTP and reporting
xDB Replication Use Cases
42
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Replication
xDB Single-Master Replication (SMR)
43
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Table
D
Table
C
Table
B
Table
A
Table
C
Table
D
Procs
Objects
ReportsQueries
Continuous
or Scheduled
----------------
Filtered
or All Rows
Transaction
Replication
Improved
OLTP
Performance
Inexpensive
Query /
Reporting
Oracle Server Postgres Plus Advanced Server
xDB SMR Heterogeneous Replication Support
44
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Source/Target Oracle MS SQL
Server
2005/2008
PostgreSQL
Advanced
Server
(Oracle
mode)
Advanced
Server
(PostgreSQL
mode)
Oracle No No Yes Yes Yes
MS SQL
Server
2005/2008
No No Yes Yes Yes
PostgreSQL No Yes Yes Yes Yes
Advanced
Server (Oracle
mode)
Yes Yes No
Yes
No
Advanced
Server
(PostgreSQL
mode)
No Yes Yes Yes Yes
• Trigger based replication
• 2 or more Masters can be Sync
• Auto Conflict Detection & Resolution
• Read & Write Scalability
xDB Multi Master Replication (MMR)
45
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Java-based Replication Server and Replication Console
• Delta changes recorded in shadow tables via post Insert/Update/Delete triggers
• Data Replication through JDBC channel
xDB MMR Architecture
46
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Enterprise Class DBA Tools
47
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Remotely Manage, Monitor And Tune
• Management En-Mass Design
• Enterprise Performance Monitoring
• Proactive Alert Management
• Graphical Administration
• SQL Workload Profiling
• Simplified Capacity Planning
• Full SQL IDE
Postgres Enterprise Manager
48
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
PEM Distributed Architecture
49
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Performance
Monitoring Dashboards
• Capacity Manager
• Postgres Expert
• Alert Management
• Browser based console
and dashboard
• Audit Manager
• Team Support
• Distributed Architecture
• Convenient Access
PEM For DBAs: Centralized Tool
50
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Helps you apply patches and
updates for all the
products under PPAS:
Stackbuilder Plus
51
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
•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 event
of a failure
•Used in conjunction with Streaming
Replication
Postgres Plus Failover Manager
52
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Slave
Witness
Master
Failover Manager Architecture
53
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Agent Agent
• 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
Failover Manager Features
54
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Replicate below objects from MS SQL Server to
Postgres Plus Advanced Server:
• Schemas
• Tables
• Constraints
• Indexes
• Table data
• Views
Replicating & Migrating Microsoft SQL Server
55
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• Split input files into multiple files
• Load single tables in parallel
• Magnitudes better load time performance
• Parallel load capabilities also in Migration Toolkit and Migration Studio
Parallel Data Loader
56
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Use Cases:
- Sistema de Información Territorial
Estatal en Línea, México
- National Oceanic and Atmospheric
Administration
- TriMet
- http://www.ridethecity.com/
- FCC: Making the National Broadband
Map with OpenGeo Suite
- North Dakota State Water Commission
Comparative Studies:
- http://www.gise.cse.iitb.ac.in/
wiki/images/c/c4/Finalreport.p
df
- bit.ly/1e4meWo
Some Use Case for Postgres and PostGIS
57
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
• OpenGeo
• QuantumGIS
• GeoServer
• ArcGIS
Popular GIS Applications are Compatible with
PostgreSQL
58
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
You have a ‘Real’ alternative to Oracle or other conventional
proprietary Databases
Conclusion
59
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
Economical
Technically
Sound
Easy to
Adopt
How to start adoption
60
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.
REPLICATION SERVER
BACKUP / DR SERVER
NEW APPLICATION
MIGRATION
61
CONFIDENTIAL
©2011EnterpriseDB.Allrightsreserved.

More Related Content

What's hot (20)

PDF
What's New in PostgreSQL 9.3
EDB
 
PDF
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
Aurimas Mikalauskas
 
PDF
Overview of Postgres 9.5
EDB
 
PDF
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
 
PDF
EDB Postgres with Containers
EDB
 
PDF
Modern MySQL Monitoring and Dashboards.
Mydbops
 
PPTX
Designing enterprise drupal
Jason Burnett
 
PPTX
LVOUG meetup #2 - Forcing SQL Execution Plan Instability
Maris Elsins
 
PPTX
Meet HBase 2.0 and Phoenix-5.0
DataWorks Summit
 
PPT
Scaling MySQL using Fabric
Karthik .P.R
 
PDF
hbaseconasia2017: HBase Disaster Recovery Solution at Huawei
HBaseCon
 
PDF
Oracle to Postgres Migration - part 2
PgTraining
 
PPTX
Sql Server 2014 In Memory
Ravi Okade
 
PDF
Database as a Service on the Oracle Database Appliance Platform
Maris Elsins
 
PDF
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Daniel Kanchev
 
PDF
MySQL Performance Tuning: The Perfect Scalability (OOW2019)
Mirko Ortensi
 
PDF
Oracle to Postgres Migration - part 1
PgTraining
 
PDF
[EPPG] Oracle to PostgreSQL, Challenges to Opportunity
Equnix Business Solutions
 
PDF
Non-Relational Postgres
EDB
 
PDF
MySQL 5.7: Focus on InnoDB
Mario Beck
 
What's New in PostgreSQL 9.3
EDB
 
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
Aurimas Mikalauskas
 
Overview of Postgres 9.5
EDB
 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
 
EDB Postgres with Containers
EDB
 
Modern MySQL Monitoring and Dashboards.
Mydbops
 
Designing enterprise drupal
Jason Burnett
 
LVOUG meetup #2 - Forcing SQL Execution Plan Instability
Maris Elsins
 
Meet HBase 2.0 and Phoenix-5.0
DataWorks Summit
 
Scaling MySQL using Fabric
Karthik .P.R
 
hbaseconasia2017: HBase Disaster Recovery Solution at Huawei
HBaseCon
 
Oracle to Postgres Migration - part 2
PgTraining
 
Sql Server 2014 In Memory
Ravi Okade
 
Database as a Service on the Oracle Database Appliance Platform
Maris Elsins
 
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Daniel Kanchev
 
MySQL Performance Tuning: The Perfect Scalability (OOW2019)
Mirko Ortensi
 
Oracle to Postgres Migration - part 1
PgTraining
 
[EPPG] Oracle to PostgreSQL, Challenges to Opportunity
Equnix Business Solutions
 
Non-Relational Postgres
EDB
 
MySQL 5.7: Focus on InnoDB
Mario Beck
 

Similar to Powering GIS Application with PostgreSQL and Postgres Plus (20)

PDF
Save money with Postgres on IBM PowerLinux
EDB
 
PDF
Optimize with Open Source
EDB
 
PPTX
PostgreSQL 10: What to Look For
Amit Langote
 
PPT
Maaz Anjum - IOUG Collaborate 2013 - An Insight into Space Realization on ODA...
Maaz Anjum
 
PPTX
Oracle big data appliance and solutions
solarisyougood
 
PPTX
New Performance Benchmarks: Apache Impala (incubating) Leads Traditional Anal...
Cloudera, Inc.
 
PDF
GLOC 2014 NEOOUG - Oracle Database 12c New Features
Biju Thomas
 
PPTX
How SQL Server 2016 SP1 Changes the Game
PARIKSHIT SAVJANI
 
PDF
Optimizing Open Source for Greater Database Savings & Control
EDB
 
PDF
Pre and post tips to installing sql server correctly
Antonios Chatzipavlis
 
PPTX
Getting started with postgresql
botsplash.com
 
PDF
Introducing Postgres Plus Advanced Server 9.4
EDB
 
PDF
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
EDB
 
PDF
MySQL 5.6 - Operations and Diagnostics Improvements
Morgan Tocker
 
PPTX
Postgres for Digital Transformation: NoSQL Features, Replication, FDW & More
Ashnikbiz
 
PPTX
PostgreSQL as a Strategic Tool
EDB
 
PDF
Cassandra Summit 2015 - Building a multi-tenant API PaaS with DataStax Enterp...
Restlet
 
PDF
Restlet: Building a multi-tenant API PaaS with DataStax Enterprise Search
DataStax Academy
 
PDF
What's New in MySQL 5.7
Olivier DASINI
 
PPTX
An AMIS Overview of Oracle database 12c (12.1)
Marco Gralike
 
Save money with Postgres on IBM PowerLinux
EDB
 
Optimize with Open Source
EDB
 
PostgreSQL 10: What to Look For
Amit Langote
 
Maaz Anjum - IOUG Collaborate 2013 - An Insight into Space Realization on ODA...
Maaz Anjum
 
Oracle big data appliance and solutions
solarisyougood
 
New Performance Benchmarks: Apache Impala (incubating) Leads Traditional Anal...
Cloudera, Inc.
 
GLOC 2014 NEOOUG - Oracle Database 12c New Features
Biju Thomas
 
How SQL Server 2016 SP1 Changes the Game
PARIKSHIT SAVJANI
 
Optimizing Open Source for Greater Database Savings & Control
EDB
 
Pre and post tips to installing sql server correctly
Antonios Chatzipavlis
 
Getting started with postgresql
botsplash.com
 
Introducing Postgres Plus Advanced Server 9.4
EDB
 
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
EDB
 
MySQL 5.6 - Operations and Diagnostics Improvements
Morgan Tocker
 
Postgres for Digital Transformation: NoSQL Features, Replication, FDW & More
Ashnikbiz
 
PostgreSQL as a Strategic Tool
EDB
 
Cassandra Summit 2015 - Building a multi-tenant API PaaS with DataStax Enterp...
Restlet
 
Restlet: Building a multi-tenant API PaaS with DataStax Enterprise Search
DataStax Academy
 
What's New in MySQL 5.7
Olivier DASINI
 
An AMIS Overview of Oracle database 12c (12.1)
Marco Gralike
 
Ad

More from Ashnikbiz (20)

PPTX
CloudOps_tool.pptx
Ashnikbiz
 
PPTX
Webinar_CloudOps final.pptx
Ashnikbiz
 
PPTX
Autoscaling in Kubernetes (K8s)
Ashnikbiz
 
PPTX
Why and how to use Kubernetes for scaling of your multi-tier (n-tier) appli...
Ashnikbiz
 
PDF
Zero trust in a multi tenant environment
Ashnikbiz
 
PPTX
Deploy and automate ‘Secrets Management’ for a multi-cloud environment
Ashnikbiz
 
PPTX
Deploy, move and manage Postgres across cloud platforms
Ashnikbiz
 
PPTX
Deploy, move and manage Postgres across cloud platforms
Ashnikbiz
 
PPTX
The Best Approach For Multi-cloud Infrastructure Provisioning-2
Ashnikbiz
 
PPTX
The Best Approach For Multi-cloud Infrastructure Provisioning
Ashnikbiz
 
PPTX
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
PPTX
Which PostgreSQL is right for your multi cloud strategy? P1
Ashnikbiz
 
PPTX
Reduce the complexities of managing Kubernetes clusters anywhere 2
Ashnikbiz
 
PPTX
Reduce the complexities of managing Kubernetes clusters anywhere
Ashnikbiz
 
PPTX
Enhance your multi-cloud application performance using Redis Enterprise P2
Ashnikbiz
 
PPTX
Enhance your multi-cloud application performance using Redis Enterprise P1
Ashnikbiz
 
PPTX
Gain multi-cloud versatility with software load balancing designed for cloud-...
Ashnikbiz
 
PPTX
Gain multi-cloud versatility with software load balancing designed for cloud-...
Ashnikbiz
 
PPTX
Enterprise-class security with PostgreSQL - 1
Ashnikbiz
 
PPTX
Enterprise-class security with PostgreSQL - 2
Ashnikbiz
 
CloudOps_tool.pptx
Ashnikbiz
 
Webinar_CloudOps final.pptx
Ashnikbiz
 
Autoscaling in Kubernetes (K8s)
Ashnikbiz
 
Why and how to use Kubernetes for scaling of your multi-tier (n-tier) appli...
Ashnikbiz
 
Zero trust in a multi tenant environment
Ashnikbiz
 
Deploy and automate ‘Secrets Management’ for a multi-cloud environment
Ashnikbiz
 
Deploy, move and manage Postgres across cloud platforms
Ashnikbiz
 
Deploy, move and manage Postgres across cloud platforms
Ashnikbiz
 
The Best Approach For Multi-cloud Infrastructure Provisioning-2
Ashnikbiz
 
The Best Approach For Multi-cloud Infrastructure Provisioning
Ashnikbiz
 
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
Which PostgreSQL is right for your multi cloud strategy? P1
Ashnikbiz
 
Reduce the complexities of managing Kubernetes clusters anywhere 2
Ashnikbiz
 
Reduce the complexities of managing Kubernetes clusters anywhere
Ashnikbiz
 
Enhance your multi-cloud application performance using Redis Enterprise P2
Ashnikbiz
 
Enhance your multi-cloud application performance using Redis Enterprise P1
Ashnikbiz
 
Gain multi-cloud versatility with software load balancing designed for cloud-...
Ashnikbiz
 
Gain multi-cloud versatility with software load balancing designed for cloud-...
Ashnikbiz
 
Enterprise-class security with PostgreSQL - 1
Ashnikbiz
 
Enterprise-class security with PostgreSQL - 2
Ashnikbiz
 
Ad

Recently uploaded (20)

PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
July Patch Tuesday
Ivanti
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
July Patch Tuesday
Ivanti
 

Powering GIS Application with PostgreSQL and Postgres Plus

  • 1. Supercharge Your GIS Platform Postgres Plus with PostGIS 3/6/2014 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 2. • Introduction • PostgreSQL and buzz it has created • Postgres Plus Advanced Server • Architecture • Oracle Compatibility • Performance Feature • Security Features • High Availability Features • DBA Tools • How to start adopting • User Stories • PostgreSQL and PostGIS Agenda 2 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 4. • Independent & Thriving Development Community for over 20 years • Thousands of active deployments worldwide in public and private sector organizations of all sizes PostgreSQL and the Community 4 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 6. PostgreSQL – Postgres Plus Users, Globally 6 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 7. 7 Malaysia Philippines Singapore Vietnam Thailand Indonesia PostgreSQL – Postgres Plus Users, across ASEAN CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 8. EnterpriseDB – The Company 8 • The Enterprise PostgreSQL company was founded in 2004, first product GA in 2005 • 2,000+ customers across all market segments • 70,000+ downloads/week of PostgreSQL and related products • Enabling database consolidation using PostgreSQL and advanced Oracle compatibility • Saving customers millions through the power of open source • Strong financial backing: CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Postgres Plus - Recognized by Gartner’s Magic Quadrant as a challenger in the Database Market
  • 9. The EnterpriseDB Advantage 9 • Products and Tools • Advanced database server software • Deep Oracle compatibility • Bundled development and management tools • Technical Support and Services • Around the clock support • Expert consulting • Oracle migration services • Remote management and monitoring • Professional Training • Learn PostgreSQL from the experts • Web and on-site training • Training for developers and DBAs CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 10. • Fast development cycles • Thousands of developers • Better code • Lower cost • 24/7 support • Services and training • Certification • Indemnification • Product strategy Bringing the Advantage to Enterprises 10 Open Source Software Commercial SoftwareEnterpriseDB CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 13. Process Architecture Postmaster BGWRITER STATS COLLECTOR ARCHIVERAUTO--VACUUM BGWRITER STATS COLLECTOR Data Files WAL Segments Archived WAL Shared Memory Shared Buffers Process ArrayWAL Buffers WAL Writer LOG WRITER Error Log Files 12 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 14. Database Limitations 14 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. • Limitations are generally defined by • Operating System Limits • Compile-Time Parameters – Data Type Usage General Database Limitations Limit Value Maximum Database Size Unlimited Maximum Table Size 32 TB Maximum Row Size 1.6 TB Maximum Field Size 1 GB Maximum Rows per Table Unlimited Maximum Columns per Table 250-1600 (Depending on Column types) Maximum Indexes per Table Unlimited
  • 15. Oracle Compatibility 15 • Run applications written for Oracle virtually unchanged • No need to re-train Oracle DBAs and developers • Support for PL/SQL language and OCI interoperability • Replication for easy sharing of data • Dramatic Cost Savings • No Vendor Lock-in CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 16. Survey: Re-Use of Oracle DBA Skills 16 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 17. Compatibility Means 17 • SQL Extension support • Decode, NVL, Substr, NVL2,replace,translate, table() • Date/time functions: add_months, extract, next_day,months_between,trunc, current_date support • Support for cascade option in drop table • PL/SQL support • REF Cursors, Implicit and explicit cursors • Looping, variable declarations, conditional statements • Collections: Associative Arrays, Varrays, Nested tables • Bulk binding • Named parameters • User Defined Exceptions • Explicit Transaction Control - within a stored procedure • Tools • EDB*Plus – SQL*Plus look-a-like • EDB*Loader – SQL*Loader equivalent • EDB*Wrap – similar to the PL/SQL wrapper CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 18. Compatibility Means (cont.) 18 • Packages • Stored procedures • Functions • Triggers • Optimizer Hints • Database Links • Hierarchical Queries • Synonyms – Public and Private • Sequences • Materialized Views CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. • Rownum • Object types o Create type … as object o Create type … as table o Create type …as varray o Constructor and collection methods • PL/SQL like SUBTYPE, which inherits form base type • Users/Roles • Dynamic SQL • Features
  • 19. Compatibility Means (cont.) 19 • Data Types • Integer, number, char, double precision, float, varchar2, blob, clob, xmltype, rowid, boolean • Built-in Packages • DBMS_: o SQL, LOB, JOB, PIPE, ALERT, OUTPUT, UTILITY, PROFILER, RLS • UTL_: o FILE, MAIL, SMTP, ENCODE, TCP • Oracle-like Data Dictionary • ALL_, DBA_, USER_ views • Most commonly accessed views • Diagnostics - DRITA • System and session waits o Not exposed in PostgreSQL o Part of Advanced Server • Statspack-like reporting CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 20. Flexible Partitioning Scheme in PostgreSQL 20 • Partitioning Example in PostgreSQL o CREATE TABLE employees o Create Child Tables o create table emp_mgmt (check (job in (MANAGER'))) inherits (employees); o create table emp_sales (check (job in ('SALESMAN'))) inherits (employees); o Create the partitioning function o CREATE OR REPLACE FUNCTION partition_emp(); o Create the trigger for partition o CREATE TRIGGER employees_partition_trigger BEFORE INSERT ON employees FOR EACH ROW EXECUTE PROCEDURE partition_emp(); • Advantages • Flexible • Customize your Partitioning Policy • Disadvantages • Complex • Difficult to add/delete/split Partitions CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 21. • Partitioning Example in PPAS CREATE TABLE employees (empno numeric(4,0),ename varchar(10),job varchar(9),hiredate timestamp) PARTITION BY LIST (job) (PARTITION emp_mgmt VALUES ('MANAGER', 'PRESIDENT') tablespace tbsp_1, PARTITION emp_sales VALUES ('SALESMAN') tablespace tbsp_2, PARTITION emp_ops VALUES ('CLERK') tablespace tbsp_3 ); • PPAS Offers • LIST and RANGE Partitioning Syntax • Easy to manage and maintain partitions • You can still take benefit of PostgreSQL syntax for complex partitioning e.g. Dynamic Partitions • Easy to Add/Delete/Split/Swap/Detach/Attach partitions • Brings the best of both the world! Compatible and Flexible Partitioning Scheme in PPAS 21 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 22. Scaling with Partitioning in PPAS v9.3 22 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 100 250 500 1000 Time in Seconds NumberofTablePartitions Partitioning Performance: PPAS 9.3 v. PostgreSQL 9.3 v. PPAS 9.2 • Postgres Plus Advanced Server 9.3 is up to 460 times faster with row insertions into partitioned tables than PostgreSQL 9.3 or PPAS 9.2 • Better performance for bulk loading and disaster recovery
  • 23. • Online Migration Toolkit enables point and click migration from Oracle • Automatically Migrates: Database Migration Toolkit 23 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. • Data • Schemas • Stored Procedures • Triggers • Functions • Sequences • Packages • Views • Database Links • Synonyms
  • 24. • Developed for High Performance Transaction Environments (OLTP) • DynaTune: • Dynamic tuning of the database server to make the optimal usage of the system resources available on the host machine • Index Advisor: • Helps determine which columns you should index to improve performance in a given workload. • Query Optimization Hints, Hi-Speed Bulk Loader, Multi-Threaded Replication Performance enhancement in PPAS 24 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 25. • Infinite Cache • High performance horizontal scaling architecture for cache memory • Cache expands with inexpensive commodity hardware Scalability with Infinite Cache 25 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 26. Scalability with Infinite Cache 26 • Architecture: How it Works • Disk access for data is slower than RAM access • Infinite Cache puts disk data into the RAM cache • Additional requests for that data are read from the faster cache • The cache scales as needed with inexpensive hardware CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Application High speed pg_cach e buffers in RAM Slow speed disk High Speed Network Update d Data Blocks Update Read If not in buffer Database Server InfiniteCache RAMblades High speed
  • 27. Scalability with Infinite Cache 27 • Single Machine Performance CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Advanced Server is 16X faster on a single machine with large amounts of memory (e.g. greater than 2 GB) Infinite Cache can be used on a single machine!
  • 28. Scalability with Infinite Cache 28 • Infinite Cache - Features • Expands and Distributes buffer cache across multiple machines • Designed for Read-Mostly applications (e.g. Content Management, Query Intensive, Business Intelligence, Data Warehouse) • Cache is transparent to client applications (no cache coding needed) • Compression feature enables caching entire databases (e.g. put a 250 GB database into 32 GB RAM Cache) • Cache can be pre-warmed for immediate results • Cache scales using inexpensive commodity hardware • Infinite Cache can be run to boost single machine performance! • Created For • DBAs and data managers overseeing large amounts of data requiring fast response times for queries and reporting loads • Developers who don’t want to write specialized caching code CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 29. • Red Hat Reference Architecture Series: • Comparing BenchmarkSQL Performance on Red Hat Enterprise Linux 5 to Windows Server Enterprise (2010) Performance Benchmark to SQL Server 29 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 30. Scalability MySQL Vs PostgreSQL 30 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 31. Security 31 • Object level privileges assigned to roles and users • Virtual Private Database • Kerberos and LDAP authentication • Host base authentication • SSL communication • Data Level Encryption (AES, 3DES, etc) • Ability to utilize 3rd party Key Stores in a full PKI Infrastructure • Foundation for full compliance with the strictest of security standards (PCI Data Security Standard) • Flexible field level encryption and row level security CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. “By default, PostgreSQL is probably the most security-aware database available ...” Database Hacker's Handbook- David Litchfield
  • 32. PL/Secure and EDB*Wrap 32 • Encrypt your Pl/pgsql stored programs with PL/Secure • Encrypt your SPL procedures with EDB*Wrap CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 33. SQL/Protect 33 • DBA Managed SQL Injection Protection • Preventing attacks is normally the responsibility of the application developer, but with SQL/Protect, DBAs can now provide another layer of protection to prevent corruption or co-opting of the database. • Multiple Prevention Techniques • Unauthorized Relations • Utility Commands (e.g. DDL) • SQL Tautology • Unbounded DML CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 34. • Multi-Master Replication – Active-Active Technology • Near real-time Replication • Multi-Version Concurrency Control (MVCC) • Point-in-Time Recovery • Log Shipping for Standby (~ Oracle® Data Guard) High Availability 34 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Availability
  • 35. Backup and Recovery Options 35 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. • Physical and Logical Backup • Logical Backup using pg_dump • Instance level logical backup using pg_dumpall • Table level, Schema level or DB level logical backup • pg_restore • Physical Backups • pg_basebackup • Compressed backup • Recovery with WAL and archived WAL • Point in Time Recover
  • 36. • Using OS Clustering • Using a shared disk for data Active – Passive OS HA Clustering 36 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 37. • Uses WAL (Write Ahead Log) • WAL is continuously shipped through an opened TCP channel to Hot Standby Node • Hot Standby node can be used for read scalability Hot Streaming Replication (Hot Standby Mode) 37 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 38. • Uses WAL (Write Ahead Log) • Archived WAL is shipped to Hot Standby Node • Hot Standby node can be used for read scalability Log Shipping Replication (Hot Standby Mode) 38 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 39. EnterpriseDB Postgres Plus Failover Manager 39 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Agent Agent
  • 40. • Using pg-pool • Using redundant disk for data • Hot Standby node can be used for read scalability HA with read scaling (with pg-pool) 40 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 41. • Trigger based replication • Publication – Subscription • Snapshot and Continuous • Cascaded Replication • Read Scalability • Master/Slave DB can be: • Oracle • MSSQL • Postgres Plus Advanced Server • Either Master or Slave should be PPAS/PostgreSQL xDB Single Master Replication (SMR) 41 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 42. • High Availability uses • Geographic distribution of load • For creation of Testing/staging env using snapshot replication • Segregate OLTP and reporting xDB Replication Use Cases 42 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Replication
  • 43. xDB Single-Master Replication (SMR) 43 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Table D Table C Table B Table A Table C Table D Procs Objects ReportsQueries Continuous or Scheduled ---------------- Filtered or All Rows Transaction Replication Improved OLTP Performance Inexpensive Query / Reporting Oracle Server Postgres Plus Advanced Server
  • 44. xDB SMR Heterogeneous Replication Support 44 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Source/Target Oracle MS SQL Server 2005/2008 PostgreSQL Advanced Server (Oracle mode) Advanced Server (PostgreSQL mode) Oracle No No Yes Yes Yes MS SQL Server 2005/2008 No No Yes Yes Yes PostgreSQL No Yes Yes Yes Yes Advanced Server (Oracle mode) Yes Yes No Yes No Advanced Server (PostgreSQL mode) No Yes Yes Yes Yes
  • 45. • Trigger based replication • 2 or more Masters can be Sync • Auto Conflict Detection & Resolution • Read & Write Scalability xDB Multi Master Replication (MMR) 45 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 46. • Java-based Replication Server and Replication Console • Delta changes recorded in shadow tables via post Insert/Update/Delete triggers • Data Replication through JDBC channel xDB MMR Architecture 46 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 47. Enterprise Class DBA Tools 47 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 48. Remotely Manage, Monitor And Tune • Management En-Mass Design • Enterprise Performance Monitoring • Proactive Alert Management • Graphical Administration • SQL Workload Profiling • Simplified Capacity Planning • Full SQL IDE Postgres Enterprise Manager 48 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 50. • Performance Monitoring Dashboards • Capacity Manager • Postgres Expert • Alert Management • Browser based console and dashboard • Audit Manager • Team Support • Distributed Architecture • Convenient Access PEM For DBAs: Centralized Tool 50 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 51. Helps you apply patches and updates for all the products under PPAS: Stackbuilder Plus 51 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 52. •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 event of a failure •Used in conjunction with Streaming Replication Postgres Plus Failover Manager 52 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Slave Witness Master
  • 54. • 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 Failover Manager Features 54 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 55. Replicate below objects from MS SQL Server to Postgres Plus Advanced Server: • Schemas • Tables • Constraints • Indexes • Table data • Views Replicating & Migrating Microsoft SQL Server 55 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 56. • Split input files into multiple files • Load single tables in parallel • Magnitudes better load time performance • Parallel load capabilities also in Migration Toolkit and Migration Studio Parallel Data Loader 56 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 57. Use Cases: - Sistema de Información Territorial Estatal en Línea, México - National Oceanic and Atmospheric Administration - TriMet - http://www.ridethecity.com/ - FCC: Making the National Broadband Map with OpenGeo Suite - North Dakota State Water Commission Comparative Studies: - http://www.gise.cse.iitb.ac.in/ wiki/images/c/c4/Finalreport.p df - bit.ly/1e4meWo Some Use Case for Postgres and PostGIS 57 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 58. • OpenGeo • QuantumGIS • GeoServer • ArcGIS Popular GIS Applications are Compatible with PostgreSQL 58 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved.
  • 59. You have a ‘Real’ alternative to Oracle or other conventional proprietary Databases Conclusion 59 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. Economical Technically Sound Easy to Adopt
  • 60. How to start adoption 60 CONFIDENTIAL ©2011EnterpriseDB.Allrightsreserved. REPLICATION SERVER BACKUP / DR SERVER NEW APPLICATION MIGRATION