|
1 |
| -# SAP Repository Template |
2 |
| - |
3 |
| -Default templates for SAP open source repositories, including LICENSE, .reuse/dep5, Code of Conduct, etc... All repositories on github.com/SAP will be created based on this template. |
4 |
| - |
5 |
| -## To-Do |
6 |
| - |
7 |
| -In case you are the maintainer of a new SAP open source project, these are the steps to do with the template files: |
8 |
| - |
9 |
| -- Check if the default license (Apache 2.0) also applies to your project. A license change should only be required in exceptional cases. If this is the case, please change the [license file](LICENSE). |
10 |
| -- Enter the correct metadata for the REUSE tool. See our [wiki page](https://wiki.wdf.sap.corp/wiki/display/ospodocs/Using+the+Reuse+Tool+of+FSFE+for+Copyright+and+License+Information) for details how to do it. You can find an initial .reuse/dep5 file to build on. Please replace the parts inside the single angle quotation marks < > by the specific information for your repository and be sure to run the REUSE tool to validate that the metadata is correct. |
11 |
| -- Adjust the contribution guidelines (e.g. add coding style guidelines, pull request checklists, different license if needed etc.) |
12 |
| -- Add information about your project to this README (name, description, requirements etc). Especially take care for the <your-project> placeholders - those ones need to be replaced with your project name. See the sections below the horizontal line and [our guidelines on our wiki page](https://wiki.wdf.sap.corp/wiki/display/ospodocs/Guidelines+for+README.md+file) what is required and recommended. |
13 |
| -- Remove all content in this README above and including the horizontal line ;) |
14 |
| - |
15 |
| -*** |
16 |
| - |
17 |
| -# Our new open source project |
18 |
| - |
19 |
| -## About this project |
20 |
| - |
21 |
| -*Insert a short description of your project here...* |
22 |
| - |
23 |
| -## Requirements and Setup |
24 |
| - |
25 |
| -*Insert a short description what is required to get your project running...* |
26 |
| - |
27 |
| -## Support, Feedback, Contributing |
28 |
| - |
29 |
| -This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/SAP/<your-project>/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md). |
30 |
| - |
31 |
| -## Code of Conduct |
32 |
| - |
33 |
| -We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its [Code of Conduct](CODE_OF_CONDUCT.md) at all times. |
34 |
| - |
35 |
| -## Licensing |
36 |
| - |
37 |
| -Copyright (20xx-)20xx SAP SE or an SAP affiliate company and <your-project> contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/<your-project>). |
| 1 | +# SAP Commerce DB Sync |
| 2 | + |
| 3 | +[](https://api.reuse.software/info/github.com/SAP-samples/commerce-migration-toolkit) |
| 4 | + |
| 5 | +SAP Commerce DB Sync performs table-to-table replication in single-directionally manner between two SAP Commerce instances (onPrem to Cloud) or between SAP Commerce and an external database. |
| 6 | + |
| 7 | +SAP Commerce DB Sync is implemented as SAP Commerce extensions and it does not require any third-party ETL. |
| 8 | + |
| 9 | +There are two main use cases: |
| 10 | +* __Replicate data across an external database__: you can push data regularly in batch mode through a Commerce Cloud cronjob and synchronize to an external database. A typical use case is for analytics and reporting purpose when you need direct JDBC access to the database to run analytic jobs. |
| 11 | +* __Data migration__: paired with the self-service media process described on [this CXWorks article](https://www.sap.com/cxworks/article/2589632453/migrate_to_sap_commerce_cloud_migrate_media_with_azcopy), it allows to self-service a one-shot data migration from the on-premise SAP Commerce environment to a SAP Commerce Cloud subscription. |
| 12 | + |
| 13 | +# Getting started |
| 14 | + |
| 15 | +* [User Guide for Data Replication](docs/user/USER-GUIDE-DATA-REPLICATION.md) Go through the details about Data replication between SAP Commerce Cloud and an external database. |
| 16 | +* [User Guide for Data Migration](docs/user/USER-GUIDE-DATA-MIGRATION.md) When ready to start the migration activities, follow the instructions in the User Guide to trigger the data migration. |
| 17 | +* [Configuration Guide](docs/configuration/CONFIGURATION-GUIDE.md) The extensions ship with a default configuration that may need to be adjusted depending on the desired behaviour. This guide explains how different features and behaviours can be configured. |
| 18 | +* [Security Guide](docs/security/SECURITY-GUIDE.md) A data migration typically features sensitive data and uses delicate system access. Make sure you have read the Security Guide before you proceed with any migration activities and thereby acknowledge the security recommendations stated in the guide. |
| 19 | +* [Performance Guide](docs/performance/PERFORMANCE-GUIDE.md) Performance is crucial for any data migration, not only for large databases but also generally to reduce the time of the cut-over window. The performance guide explains the basic concept of performance tuning and also provides benchmarks that will give you an impression of how to estimate the cutover time window. |
| 20 | +* [Developer Guide](docs/developer/DEVELOPER-GUIDE.md) If you want to contribute please read this guide. |
| 21 | +* [Troubleshooting Guide](docs/troubleshooting/TROUBLESHOOTING-GUIDE.md) A collection of common problems and how to tackle them. |
| 22 | + |
| 23 | +# Features Overview |
| 24 | + |
| 25 | +* Database Connectivity |
| 26 | + * Multipe supported databases: Oracle, MySQL, HANA, MSSQL |
| 27 | + * UI based connection validation |
| 28 | +* Schema Differences |
| 29 | + * UI based schema differences detector |
| 30 | + * Automated target schema adaption |
| 31 | + * Table creation / removal |
| 32 | + * Column creation / removal |
| 33 | + * Configurable behaviour |
| 34 | +* Data Copy |
| 35 | + * UI based copy trigger |
| 36 | + * Configurable target table truncation |
| 37 | + * Configurable index disabling |
| 38 | + * Read/write batching with configurable sizes |
| 39 | + * Copy parallelization |
| 40 | + * Cluster awareness |
| 41 | + * Column exclusions |
| 42 | + * Table exclusions/inclusions |
| 43 | + * Incremental mode (delta) |
| 44 | + * Custom tables |
| 45 | + * Staged approach using table prefix |
| 46 | +* Reporting / Audit |
| 47 | + * Automated reporting for schema changes |
| 48 | + * Automated reporting for copy processes |
| 49 | + * Stored on blob storage |
| 50 | + * Logging of all actions triggered from the UI |
| 51 | + |
| 52 | +# Compatibility |
| 53 | + |
| 54 | + * SAP Commerce (>=1811) |
| 55 | + * Tested with source databases: |
| 56 | + * Azure SQL |
| 57 | + * MySQL (5.7) |
| 58 | + * Oracle (XE 11g) |
| 59 | + * HANA (express 2.0) and HANA Cloud |
| 60 | + * Tested with target databases: |
| 61 | + * Azure SQL |
| 62 | + * Oracle (XE 11g) |
| 63 | + * HANA (express 2.0) and HANA Cloud |
| 64 | + |
| 65 | +# Performance |
| 66 | + |
| 67 | +Commerce DB Sync has been built to offer reasonable performance with large amount of data using the following design: |
| 68 | +* Table to table replication using JDBC (low level) |
| 69 | +* Selection of tables so we do not need a full synchronization in particular for large technical table (task logs, audit logs...) |
| 70 | +* Multi-threaded and can manage multiple tables at the same time |
| 71 | +* Using UPSERT (INSERT/UPDATE) |
| 72 | +* Use read replica Commerce database as a source database |
| 73 | + |
| 74 | +# Demo Video |
| 75 | +Here is a video that presents how to use SAP Commerce DB sync (formerly known as CMT) for data migration from onPrem to Cloud: |
| 76 | + https://sapvideoa35699dc5.hana.ondemand.com/?entry_id=1_gxduwrl3 |
| 77 | + |
| 78 | +# How to Obtain Support |
| 79 | + |
| 80 | +This repository is provided "as-is"; no support is available. |
| 81 | + |
| 82 | +Find more information about SAP Commerce Cloud Setup on our [help site](https://help.sap.com/viewer/product/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/LATEST/en-US). |
| 83 | + |
| 84 | +With regards Commerce DB Sync, access to the database for customers is and will not be possible in the future and SAP does not provide any additional support on Commerce DB Sync in particular. Support can be bought as paid engagement from SAP Consulting only. |
| 85 | + |
| 86 | +# License |
| 87 | +Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE file](LICENSE). |
0 commit comments