Jump to content

SymmetricDS

From Wikipedia, the free encyclopedia
SymmetricDS
Initial releaseNovember 2007
Stable release
3.15.2[1] Edit this on Wikidata / 16 December 2023; 11 months ago (16 December 2023)
Operating systemMicrosoft Windows, Linux, Mac OS X, Android
Available inEnglish
LicenseGPL
Websitewww.symmetricds.org

SymmetricDS is open source software for database and file synchronization with Multi-master replication, filtered synchronization, and transformation capabilities.[2] It is designed to scale for a large number of nodes, work across low-bandwidth connections, and withstand periods of network outage.[3] Data synchronization occurs asynchronously from a scheduled job, with data changes being sent over a push or pull operation. It uses standard web protocols (HTTP) and database technologies (JDBC) in order to support a wide range of platforms and maximize its interoperability. It includes support for Oracle, MySQL, MariaDB, PostgreSQL, Greenplum, SQL Server, SQL Server Azure, HSQLDB, H2, Derby, DB2, Firebird, Informix, Interbase, SQLite, Sybase ASE, Sybase ASA, MongoDB, Amazon_Redshift, and VoltDB databases.[4]

Functionality

[edit]

SymmetricDS runs either as a standalone server (using a built-in Jetty), within an application server (such as Apache Tomcat), or embedded into an application. Configuration is done through properties files and a collection of configuration tables at a central node. Both database tables and filesystems can be synchronized across a network of nodes. Configuration allows for selection of tables, columns (vertical filtering), and subsets of rows (horizontal filtering) to synchronize in one direction or both directions. Files are selected by base directory and whether to recurse into directories. Wildcard characters are used to match multiple tables and files. Tables can be grouped into channels that sync based on priority. Groups of nodes are linked together and assigned a transport method of push or pull. A push will connect to the node and send changes when they are ready, while a pull will periodically connect with a node to check if changes are available. Several network topologies are possible by linking node groups, including fan-in/out, multi-master, star, and multi-tier tree. A node can be prepared with an initial load of data to populate its database. Changes are grouped into batches and assigned for delivery to nodes using Routers. Routers can be configured or scripted to filter data and make decisions on which nodes should receive data. Batches are delivered during synchronization and tracked using a sequence number and status, with periodic retries designed to automatically recover from errors. Administration tools for command line and a web-based JMX console are included to manage nodes from a central location. Programming interfaces for Java and REST are included to extend and customize behavior.

Prominent users

[edit]
  • OpenMRS - open source medical record system[5]
  • Openboxes - supply chain management software[6]

See also

[edit]

References

[edit]
  1. ^ "Change Log - SymmetricDS - Issue Tracker".
  2. ^ "SourceForge Project Page". Retrieved Dec 10, 2013.
  3. ^ "Synchronize Databases with SymmetricDS". 23 November 2012. Retrieved Nov 23, 2012.
  4. ^ "SymmetricDS Manual: Database Notes". Retrieved Nov 16, 2013.
  5. ^ "OpenMRS: Database Synchronization with SymmetricDS". Retrieved Aug 22, 2012.
  6. ^ "Openboxes: Enabling Synchronization". Retrieved Sep 18, 2012.
[edit]