reducing the risks of migrating off oracle
TRANSCRIPT
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 1 Company Confidential.
Reducing the Risks of Moving Off Oracle
EDB Postgres Enterprise reduces risks… Raises…
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 2 Company Confidential.
…you could use your Oracle® skills without using Oracle?
…you could keep your investments in
PL/SQL and not use Oracle? …you could do both and save money?
What if…
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 3 Company Confidential.
But wait, change is not without risks!
Re-training Risks
Technical
Risks
RISK
e g r a
t i o
n I
n t
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 4 Company Confidential.
Reducing the Risk of Change
Technical
Data Compatibility
Code Compatibility
Tools for Mission-critical apps
Re-Training Compatible
Developer features: PL/SQL
DBA features: Workload Mgr &
Diagnostics,
Compatible tools: SQL*Plus,
SQL*Loader
Integration
Replicate to and from Oracle
XA Resource Manager
Data Adapters Wrappers for External DBs
Cost Savings
Cap core license quantities
Reduce core licenses
Eliminate core licenses
EDB Postgres Enterprise reduces risks… and raises…
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 5 Company Confidential.
EDB Migration Toolkit
Migration Toolkit converts Oracle database objects to Advanced Server objects
Data Compatibility
- Data types: all data including Blobs, Clobs and Object types… - Meta data like: schemas, tables, indexes, views, partitions, roles… - Code: triggers, stored procedures, users, roles, database links …
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 6 Company Confidential.
Advanced Server executes PL/SQL Stored Procedures, Triggers, Packages and understands extensions like DUAL, Rownum, Decode, NVL(2) and Substr().
Code Compatibility – PL/SQL
Emulation
Translation
Layer on PL/pgSQL
Compiler ✔ Interpreter ✔ Debugger ✔
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 7 Company Confidential.
my_program.pgc
ecpgPlus pre-compiler
C compiler
Linker
ecpgPlus (Pro*C support)
Code Compatibility – Pro*C
ecpglib
other libraries
my_progam.o
my_program.c
my_program
Supports: • Oracle Dynamic SQL
• Pro*C compatible anonymous blocks, and
• Oracle-compatible CALL statement
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 8 Company Confidential.
Open Client Library - OCL (OCI support)
Code Compatibility - OCI
Application Programs
Oracle’s OCI-Lib
Published API
UPI
Wire Protocols
Oracle® Call Interface stack
Application Programs
Open Client Library
OCI Compatible API
libpq
Wire Protocols
EDB’s Open Client Library
Same Apps
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 9 Company Confidential.
Enterprise Manager (Monitor, Alert, Manage & Tune)
Active Data Guard features: Failover and Hot Standby Reads
Tools for Mission-critical Apps
Failover server in Hot Standby mode also allows
READ access
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 10 Company Confidential.
…database compatibility for Oracle is compatible with:
10
EDB Postgres Enterprise…
Your technology
Minimal Application re-writes
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 11 Company Confidential.
Compatibility for Developers
Query Hints Packages
- UTL_ENCODE - UTL_FILE - UTL_HTTP - UTL_MAIL - UTL_SMTP - UTL_URL - Custom
- DBMS_ALERT - DBMS_CRYPTO - DBMS_JOB - DBMS_LOB - DBMS_LOCK - DBMS_OUTPUT - DBMS_PIPE - DBMS_PROFILER - DBMS_SCHEDULER - DBMS_SQL - DBMS_RANDOM - DBMS_RLS - DBMS_UTILITY
- Default Optimizer Hints - Access Method Hints - Join Order Hints - Join Relation Hints - Global Hints - Append Hints
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 12 Company Confidential.
Virtual Private Database implemented using a package compatible with Oracle’s DBMS_RLS (row level security)
Compatibility for Developers
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 13 Company Confidential.
Resource Manager (CPU & I/O resource allocation)
Compatibility for DBAs
Password Profiles
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 14 Company Confidential.
DRITA (Dynamic Runtime Instrumentation Tools Architecture)
working with Wait events …
Compatibility for DBAs • Functions − get_snaps() − sys_rpt() − sess_rpt() − sessid_rpt() − sesshist_rpt() − purgesnap() − truncsnap()
• Statspack-like AWR Reports − edbreport() − stat_db_rpt() − stat_tables_rpt() − statio_tables_rpt() − stat_indexes_rpt() − statio_indexes_rpt() − edb$system_waits − edb$session_waits − edb$session_wait_history
• Catalog Views − edb$system_waits − edb$session_waits − edb$session_wait_history
− ~50 Dictionary Views
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 15 Company Confidential.
Compatibility for Developers and DBAs
• EDB*Plus • EDB*Loader
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 16 Company Confidential.
…database compatibility for Oracle is compatible with:
16
EDB Postgres Enterprise…
Your technology Your people
No Application re-writes
Minimal re-training
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 17 Company Confidential.
Replication with Oracle
TRANSACTION
REPLICATION
Queries Reports
POSTGRES PLUS ADVANCED SERVER
TABLE C
TABLE D
ORACLE
Procs Objects
TABLE A
TABLE C
TABLE B
TABLE D
Improved OLTP
Performance
Inexpensive Query / Reporting
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 18 Company Confidential.
XA 2-Phase Commit Support
Transaction Manager (e.g. Tuxedo)
XA Resource Manager in
Oracle
XA Resource Manager in
Advanced Server
Phase 1
XA Resource Manager in
Oracle
XA Resource Manager in
Advanced Server
Phase 2
Transaction Manager (e.g. Tuxedo)
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 19 Company Confidential.
EDB Postgres Data Adapters
Read / Write
MySQL
Read / Write
MongoDB
Read / Write Hive/HDFS
File / CSV ODBC / JDBC
LDAP
Many others… Twitter / Facebook
EDB Postgres Advanced
Server
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 20 Company Confidential.
…database compatibility for Oracle is compatible with:
20
EDB Postgres Enterprise…
Your technology Your people
No Application re-writes
Minimal re-training
Easy Integration
Your business
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 21 Company Confidential.
Strategy Risk Time Effort Benefits Savings
New Reporting Applications Low Fast Low
• Leverages existing Oracle reporting skills • Proof point: Oracle alternative for reporting • No new Oracle licenses
Low
Offload Reports using Replication Low Fast Med
• Leverages existing Oracle reporting skills • Proof point: integration into Oracle infrastructure • No new Oracle licenses
Low
New Transaction Applications Low Application
Dependent Low • Leverages existing Oracle report & txn skills • Proof point: viable option for txn processing • No new Oracle licenses
Med
Old Applications Due for Re-writes / Updates
Med Application Dependent Med
• Leverages existing Oracle skills and PL/SQL • Proof point: retain PL/SQL investments • Recycle existing Oracle licenses
Med
Migrate / Rewrite non-mission critical Apps
High Application Dependent Med
• Leverages existing Oracle skills and PL/SQL • Proof point: • Significant cost savings
High
New mission critical applications
High Application Dependent High
• Leverages existing Oracle skills • Proof point: Postgres tools for HA, Management • Dramatic cost savings
High
Adoption Strategies to Reduce Risk
EDB’s Migration Assessment Service helps you build a custom strategy to move off Oracle that reduces your risk and maximizes your savings and success.
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 22 Company Confidential.
…you could use your Oracle® skills without using Oracle!
…you could keep your investments in
PL/SQL and not use Oracle! …you could do both and save money!
What if… When will you…
© Copyright EnterpriseDB Corporation, 2016. All Rights Reserved. 23 Company Confidential.
Additional Resources…
• EDB Downloads: − www.enterprisedb.com/downloads
• Case study: Clear Capital Shrinking Oracle Costs − www.enterprisedb.com/clear-capital
• eBook comparing EDB Postgres Enterprise to Oracle Enterprise Edition − Email: [email protected]