EDB xdb Replication Server 5.1 Release Notes February 24, 2014
EDB xdb Replication Server, Version 5.1 Release Notes by EnterpriseDB Corporation Copyright 2014 EnterpriseDB Corporation. All rights reserved. EnterpriseDB Corporation, 34 Crosby Drive Suite 100, Bedford, MA 01730, USA T +1 781 357 3390 F +1 978 589 5701 E info@enterprisedb.com www.enterprisedb.com EnterpriseDB Corporation. All Rights Reserved. Page 2
Table of Contents 1 Introduction... 4 2 xdb Replication Server Feature Highlights... 5 2.1 Custom Conflict Handlers... 5 2.2 Replication Latency Improvement... 5 2.3 Shadow Table Trigger Optimization... 5 2.4 Extended Support for DDL Replication... 5 2.5 Enhanced Replication Filters... 5 2.6 SSL Support for Database Connections... 6 2.7 IPv6 Support... 6 2.8 Cron Expression Support... 6 2.9 Full Replication Event Persistance... 6 2.10 Custom Log File Rotation... 6 2.11 GUI Configuration Option... 6 3 Bug Fixes... 7 4 Product Keys... 8 5 Documentation Updates... 9 6 Upgrade Paths... 10 7 Platform Support and System Requirements... 11 8 Known Issues... 12 9 How to Report Problems... 13 EnterpriseDB Corporation. All Rights Reserved. Page 3
1 Introduction EDB xdb Replication Server is an extremely versatile tool for data backup, disaster recovery, database initialization, scalability, availability, performance solutions and heterogenous database integration. Organizations can use single-master replication for moving data between Postgres Plus Advanced Server, PostgreSQL, Oracle and SQL Server to offload reporting from a master server (increasing its OLTP performance) to a replicated reporting server improving overall read query performance. xdb can also be used for migrating sub-sets of data to new databases, seeding development databases, initializing test databases, and much more. Organizations can use multi-master replication for read scalability and write availability for geo-dispersed databases. One can replace a single overloaded master that consolidates regional data with multiple masters in each region that improve local write performance while providing consolidated data access in near real time. When integrated into a high availability configuration, multiple masters insure that all locations have a master available should one location fail. With this latest release of xdb Replication Server, EnterpriseDB continues to expand and improve the utility and security of xdb within small or large-scale enterprises. The major highlights of this release are: EnterpriseDB Corporation. All Rights Reserved. Page 4
2 xdb Replication Server Feature Highlights 2.1 Custom Conflict Handlers For MMR replication mode, in addition to the pre-defined automatic resolution options (timestamps and node priority), user now have the flexibility to define custom conflict handlers by writing specific busniess logic routines (using pl/pgsql or SPL language) that will be invoked to resolve conflicts. For instance instead of using the default timestamp or node priority conflict resolution options, users can define their own resolutions such as prioritizing one user's edit over another user's edits by User Name or another piece of data or algorithm. 2.2 Replication Latency Improvement The grouping and loading process for delta changes has been significantly refactored to reduce the query execution time. This specifically applies to use cases when the size of the pending backlog (shadow table) grows to accumulate tens of thousands of pending rows that required a longer period of time to synchronise in older versions. The performance tests with 5.1.0 have shown a significant improvement in replication latency. 2.3 Shadow Table Trigger Optimization The Post-UPDATE shadow table trigger has been optimised to use a static query that is more efficient than the old mechanism of dynamic query construction thus improving performance. 2.4 Extended Support for DDL Replication The following additional Data Definition Language constructs are now supported: ALTER TABLE, DROP, RENAME, TYPE, SET/DROP DEFAULT and SET/DROP NOT NULL for both single and multi-master replication. Support for these constructs also applies to column changes. This allows DBAs to perform more data definition operations on a running replication system without interrupting its operation for users. 2.5 Enhanced Replication Filters In contrast to old releases, users can now create multiple row-level filters on a given Publication table to apply filter rules on a per-target node basis. This greatly enhances the flexibility and customization of what data to replicate. Additionally the Table Row Filters are now supported in multi-master mode. EnterpriseDB Corporation. All Rights Reserved. Page 5
2.6 SSL Support for Database Connections Users can now choose to enable SSL for all Publication and Subscription database connections for a more secure replication environment. 2.7 IPv6 Support xdb now supports registration of the Publication, Subscription and Control databases with IPv6 based IP addresses. This overcomes a limitation in cases where a JDBC connection needs to reference IPv6 based IP address. 2.8 Cron Expression Support Users can now schedule cleanup jobs using a cron expression. This provides more flexibility in choosing a more granular-level schedule (minute, multiple days in a week etc.). 2.9 Full Replication Event Persistance The option to persist all the replication events is now supported. Previously the history was maintained only for the replication events with non-zero rows/failed status. This gives users the option to preserve the entire replication history. 2.10 Custom Log File Rotation Users can now customise the xdb log files size and number of files to maintain in the log file rotation history. 2.11 GUI Configuration Option The state for the GUI configuration option Show history with transactions count > 0 is now maintained across sessions. Previously if the user selected this option and the GUI consoel was restarted, the user s choice was not preserved. EnterpriseDB Corporation. All Rights Reserved. Page 6
3 Bug Fixes EDB xdb Replication Server 5.1 Release Notes 1. If a Publication contains tables from multiple schemas that have circular foreign keys dependencies, these keys fail to replicate in MMR replication mode. This issue has been fixed. (22534) 2. Changing the default value of the "lobbatchsize" option in xdb_pubserver.conf causes Snapshot to fail for "PPAS to Oracle" and "PPAS to SQL Server" permutations. This issue has been fixed. (30421) 3. Synchronize replication fails for a PPAS table with "bytea" data type in "PPAS to Oracle" replication mode. This issue has been fixed. (30275) 4. The UPDATE query against a PPAS table with "chkpass" data type results in a type casting error. This issue has been fixed. (23317) 5. The Synchronize operation causes "out of range" error when a negative value is seeded in a table with numeric and decimal data types for SQL Server to PPAS replication. This issue has been fixed. (20444) 6. Conflict history grid values are not shown when the user removes a target database and then adds a new database. This issue has been fixed. (23200) 7. The "view data" link under the "Replication History" tab is not working when invoked on a target Subscription/Master database node. This issue has been fixed. (23456) 8. The control trigger creation failure is ignored if the xdb control database is hosted on a PostgreSQL/PPAS database server v8.4 and PL/pgSQL language is not installed on it. This issue has been fixed. (30306) 9. The "postsyncshadowtablecleanup" configuration parameter is not working in SMR replication mode. This issue has been fixed. (30427) EnterpriseDB Corporation. All Rights Reserved. Page 7
4 Product Keys The initial installation of xdb Replication Server does not require a product key. Upon installation you are granted full access to the Single Master Replication (SMR) and Multi-Master Replication (MMR) features under a Limited Use License for evaluation purposes for a trial period. At the end of the trial period, if you are using SMR, you are required to either de-install the software or purchase a valid subscription. At the end of the trial period, if you are using MMR, you are required to either de-install the software or purchase a valid subscription. In addition, at the end of the trial period, access to modify an MMR configuration will be prevented. However, replication between hosts will continue without interruption or loss of information. To use the Multi-Master features beyond the evaluation period, you are required to purchase either: a) the xdb MMR option for your Postgres Plus Standard Edition subscription, or b) purchase a Postgres Plus Enterprise Edition subscription. With the purchase of a subscription you will receive a product key, which will re-enable access to modifying the MMR features. The product key is applied through the xdb Management console and will restore full Multi-Master functionality for the term of your subscription. To apply a Product Key, start the xdb Management console program and select 'Register xdb {MMR}' from the 'Help' menu. Then enter your key in the Product Registration dialog. For any assistance with product keys, please contact: sales@enterprisedb.com EnterpriseDB Corporation. All Rights Reserved. Page 8
5 Documentation Updates For the latest versions of the xdb Replication Serve guides, please visit: http://www.enterprisedb.com/documentation Please note that subscription holders can also access PDF versions of the documentation by logging into the EnterpriseDB website, and visiting the customer portal at: http://www.enterprisedb.com/support EnterpriseDB Corporation. All Rights Reserved. Page 9
6 Upgrade Paths TBD. EnterpriseDB Corporation. All Rights Reserved. Page 10
7 Platform Support and System Requirements xdb Replication Server is supported on all platforms supported by Postgres Plus Advanced Server. For platform support details visit: http://www.enterprisedb.com/ppas-platform-support EnterpriseDB will address issues in these environments on a best effort basis, where best effort is defined as a reasonable response to a request that can be achieved within the context of the technology / platforms available, and prevailing business conditions. To inquire about operating system support, contact us, by: Email: sales-us@enterprisedb.com or sales-intl@enterprisedb.com Phone: +1-781-357-3390 or 1-877-377-4352 Web: http://www.enterprisedb.com/general-inquiry-form EnterpriseDB Corporation. All Rights Reserved. Page 11
8 Known Issues 1. SSL connectivity is not verified for Oracle and MS SQL Server database connections. 2. SSL connections fail against the xdb Control database. (32461) 3. A repeated Snapshot introduces duplicates in partition tables. (32427) 4. The Replicate DDL operation: "ALTER TABLE REMOVE/RENAME COLUMN" drops table filters. (32402) 5. The Replicate DDL operation: "ALTER TABLE ADD COLUMN" fails to add a column of type bit(8) for PPAS to SQL Server replication. (32341) EnterpriseDB Corporation. All Rights Reserved. Page 12
9 How to Report Problems To report any issues you are having please contact EnterpriseDB s technical support staff: Email: support@enterprisedb.com Phone: +1-732-331-1320 or 1-800-235-5891 (US Only) EnterpriseDB Corporation. All Rights Reserved. Page 13