Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
https://news.trivadis.com/blog@KonradHaefeli
Status of the partnership Trivadis and EDB -
Comparing PostgreSQL to Oracle, ...
Jan Karremans
Director of Sales Engineering,
EnterpriseDB
• Speaker
• Oracle ACE AI
• … PG Guru ☺
www.trivadis.com
Konrad ...
The Trivadis – EDB Story
Managed Oracle DBaaS from Swisscom Cloud powered by Trivadis3 Sep. 2019
Trivadis Platform factory offers
Trivadis Transactional Data Platform offers
The best kept secrets to success…
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
What’s on the menu
Introduction
Comparing technologies
Some words on ...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Introduction
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Disclaimer
Where I say Oracle
I mean Oracle Enterprise Edition + poss...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Comparing technologies
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Besides differences
also lots of similarities
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
General / Capabilities
Terminology
Capacities
Tables and Partitioning...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
General / capabilities
Both based on IBM research for System R.
https...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Terminology
What Oracle PostgreSQL
Table or Index Table or Index Rela...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Capacities
Unlimited database size
Unlimited rows per table
Unlimited...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Capacities
Max Oracle PostgreSQL
Table size 4 GB x DB_BLOCK_SIZE
defa...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Tables and partitions
Entities Oracle PostgreSQL
Temporary tables, (m...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Data types
We have BOOLEAN
Max Oracle PostgreSQL
Integer NUMBER
+ DEC...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Data types
Max Oracle PostgreSQL
Date / Time Yes
Row id Yes
XMLType Y...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Indexes
Entities Oracle PostgreSQL
B-Tree, hash, expressions, partial...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
SQL Capabilities
Entities Oracle PostgreSQL
Union, Intersect, Except,...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
SQL Extensions
Entities Oracle PostgreSQL
Dual, DECODE, Rownum, Sysda...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
High availability
Entities Oracle PostgreSQL
PITR
Point In Time Recov...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Performance & Scalability
Entities Oracle PostgreSQL
Connection pooli...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Security
Entities Oracle PostgreSQL
Authentication support
LDAP, SSL,...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Integration
Entities Oracle PostgreSQL
Database links, (a)synchronous...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Application development
Entities Oracle PostgreSQL
PL/SQL Yes Compati...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Application development
Entities Oracle PostgreSQL
Java, JDBC, ODBC, ...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Big & Unstructured data
Entities Oracle PostgreSQL
Spatial Good Bette...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Some more perspective
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Close versus Open
Develop solutions to sell
Primary goal is to do bus...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Close versus Open
Open software shows the math, not just the answer
N...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Isolated versus integrated
Oracle has an isolated operating environme...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Shared everything versus
shared nothing
Courtesy: Ben Stopford
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Real Application Cluster
Courtesy: Uwe Hesse
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Multi Master Replication
Courtesy: ULX Hungary
Include pgpool II
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Some words on pricing
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
How does EnterpriseDB do it
Subscriptions just for databases
Independ...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
What does EnterpriseDB bring?
Per year per core
EnterpriseDB Postgres...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
What does it cost
Enterprise Edition
Active Data Guard
Partitioning
D...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
What does it cost
0
4000
8000
12000
16000
20000
Oracle EPAS *
4 core ...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
What does it cost
0
22500
45000
67500
90000
Oracle EPAS *
4 core serv...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
What does it cost
0
22500
45000
67500
90000
112500
Oracle EPAS *
4 co...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Conclusion
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Well…
Oracle has a solid place in the database eco-system
PostgreSQL ...
@johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
Wrap-up
Would it be smart to look at PostgreSQL?
From what I have lea...
TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing PostgreSQL to Oracle, the best kept secrets; Konrad...
TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing PostgreSQL to Oracle, the best kept secrets; Konrad...
Upcoming SlideShare
Loading in …5
×

TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing PostgreSQL to Oracle, the best kept secrets; Konrad Häfeli, Jan Karremans - Trivadis

13 views

Published on

TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing PostgreSQL to Oracle, the best kept secrets; Konrad Häfeli, Jan Karremans - Trivadis

Published in: Technology
  • Be the first to comment

  • Be the first to like this

TechEvent 2019: Status of the partnership Trivadis and EDB - Comparing PostgreSQL to Oracle, the best kept secrets; Konrad Häfeli, Jan Karremans - Trivadis

  1. 1. https://news.trivadis.com/blog@KonradHaefeli Status of the partnership Trivadis and EDB - Comparing PostgreSQL to Oracle, the best kept secretsJan Karremans, EDB Konrad Häfeli, Trivadis
  2. 2. Jan Karremans Director of Sales Engineering, EnterpriseDB • Speaker • Oracle ACE AI • … PG Guru ☺ www.trivadis.com Konrad Häfeli Head of Product Design and Partner at Trivadis • Since 1986 in various IT areas • Since 1998 with Trivadis AG • More than 25 years of experience in Oracle databases
  3. 3. The Trivadis – EDB Story Managed Oracle DBaaS from Swisscom Cloud powered by Trivadis3 Sep. 2019
  4. 4. Trivadis Platform factory offers
  5. 5. Trivadis Transactional Data Platform offers
  6. 6. The best kept secrets to success…
  7. 7. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 What’s on the menu Introduction Comparing technologies Some words on pricing Getting started Conclusion
  8. 8. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Introduction
  9. 9. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Disclaimer Where I say Oracle I mean Oracle Enterprise Edition + possible options Where I say PostgreSQL I mean EnterpriseDB Postgres Advanced Server
  10. 10. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019
  11. 11. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Comparing technologies
  12. 12. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Besides differences also lots of similarities
  13. 13. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 General / Capabilities Terminology Capacities Tables and Partitioning Data Types Indexes SQL Capabilities SQL Extensions High Availability Performance / ScalabilitySecurity Integration Application Development Big / Unstructured Data Management Incompatibilities Deployment Options
  14. 14. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 General / capabilities Both based on IBM research for System R. https://en.wikipedia.org/wiki/IBM_System_R Both are (+) relational databases ACID compliant and MVCC or transactional consistency Full transaction logging (REDO vs. WAL) Multi-Tenant architecture
  15. 15. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Terminology What Oracle PostgreSQL Table or Index Table or Index Relation Row Row Tuple Column Column Attribute Data block Data block Page (on Disk) Page Page Buffer (in Memory)
  16. 16. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Capacities Unlimited database size Unlimited rows per table Unlimited number of indexes per table
  17. 17. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Capacities Max Oracle PostgreSQL Table size 4 GB x DB_BLOCK_SIZE defaults to 32 TB 32 TB Row size 4 TB 1,6 TB Field size (4 GB - 1) x DB_BLOCK_SIZE 1 GB Columns per table 1000 250 - 1600
  18. 18. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Tables and partitions Entities Oracle PostgreSQL Temporary tables, (materialized) views, constraints Same Partitioning: range, hash, list, sub-partitioning & IOT Similar Interval partitioning & Partitioned indexes Yes No
  19. 19. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Data types We have BOOLEAN Max Oracle PostgreSQL Integer NUMBER + DEC, NUMERIC, SMALLINT, INT, BINARY_INTEGER, PLS_INTEGER, INTEGER & BIGINT Floating point BINARY_FLOAT, BINARY_DOUBLE + FLOAT, REAL & DOUBLE_PRECISION Decimal NUMBER + DEC, DECIMAL, NUMERIC String CHAR, VARCHAR2, CLOB, NCLOB, NVARCHAR2, NCHAR, LONG + CHARACTER, TEXT, CHAR VARYING, CHARACTER VARYING, VARCHAR Binary BLOB, RAW, LONG RAW, BFILE + BYTEA -/- BFILE
  20. 20. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Data types Max Oracle PostgreSQL Date / Time Yes Row id Yes XMLType Yes JSON is_json check constraint native JSON & JSONB with 58 operators, functions & relational converters Spatial Yes
  21. 21. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Indexes Entities Oracle PostgreSQL B-Tree, hash, expressions, partial, full text search, spatial Same Reverse, bitmap, block range Similar Block range = Smart Scan K-nearest-neighbor With options Native GIST, GIN Speed up full-text searches No Yes
  22. 22. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 SQL Capabilities Entities Oracle PostgreSQL Union, Intersect, Except, Inner joins, Outer joins, Merge joins, Common Table expressions, Windowing functions, Parallel query, Query hints, Alter session & Dynamic SQL Same Transactional DDL No Yes
  23. 23. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 SQL Extensions Entities Oracle PostgreSQL Dual, DECODE, Rownum, Sysdate, Systimestamp, NVL & NVL2 Same
  24. 24. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 High availability Entities Oracle PostgreSQL PITR Point In Time Recovery Similar Backup and recovery tools RMAN BART Standby database (Active) Data Guard Streaming replication Flashback Query, Table, Database Yes No
  25. 25. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Performance & Scalability Entities Oracle PostgreSQL Connection pooling CPU & IO Resource limits Similar Columnar store InMemory option cstore FDW In-memory database well, yes… No Multi-master replication Golden Gate Quest Shareplex Dbvisit Replicate Yes
  26. 26. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Security Entities Oracle PostgreSQL Authentication support LDAP, SSL, RADIUS, PAM, Kerberos, GSSAPI, SSPI Connection encryption, password profiles, code wrapping, Ansi SQL grants, column level security, row level security (Virtual Private Database), fine grained auditing, data encryption toolkit, database firewall Similar Database-connection encryption & white lists No Yes Audit Vault Yes No
  27. 27. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Integration Entities Oracle PostgreSQL Database links, (a)synchronous transaction-log shipping, distributed transactions, distributed queries Similar Session based synchronous replication No Yes Integration with SQL Server, Sybase, Hadoop, MongoDB & MySQL Yes, FDW
  28. 28. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Application development Entities Oracle PostgreSQL PL/SQL Yes Compatible Additional programming languages to PL/SQL Java, C, C++ PL/pgSQL, PL/Java, C, C++, PL/Perl, Python, PL/Tcl, PL/R
  29. 29. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Application development Entities Oracle PostgreSQL Java, JDBC, ODBC, .NET, user defined functions & objects, nested transactions, external routines Same Stored procedures, triggers, cursors, bulk collect, anonymous blocks, associate arrays, nested tables, varrays, hierarchical queries, pragma restrict_reference & except_init, user defined exceptions, object types, sub types, synonyms, sequences, invoker rights, statement level rollback Similar
  30. 30. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Big & Unstructured data Entities Oracle PostgreSQL Spatial Good Better Key-value store & Full Text Search Similar XML Storage, Compression Yes No !! Hadoop, MongoDB, Cubes Yes !! In the OS we trust…
  31. 31. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Some more perspective
  32. 32. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Close versus Open Develop solutions to sell Primary goal is to do business Develop solutions to solve a problem Primary goal is to solve a problem
  33. 33. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Close versus Open Open software shows the math, not just the answer No reverse engineering, just a good read Allows for tailoring of solutions
  34. 34. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Isolated versus integrated Oracle has an isolated operating environment Operating system like qualities PostgreSQL integrates in it’s surroundings Eliminating the need to “re-invent the wheel”
  35. 35. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Shared everything versus shared nothing Courtesy: Ben Stopford
  36. 36. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Real Application Cluster Courtesy: Uwe Hesse
  37. 37. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Multi Master Replication Courtesy: ULX Hungary Include pgpool II
  38. 38. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Some words on pricing
  39. 39. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 How does EnterpriseDB do it Subscriptions just for databases Independent of virtualisation Always inclusive of everything * No police
  40. 40. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 What does EnterpriseDB bring? Per year per core EnterpriseDB Postgres Standard Server EnterpriseDB Postgres Advanced Server Developer subscription
  41. 41. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 What does it cost Enterprise Edition Active Data Guard Partitioning Diagnostic & Tuning Cloud Management
  42. 42. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 What does it cost 0 4000 8000 12000 16000 20000 Oracle EPAS * 4 core server Maintenance Maintenance 80% discount
  43. 43. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 What does it cost 0 22500 45000 67500 90000 Oracle EPAS * 4 core server Maintenance Maintenance80% discount
  44. 44. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 What does it cost 0 22500 45000 67500 90000 112500 Oracle EPAS * 4 core server Maintenance Maintenance 80% discount License 80% discount
  45. 45. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Conclusion
  46. 46. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Well… Oracle has a solid place in the database eco-system PostgreSQL has a solid place in the database eco-system With some help, PostgreSQL can support more It constitutes a real alternative In 80% of the cases
  47. 47. @johnnyq72Comparing PostgreSQL to Oracle - AOUG 2019 Wrap-up Would it be smart to look at PostgreSQL? From what I have learned… I would say, yes, please. &

×