Comparison of database operations-related capabilities

Consider these operations-related capabilities when analyzing the feasibility of your migration.

High availability

Mission-critical workloads must remain operational at all times and have little tolerance for even planned downtime for maintenance. This demand for high availability requires solutions that provide:

  • High-speed replication and redundancy to eliminate single points of failure in the system
  • Failure detection and automated failover to ensure systems continue to function in case of a breakdown in the system
  • Data and system recovery to assist DBAs following failure events
Oracle EnterpriseEDB Postgres Advanced Server
Data GuardYes
Using streaming replication and log shipping
Active Data GuardYes
Failover Manager
Flashback (querying)No
Flashback (undo operations)No
Backup and recovery toolsYes
Barman or pgBackRest
Point-in-time recoveryYes

Performance and scalability

You can optimize database operations through various means to deliver higher performance. Connection pooling, for example, refers to a common way of maintaining open connections to the database for applications that repeatedly make requests as opposed to having to create new connections each time. Data replication can increase performance by making information simultaneously available to multiple end-user applications. You can achieve these performance enhancements through database enhancements and various external complementary solutions.

Performance/scalabilityOracle EnterpriseEDB Postgres Advanced Server
Connection poolingYesYes
5-9s High availabilityYes
Using Real Application Clusters (RAC)
Yes
Using EDB Postgres Distributed
Write scalabalityYes
RAC
No
Read scalabilityYes
Using Active Data Guard or RAC
Yes
Achieved with read replicas
In-memory databaseYesNo
Multi-master read/write solutionYes
Using Advanced Replication, Streams, or GoldenGate
Yes
EDB Postgres Distributed or Replication Server
Columnar storeYes
Using in-memory column store
No
CPU and I/O resource limitsYesYes

Security

Database security consists of many dimensions, including secure connections, password management, access control, physical data encryption, auditing, and more. Among open source and commercial databases, EDB Postgres Advanced Server is one of the most secure and contains extensive support for PCI DSS.

SecurityOracle EnterpriseEDB Postgres Advanced Server
Authentication systems supportYes
LDAP, SSL, RADIUS, PAM, Kerberos, GSSAPI, SSPI
Yes
LDAP, SSL, RADIUS, PAM, Kerberos, GSSAPI, SSPI
DB connection encryptionYesYes
DB connection white listsYes
Using before connect triggers
Yes
DB connection black listsYes
Using before connect triggers
Yes
Profiles for passwordsYesYes ✓
Server code obfuscationYesYes
ANSI standard SQL GRANT/REVOKEYesYes
Column-level permissionsYesYes
User/group/role supportYesYes ✓
Virtual Private Database (VPD) / Row Level Security (RLS)YesYes
View security barriersNoYes
Transparent Data EncryptionYesYes
Data maskingYesNo
Data redactionYesYes ✓
Real Application SecurityYesPartial
Only DBMS_RLS functionality
Database VaultYesNo
Audit Vault and Database FirewallYesPartial
Database firewall only (SQL/protect)
Advanced SecurityYesYes
Multiple options available; see Data encryption options
AuditingYesYes
Fine-grained auditingYesNo
Data encryption toolkitYesYes ✓
DBMS_CRYPTO package provide with compatibility for Oracle

Data encryption options

The following data encryption options offer different levels and granularity of protection depending on the needs of the application.

Using pgcrypto:

  • Postgres contrib module.
  • Applied to selected table columns.
  • Can't search or index encrypted fields.
  • Encryption must be applied at table creation, so advance planning is required.
  • The application must handle the encryption/decryption so that exchanges with the database remain encrypted.
  • DBAs can't see data in clear.

Using DBMS_CRYPTO:

  • Oracle-compatible wrapper around pgcrypto with same features and limitations.
  • Supports multiple cipher algorithms.
  • DES, 3DES, AES, and AES128.
  • MD4, MD5, and SHA-1 hash functions.
  • Generate cryptographically strong random values.

Using EDB Transparent Data Encryption:

  • Encrypts all Postgres user data stored on disk.
  • Prevents unauthorized viewing of data in operating system files on the database server and on backup storage
  • No application changes or updated client drivers.
  • Flexible Key Management architecture.

Using disk partition encryption:

  • File system disk partition is encrypted/decrypted by the OS.
  • Protects all files in the database partition, including temporary files.
  • Data is decrypted when read from the filesystem. This allows DBAs to see the data so they have roles and permissions locked down.
  • Transparent to application developers, e.g., Red Hat Enterprise Linux supports Linux Unified Key Setupon-disk-format (LUKS).

Using file system level:

  • Individual files or directories are encrypted by the file system.
  • Requires file-based key management.
  • Individual management of encrypted files, e.g., incremental backups even in encrypted form.
  • Access control can be enforced by use of public-key cryptography.
  • Cryptographic keys are held in memory only while the file that is decrypted by them is held open.
  • Transparent to application developers, e.g., eCryptfs for Linux.

Using Thales CipherTrust Transparent Encryption:

  • Secures data at-rest for EPAS databases and backups.
  • File system-level encryption backed by centralized key management.
  • Privileged user access controls.
  • Detailed data access audit logging.

Integration

Today’s data centers commonly consist of one or more relational and many nonrelational database solutions deployed to handle specific workloads based on data type and application. Relational databases use a range of mechanisms for connecting to other like and dissimilar database solutions across the infrastructure to connect data from multiple sources and create a cohesive data fabric. In some cases, the database is engineered with specific capabilities that enhance data integration. Database vendors also develop adaptors that enable their database to connect with other vendor solutions.

IntegrationOracle EnterpriseEDB Postgres Advanced Server
Database linksYesYes ✓
Native asynchronous log-based replicationYesYes
Native synchronous log-based replicationYesYes
Session-based synchronous replication*NoYes
Distributed transactionsYesNo
Distributed queriesYesYes
Integration with SQL ServerYes
Oracle Database Gateway
Yes
Replication Server
Integration with HadoopYes
Oracle Data Integrator
Yes
HDFS Foreign Data Wrapper
Integration with MongoDBYes
Oracle GoldenGate
Yes
MongoDB Foreign Data Wrapper
Integration with MySQLYes
Oracle Database Gateway
Yes
MySQL Foreign Data Wrapper or Migration Toolkit
Integration with SybaseYes
Oracle Database Gateway
Yes
Migration Toolkit

*It's possible, and often useful, to have some transactions commit synchronously and others asynchronously depending on the session connected to the database.

Management

Large enterprises have large database deployments often into the hundreds and beyond. DBAs require tools for maintaining these data farms easily and quickly and for performing operations in bulk across multiple databases. Customizable graphical consoles with complete features for monitoring, tuning, managing, and alerting are critical to DBAs performing the basics of their responsibilities. Management encompasses both the capabilities in the database that support the DBA in their operational tasks and tools external to the database.

ManagementOracle EnterpriseEDB Postgres Advanced Server
CLIYes
SQL*Plus
Yes ✓
EDB*Plus
Bulk data loaderYes
SQL*Loader
Yes ✓
EDB*Loader
Enterprise managementYes
Oracle Enterprise Manager
Yes
Postgres Enterprise Manager
System catalog viewsYesYes ✓
(See Appendix C)
Point-in-time recovery (PITR)YesYes
Online backupYesYes
Online reorganizationYesNo
Automatic memory managementYesNo
Automatic storage managementYesNo
Automatic undo managementYesNo
Diagnostics packageYesYes
EDB Wait Sates
Tuning packageYesYes
Tuning Wizard, Index Advisor, Postgres Expert in PEM
SQL query profilerYesYes
Available in PEM

EDB Postgres Advanced Server-compatible catalog views

EDB Postgres Advanced Server provides over 90 Oracle catalog views that provide information about database objects in a manner compatible with the Oracle data dictionary views.

ALL_ ViewsDBA_ ViewsUSER_ Views
ALL_ALL_TABLESDBA_ALL_TABLESUSER_ALL_TABLES
ALL_COL_PRIVSDBA_COL_PRIVSUSER_COL_PRIVS
ALL_CONSTRAINTSDBA_CONSTRAINTSUSER_CONSTRAINTS
ALL_CONS_COLUMNSDBA_CONS_COLUMNSUSER_CONS_COLUMNS
ALL_DB_LINKSDBA_DB_LINKSUSER_DB_LINKS
ALL_DEPENDENCIESDBA_DEPENDENCIESUSER_DEPENDENCIES
ALL_DIRECTORIESDBA_DIRECTORIES
ALL_INDEXESDBA_INDEXESUSER_INDEXES
ALL_IND_COLUMNSDBA_IND_COLUMNSUSER_IND_COLUMNS
ALL_OBJECTSDBA_OBJECTSUSER_OBJECTS
ALL_PART_KEY_COLUMNSDBA_PART_KEY_COLUMNSUSER_PART_KEY_COLUMNS
ALL_PART_TABLESDBA_PART_TABLESUSER_PART_TABLES
ALL_POLICIESDBA_POLICIESUSER_POLICIES
DBA_PROFILES
ALL_QUEUESDBA_QUEUESUSER_QUEUES
ALL_QUEUE_TABLESDBA_QUEUE_TABLESUSER_QUEUE_TABLES
DBA_ROLES
DBA_ROLE_PRIVSUSER_ROLE_PRIVS
ALL_SEQUENCESDBA_SEQUENCESUSER_SEQUENCES
ALL_SOURCEDBA_SOURCEUSER_SOURCE
ALL_SUBPART_KEY_COLUMNSDBA_SUBPART_KEY_COLUMNSUSER_SUBPART_KEY_COLUMNS
ALL_SYNONYMSDBA_SYNONYMSUSER_SYNONYMS
ALL_TABLESDBA_TABLESUSER_TABLES
ALL_TAB_COLUMNSDBA_TAB_COLUMNSUSER_TAB_COLUMNS
ALL_TAB_PARTITIONSDBA_TAB_PARTITIONSUSER_TAB_PARTITIONS
ALL_TAB_PRIVSDBA_TAB_PRIVSUSER_TAB_PRIVS
ALL_TAB_SUBPARTITIONSDBA_TAB_SUBPARTITIONSUSER_TAB_SUBPARTITIONS
ALL_TRIGGERSDBA_TRIGGERSUSER_TRIGGERS
ALL_TYPESDBA_TYPESUSER_TYPES
ALL_USERSDBA_USERSUSER_USERS
ALL_VIEWSDBA_VIEWSUSER_VIEWS
ALL_VIEW_COLUMNSDBA_VIEW_COLUMNSUSER_VIEW_COLUMNS

In addition to the views listed in the table, the following views are also provided:

  • DBMS_AQ_STAT_DATABASES
  • DBMS_AQ_STAT_MESSAGES
  • DBMS_AQ_STAT_QUEUES
  • DBMS_AQ_STAT_WAITERS
  • PRODUCT_COMPONENT_VERSION
  • V$VERSION

Deployment options

With the advance of public and private clouds and virtualization, the range of database deployment options has increased for end users. The following is a snapshot of the available deployment options for Oracle Enterprise and EDB Postgres Advanced Server.

Deployment optionsOracle EnterpriseEDB Postgres Advanced Server
On-premises hardwareYes
Intel, AMD, IBM Power, Sun ultraSPARC
Yes
Intel, AMD, IBM Power
On-premises virtualYes
With restrictions
Yes
On-premises cloud, private cloudYes
Oracle Cloud on an Oracle stack including infrastructure and platform (middleware and database)
Yes
Consumption-based solution in HPE GreenLake Database with EDB Postgres
Public cloud - managed serviceYes
Oracle Cloud on a proprietary stack including infrastructure and platform (middleware and database)
Yes
BigAnimal
Public cloud - self managedYesYes
Hybrid cloudYesYes
Kubernetes/containersYesYes

Could this page be better? Report a problem or suggest an addition!