SlideShare ist ein Scribd-Unternehmen logo
1 von 10
EMT – EIM Migration Tool ©
Data Migration Solution Overview - Version 1.2
External Adapter Integration : Cassandra Adapter
Product names, designations, logos, and symbols may be trademarks or registered trademarks of their respective owners.
• EMT is the result of many years of experiences in complex and performance demanding data migration projects providing a Migration
Solution decoupled and independent from the migration strategies.
• EMT addresses organizations to deliver a rapid and successful project implementation due to the capability of combining a migration
software layer with a proven Process Development Methodology:
• Data Extraction, Data Validation and Data Transformation processes can be developed using EMT procedures and EMT PL-SQL
templates.
• EMT Process Development Methodology allows achieving the best performances during the parallel execution.
• Upload processes are orchestrated by EMT engine and do not require development activities.
• EMT uses migration interface tables called “EIM” to execute and distribute CRUD operations into multiple target systems.
• EIM processes are integrated with:
• Siebel Enterprise Server
• Oracle Database Server
• Apache Cassandra (*)
(*) Integrated via “EMT External Adapter Interface”: Additional Adapters with a common interface can be used to upload different target systems.
EIM Migration Tool © (EMT)
“EMT is a Software Solution designed to reduce costs and complexity of large scale data migration projects”
EMT - Architecture
EMT can be integrated in many Migration Architectures since is fully configurable.
EMT engine is developed in PL-SQL and runs on Oracle © Database
Server (Version 10.0.6.2 or above).
A single EMT instance is able to upload a maximum number of 5
Target Systems using the EIM upload component.
The usage of dedicated EMT Oracle Database Server (Staging Area
DB) is highly recommended for Operational Architecture:
• Staging database allows executing data extraction, data
validation and data transformation processes without
transactional impacts on the target databases.
Multiple EMT instances can be installed on the same Oracle
Database Server (Non Operational Architecture).
• Automatic migration process (Start, Stop, Restart Migration flow).
• High performance and scalability:
• Data Distribution
• Pipeline Process Execution
• Parallel Processing.
• Deadlock Prevention.
• Low Data Contention.
• High quality process log.
• Hierarchy structures processing (E.g. Large Account Corporation, Corporate Discount, ..)
• Error Handling and Tracking of migration execution results.
• Automatic Recovery and Rollback.
• Migration Execution Statistics, Performance and Execution Reports.
• Configuration Checks.
• Configuration Versioning and Deploy.
EMT – Main Features
Thanks to EMT parallel processing:
Migration performances are ruled only by the
migration process with lower performance rate.
EMT Cassandra Adapter
Java Class implemented using DataStax © Driver 3.6.0
• It’s executed by EMT engine as EIM process enabling Parallel Execution mode and multiple EIM tasks.
• It uses EIM tables as interface to Cassandra Tables executing the following operations:
• Insert
• Update
• Upsert (Insert or Update)
• Delete (Rollback)
• Reconcile
• Updates the execution result for each record.
EMT - Cassandra Adapter
Process: UPL_EIM_CASS_1
Operation: Insert
Parallel Degree: 3
Target: Table_Cass1
B1
EIM
Task 1
• BATCH_NUM
1-10
EIM
Task 2
• BATCH_NUM
11-20
EIM
Task 3
• BATCH_NUM
21-30
Task 1 – EIM Batch 1..10 - EMT Cassandra Adapter OP: Insert
Task 2 – EIM Batch 11..20 - EMT Cassandra Adapter OP: Insert
Task 3 – EIM Batch 21..30 - EMT Cassandra Adapter OP: Insert
EIM Task Execution
1. EMT Cassandra Adapter is executed by EIM tasks based on the EIM Process
configuration.
2. Retrieve the Default Target Configuration or specific Process Configuration (Override
Default Configuration) to build Cassandra Cluster interface:
• Connection Configuration Policy
• Authentication
• Target Keyspace
• Load Balance Policies
• Pooling Options
• Session Options
• Consistency Level
• Synchronous/Asynchronous execution
• Skip Null Values (Evict Tombstones)
• Time To Live
• Protocol and Socket
• SSL
• Compression
• Timeouts
3. Build Cassandra Cluster Interface and establish connection.
4. Read Source EIM records.
5. Prepare statement and execute Cassandra operation in Synchronous or
Asynchronous mode (Insert, Update, Upsert, Delete, Reconcile).
6. Update Execution Results on EIM Table.
EMT Cassandra Adapter – Architecture & Flow
• Translation consists in defining an ORACLE Base Table with 1:1 Cassandra Column Mapping and converting Cassandra Datatypes into ORACLE
Datatypes. Primary Key must be the same for both tables.
• EMT Cassandra Adapter uses pre-built implicit datatype Cast solving (whenever possible) the conversion between ORACLE Datatypes and
Cassandra Datatypes.
• In most of the cases, the implicit EMT datatype Cast do not require additional mapping configuration activity.
• Using EMT procedures, EIM table or Multiple EIM tables are generated to define the mapping between EMT and Cassandra.
• EIM mapping Tables are created into a dedicated Schema. Base tables are used only for EIM table creation.
EMT Cassandra Adapter – Data Mapping
Data Mapping is implemented translating Cassandra Tables into ORACLE tables.
EMT Cassandra Adapter uses additional Data Mapping Configuration to manage the following scenarios:
• Cassandra Long Names and Oracle Keywords
• Cassandra Target Tables Name or Column Identifier can exceed 35 characters or conflicts with Oracle keywords (E.g. Column Name “ID” ).
In those cases and additional configuration must be used:
• Table Long Name Mapping (Oracle Table Name  Cassandra Table Name)
• Column Long Name Mapping (Oracle Column Name  Cassandra Column Name)
• Cassandra Functions
• Target Columns updated with Cassandra functions are configured using the Cassandra column name and the Cassandra function.
Those columns are not mapped into EIM table columns.
• E.g. 1: CassandraTable.timestamp_column  toUnixTimestamp(now())
• E.g. 2: CassandraTable.counter_likes  counter_likes + 1
• EMT Cast Functions
• EMT Datatype Cast functions are used to define the datatype mapping for Columns overriding the implicit mapping:
• E.g.1 : EIMTable1.duration_column  EMT_DUR_SEC() - Cast Duration from nanoseconds (Default) to seconds.
• EMT_CQL()
• EMT_CQL() function enables CQL parse to process target columns having data types:
• Collection (List, Map, Set)
• User Defined Types
E.g.1 : EIMTable1.column_map  EMT_CQL()
EIM_TABLE1.COLUMN_MAP - Type VARCHAR2 or (N)CLOB CASSANADRA_TABLE1.COLUMN_MAP - Type map<int, text>
--------------------------------------------------------------------------------------  ------------------------------------------------------------------------------------------
{ 1000: 'Element Map N.1', 1001: 'Element Map N.2‘ } { 1000: 'Element Map N.1', 1001: 'Element Map N.2‘ }
EMT Cassandra Adapter – Data Mapping
Information in this document is subject to change without notice and may contain inaccuracies or typographical errors.
No part of this document may be reproduced, stored in, or introduced into a retrieval system, or transmitted in any form or by any
means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of
Gecob It Consulting.
Except as expressly provided in any written license agreement from Gecob It Consulting, the furnishing of this document does not give
you any license to trademarks, copyrights, or other intellectual property.
Product names, designations, logos, and symbols may be trademarks or registered trademarks of their respective owners.
For further information please contact us at the following e-mail address: emt@gecobitconsulting.com
EMT – COPYRIGHT NOTICE
EMT ©2010 Gecob It Consulting Ltd.

Weitere ähnliche Inhalte

Was ist angesagt?

[Altibase] 10 replication part3 (system design)
[Altibase] 10 replication part3 (system design)[Altibase] 10 replication part3 (system design)
[Altibase] 10 replication part3 (system design)
altistory
 
Oracle Database 12c features for DBA
Oracle Database 12c features for DBAOracle Database 12c features for DBA
Oracle Database 12c features for DBA
Karan Kukreja
 
Oracle hard and soft parsing
Oracle hard and soft parsingOracle hard and soft parsing
Oracle hard and soft parsing
Ishaan Guliani
 

Was ist angesagt? (18)

Solving the DB2 LUW Administration Dilemma
Solving the DB2 LUW Administration DilemmaSolving the DB2 LUW Administration Dilemma
Solving the DB2 LUW Administration Dilemma
 
DB2 LUW Access Plan Stability
DB2 LUW Access Plan StabilityDB2 LUW Access Plan Stability
DB2 LUW Access Plan Stability
 
Xml to-object-transformer
Xml to-object-transformerXml to-object-transformer
Xml to-object-transformer
 
Elements in a muleflow
Elements in a muleflowElements in a muleflow
Elements in a muleflow
 
Dynamic Load balancing Linux private Cloud (DRS)
Dynamic Load balancing Linux private Cloud (DRS)Dynamic Load balancing Linux private Cloud (DRS)
Dynamic Load balancing Linux private Cloud (DRS)
 
Understanding DB2 Optimizer
Understanding DB2 OptimizerUnderstanding DB2 Optimizer
Understanding DB2 Optimizer
 
[Altibase] 10 replication part3 (system design)
[Altibase] 10 replication part3 (system design)[Altibase] 10 replication part3 (system design)
[Altibase] 10 replication part3 (system design)
 
Mule debugging logging_configuration_in_mule
Mule debugging logging_configuration_in_muleMule debugging logging_configuration_in_mule
Mule debugging logging_configuration_in_mule
 
[Altibase] 12 replication part5 (optimization and monitoring)
[Altibase] 12 replication part5 (optimization and monitoring)[Altibase] 12 replication part5 (optimization and monitoring)
[Altibase] 12 replication part5 (optimization and monitoring)
 
Oracle Database 12c features for DBA
Oracle Database 12c features for DBAOracle Database 12c features for DBA
Oracle Database 12c features for DBA
 
High Availability Options for DB2 Data Centre
High Availability Options for DB2 Data CentreHigh Availability Options for DB2 Data Centre
High Availability Options for DB2 Data Centre
 
Optimizing Your Cloud Applications in RightScale
Optimizing Your Cloud Applications in RightScaleOptimizing Your Cloud Applications in RightScale
Optimizing Your Cloud Applications in RightScale
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
Oracle hard and soft parsing
Oracle hard and soft parsingOracle hard and soft parsing
Oracle hard and soft parsing
 
Les 06 rec
Les 06 recLes 06 rec
Les 06 rec
 
Xml to xml transformation
Xml to xml transformationXml to xml transformation
Xml to xml transformation
 
Mule transformers
Mule transformersMule transformers
Mule transformers
 
Les 10 fl1
Les 10 fl1Les 10 fl1
Les 10 fl1
 

Ähnlich wie Cassandra Data Migration

AWS (Amazon Redshift) presentation
AWS (Amazon Redshift) presentationAWS (Amazon Redshift) presentation
AWS (Amazon Redshift) presentation
Volodymyr Rovetskiy
 
T sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powersT sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powers
Shehap Elnagar
 

Ähnlich wie Cassandra Data Migration (20)

Datastage to ODI
Datastage to ODIDatastage to ODI
Datastage to ODI
 
An introduction to Apache Camel
An introduction to Apache CamelAn introduction to Apache Camel
An introduction to Apache Camel
 
Teradata training
Teradata trainingTeradata training
Teradata training
 
Optimization SQL Server for Dynamics AX 2012 R3
Optimization SQL Server for Dynamics AX 2012 R3Optimization SQL Server for Dynamics AX 2012 R3
Optimization SQL Server for Dynamics AX 2012 R3
 
AWS (Amazon Redshift) presentation
AWS (Amazon Redshift) presentationAWS (Amazon Redshift) presentation
AWS (Amazon Redshift) presentation
 
Cloudsim & greencloud
Cloudsim & greencloud Cloudsim & greencloud
Cloudsim & greencloud
 
T sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powersT sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powers
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
 
Cloudsim & Green Cloud
Cloudsim & Green CloudCloudsim & Green Cloud
Cloudsim & Green Cloud
 
T sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powersT sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powers
 
T sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powersT sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powers
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptx
 
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12cPresentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12c
 
Simulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightningSimulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightning
 
All (that i know) about exadata external
All (that i know) about exadata externalAll (that i know) about exadata external
All (that i know) about exadata external
 
2015 product java
2015 product java2015 product java
2015 product java
 
Java- JDBC- Mazenet Solution
Java- JDBC- Mazenet SolutionJava- JDBC- Mazenet Solution
Java- JDBC- Mazenet Solution
 
London Redshift Meetup - July 2017
London Redshift Meetup - July 2017London Redshift Meetup - July 2017
London Redshift Meetup - July 2017
 
EPM Automate - Automating Enterprise Performance Management Cloud Solutions
EPM Automate - Automating Enterprise Performance Management Cloud SolutionsEPM Automate - Automating Enterprise Performance Management Cloud Solutions
EPM Automate - Automating Enterprise Performance Management Cloud Solutions
 
Oracle Query Optimizer - An Introduction
Oracle Query Optimizer - An IntroductionOracle Query Optimizer - An Introduction
Oracle Query Optimizer - An Introduction
 

Kürzlich hochgeladen

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 

Cassandra Data Migration

  • 1. EMT – EIM Migration Tool © Data Migration Solution Overview - Version 1.2 External Adapter Integration : Cassandra Adapter Product names, designations, logos, and symbols may be trademarks or registered trademarks of their respective owners.
  • 2. • EMT is the result of many years of experiences in complex and performance demanding data migration projects providing a Migration Solution decoupled and independent from the migration strategies. • EMT addresses organizations to deliver a rapid and successful project implementation due to the capability of combining a migration software layer with a proven Process Development Methodology: • Data Extraction, Data Validation and Data Transformation processes can be developed using EMT procedures and EMT PL-SQL templates. • EMT Process Development Methodology allows achieving the best performances during the parallel execution. • Upload processes are orchestrated by EMT engine and do not require development activities. • EMT uses migration interface tables called “EIM” to execute and distribute CRUD operations into multiple target systems. • EIM processes are integrated with: • Siebel Enterprise Server • Oracle Database Server • Apache Cassandra (*) (*) Integrated via “EMT External Adapter Interface”: Additional Adapters with a common interface can be used to upload different target systems. EIM Migration Tool © (EMT) “EMT is a Software Solution designed to reduce costs and complexity of large scale data migration projects”
  • 3. EMT - Architecture EMT can be integrated in many Migration Architectures since is fully configurable. EMT engine is developed in PL-SQL and runs on Oracle © Database Server (Version 10.0.6.2 or above). A single EMT instance is able to upload a maximum number of 5 Target Systems using the EIM upload component. The usage of dedicated EMT Oracle Database Server (Staging Area DB) is highly recommended for Operational Architecture: • Staging database allows executing data extraction, data validation and data transformation processes without transactional impacts on the target databases. Multiple EMT instances can be installed on the same Oracle Database Server (Non Operational Architecture).
  • 4. • Automatic migration process (Start, Stop, Restart Migration flow). • High performance and scalability: • Data Distribution • Pipeline Process Execution • Parallel Processing. • Deadlock Prevention. • Low Data Contention. • High quality process log. • Hierarchy structures processing (E.g. Large Account Corporation, Corporate Discount, ..) • Error Handling and Tracking of migration execution results. • Automatic Recovery and Rollback. • Migration Execution Statistics, Performance and Execution Reports. • Configuration Checks. • Configuration Versioning and Deploy. EMT – Main Features Thanks to EMT parallel processing: Migration performances are ruled only by the migration process with lower performance rate.
  • 6. Java Class implemented using DataStax © Driver 3.6.0 • It’s executed by EMT engine as EIM process enabling Parallel Execution mode and multiple EIM tasks. • It uses EIM tables as interface to Cassandra Tables executing the following operations: • Insert • Update • Upsert (Insert or Update) • Delete (Rollback) • Reconcile • Updates the execution result for each record. EMT - Cassandra Adapter Process: UPL_EIM_CASS_1 Operation: Insert Parallel Degree: 3 Target: Table_Cass1 B1 EIM Task 1 • BATCH_NUM 1-10 EIM Task 2 • BATCH_NUM 11-20 EIM Task 3 • BATCH_NUM 21-30 Task 1 – EIM Batch 1..10 - EMT Cassandra Adapter OP: Insert Task 2 – EIM Batch 11..20 - EMT Cassandra Adapter OP: Insert Task 3 – EIM Batch 21..30 - EMT Cassandra Adapter OP: Insert EIM Task Execution
  • 7. 1. EMT Cassandra Adapter is executed by EIM tasks based on the EIM Process configuration. 2. Retrieve the Default Target Configuration or specific Process Configuration (Override Default Configuration) to build Cassandra Cluster interface: • Connection Configuration Policy • Authentication • Target Keyspace • Load Balance Policies • Pooling Options • Session Options • Consistency Level • Synchronous/Asynchronous execution • Skip Null Values (Evict Tombstones) • Time To Live • Protocol and Socket • SSL • Compression • Timeouts 3. Build Cassandra Cluster Interface and establish connection. 4. Read Source EIM records. 5. Prepare statement and execute Cassandra operation in Synchronous or Asynchronous mode (Insert, Update, Upsert, Delete, Reconcile). 6. Update Execution Results on EIM Table. EMT Cassandra Adapter – Architecture & Flow
  • 8. • Translation consists in defining an ORACLE Base Table with 1:1 Cassandra Column Mapping and converting Cassandra Datatypes into ORACLE Datatypes. Primary Key must be the same for both tables. • EMT Cassandra Adapter uses pre-built implicit datatype Cast solving (whenever possible) the conversion between ORACLE Datatypes and Cassandra Datatypes. • In most of the cases, the implicit EMT datatype Cast do not require additional mapping configuration activity. • Using EMT procedures, EIM table or Multiple EIM tables are generated to define the mapping between EMT and Cassandra. • EIM mapping Tables are created into a dedicated Schema. Base tables are used only for EIM table creation. EMT Cassandra Adapter – Data Mapping Data Mapping is implemented translating Cassandra Tables into ORACLE tables.
  • 9. EMT Cassandra Adapter uses additional Data Mapping Configuration to manage the following scenarios: • Cassandra Long Names and Oracle Keywords • Cassandra Target Tables Name or Column Identifier can exceed 35 characters or conflicts with Oracle keywords (E.g. Column Name “ID” ). In those cases and additional configuration must be used: • Table Long Name Mapping (Oracle Table Name  Cassandra Table Name) • Column Long Name Mapping (Oracle Column Name  Cassandra Column Name) • Cassandra Functions • Target Columns updated with Cassandra functions are configured using the Cassandra column name and the Cassandra function. Those columns are not mapped into EIM table columns. • E.g. 1: CassandraTable.timestamp_column  toUnixTimestamp(now()) • E.g. 2: CassandraTable.counter_likes  counter_likes + 1 • EMT Cast Functions • EMT Datatype Cast functions are used to define the datatype mapping for Columns overriding the implicit mapping: • E.g.1 : EIMTable1.duration_column  EMT_DUR_SEC() - Cast Duration from nanoseconds (Default) to seconds. • EMT_CQL() • EMT_CQL() function enables CQL parse to process target columns having data types: • Collection (List, Map, Set) • User Defined Types E.g.1 : EIMTable1.column_map  EMT_CQL() EIM_TABLE1.COLUMN_MAP - Type VARCHAR2 or (N)CLOB CASSANADRA_TABLE1.COLUMN_MAP - Type map<int, text> --------------------------------------------------------------------------------------  ------------------------------------------------------------------------------------------ { 1000: 'Element Map N.1', 1001: 'Element Map N.2‘ } { 1000: 'Element Map N.1', 1001: 'Element Map N.2‘ } EMT Cassandra Adapter – Data Mapping
  • 10. Information in this document is subject to change without notice and may contain inaccuracies or typographical errors. No part of this document may be reproduced, stored in, or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Gecob It Consulting. Except as expressly provided in any written license agreement from Gecob It Consulting, the furnishing of this document does not give you any license to trademarks, copyrights, or other intellectual property. Product names, designations, logos, and symbols may be trademarks or registered trademarks of their respective owners. For further information please contact us at the following e-mail address: emt@gecobitconsulting.com EMT – COPYRIGHT NOTICE EMT ©2010 Gecob It Consulting Ltd.