SlideShare a Scribd company logo
1 of 24
We make Web apps, Mobile apps and Data analytics happen !
Data Migration
Data Migration ?
• Data migration is the process of transferring data. It
has to be considered before implementing, upgrading
or consolidating a new system.
• It is usually performed programmatically to achieve
automated migration, freeing up human resources from
tedious tasks.
• It occurs for various reasons such as server replacements,
maintenance or upgrade, application migration, website
consolidation and data center relocation.
• To achieve an effective data migration, old system
data should be mapped to new system by properly
designing data extraction and loading procedures.
• This design relates old data formats to new system's formats.
Data migration may involve many phases including data
extraction where data is read from old system and data
loading where data is written into new system.
Data migration Steps
Analyze
Design
Extraction
Cleansing
Load
Verification
Excel
File
Storing
Area
Excel
File
Analyze field level mapping
Data
base
Flat
Files/E
xcel
Applicati
on
2.Extracted data from Source
3.Cleansing & evaluation
Data
Upload
Programs
4.Load data using upload programs
Destinatio
n
Database
5.Moving data to destination
db & Verification process
6.Repeat process till error free data migration
Analyze
• It’s important to define the scope by discussing
with key users and stakeholders. this is similar as gathering
requirements but it also includes comparing with old systems
data and to find out where it is stored.
• By proper analysis , it can be defined what needs to be
migrated and the scope. No need of junk data.
Design
• Define the mapping and discuss with business users.
Microsoft Excel is a very good tool to define mapping
and to link requirements.
• Keep the data model as simple as possible in every migration.
This makes it easier to trace errors and to understand the
script, but also to run an update.
• When you use files, you should use one folder with a unique
file name. For every migration, you can specify a filter for the
file name.
Extraction
• The first part of the process involves extracting
the data from source system(s).
• In many cases this represents the most important aspect of
data migration, since extracting data sets the stage for success
of subsequent processes.
• In data extraction database structure has to be analyzed with
all possible scenarios and its mapping relations.
Parsing
Correcting
StandardizingMatching
Consolidating
Cleansing
• Data cleansing is the process of detecting, correcting
or removing incomplete, incorrect, inaccurate,
irrelevant, out-of-date, corrupt, redundant, incorrectly
formatted, duplicate, inconsistent, etc. records from a record
set, table or database.
• Steps in Data Cleansing
Loading
• This phase loads the data into destination that may
be a simple delimited flat file. Depending on requirements of
the organization, this process varies widely.
• Import data into destination table or database with its own
mapping relations.
Verification
• After loading into new system, results has to be
verified to determine whether it is accurately translated,
completed, and supports processes in new system.
• During verification, there may be a need for a parallel run of
both systems to identify areas of disparity and forestall
erroneous data loss.
• For applications of moderate to high complexity are
commonly repeated several times before the new system is
deployed.
Difficulty Criteria
o Number and size of databases in Application
o Number of Tables per database
o Total Number of Attributes
o % of attributes that have had multiple definitions over time
o % of attributes in terms of synonyms and antonyms
o Number of DB dependent processes
o Number of one time Interfaces
o Number of ongoing Interfaces
o Number of Data Quality problems and issues to fix
o Knowledge/Documentation of Data Quality issues
o Ease of de-duping similar entities in the same DB
o Ease of matching same entity records across multiple DBs
o Completeness of the functional documentation
Our Successful Implementation
Environment
• Source :PHP, MySQL
o Table count:205
• Destination: Asp.net MVC, SQL 2014 R2
o SAAS Model Table count:(Main db with 29 tables, domain db with 42 tables)
Source
DB(MySQL)
Main db
Client dbs
Data Migration Process
SAAS Model
1. Define the mapping and discuss with business users.
Microsoft Excel is a very good tool to define mapping and
to link requirements.
2.Extraction of data from MySQL is coded in python
and stored the resultant data in excel.
2.1. Data fetched from individual tables based on the analysis, that
consists of valid and invalid data. Remove all inconsistent, duplicate and
test/dummy data.
2.2. Once these data are fetched we restructured those data based on the
target database tables and exported into excel sheet with its mapping
relations.
2.3 Then these data can be moved to cleansing process.
Python sample code:
3. After completion of extraction, moving for cleansing
process such as
Detecting, correcting or removing
Incomplete
Incorrect
Inaccurate
Irrelevant
Corrupt
Out-of-date
Inconsistent
Duplicate
Redundant
4.Once cleansing process was successfully completed
then initiate the loading process.
4.1 Programmed a script in SQL to migrate the cleansing data
into destination or targeted tables.
4.2 Have to maintain primary key for relational purpose for other
tables.
SQL Sample Script:
• 5. There may be a need for a parallel run of both
systems to identify areas of disparity and forestall erroneous
data loss.
• 6. Check the data flow of an application. Till we get error free
application this has be repeated.
Excel
File
Storing
Area
Excel
File
Analyzed Mapping & Mandatory
fields
Data
Base(MySQL)
Application(P
HP)
2.Extracted data from Source using Python
3.Cleansing & evaluation
Data
Upload
Programs
4.Load data using upload programs SQL script
Destinatio
n
Database
5.Moving data to destination
db & Verification process sql
process
6.Repeat the process till error free data migration
(Analyzed and design sheet)
Challenges faced
1. Data Migration for SAAS model(1 db to many subdb).
Soln: script programming created unique subdomain with existing column
values every client and create a sub domain database based on respective tables.
2. Understanding database structure from source is biggest
challenges as it might have unused tables.
3. Reporting feature has to be redesigned in new system.
Soln: With Repeated testing required to find exact column name.
4. Chances of getting wrong data for wrong column as naming
convention was improper.
Contact us
• Data migration projects are not as easy as new
development and it requires skill set, knowledge.
• W2S solutions worked on many migration projects and capable
of handling projects with massive data.
• Let us know how we can help.
• Email id: Sales@w2ssolutions.com
• Phone No: +1 – 512-375-4345
• Web: www.w2ssolutions.com

More Related Content

More from w2s-solutions

More from w2s-solutions (17)

Top Reasons Why SaaS Takes Business Performance To The Next Level
Top Reasons Why SaaS Takes Business Performance To The Next LevelTop Reasons Why SaaS Takes Business Performance To The Next Level
Top Reasons Why SaaS Takes Business Performance To The Next Level
 
Data Engineering Accelerators And More: Significant Factors To Consider In Da...
Data Engineering Accelerators And More: Significant Factors To Consider In Da...Data Engineering Accelerators And More: Significant Factors To Consider In Da...
Data Engineering Accelerators And More: Significant Factors To Consider In Da...
 
Vital Skills for Successful Android & iOS Mobile App Developers
Vital Skills for Successful Android & iOS Mobile App DevelopersVital Skills for Successful Android & iOS Mobile App Developers
Vital Skills for Successful Android & iOS Mobile App Developers
 
Elevate Your Web App Development Solutions With These Tools - Infographics
Elevate Your Web App Development Solutions With These Tools - InfographicsElevate Your Web App Development Solutions With These Tools - Infographics
Elevate Your Web App Development Solutions With These Tools - Infographics
 
Web App Vs Native App – Which is better for your business?
Web App Vs Native App – Which is better for your business?Web App Vs Native App – Which is better for your business?
Web App Vs Native App – Which is better for your business?
 
Transform your business Website into Web Application
Transform your business Website into Web ApplicationTransform your business Website into Web Application
Transform your business Website into Web Application
 
Essential factors to know about Mobile App Development
Essential factors to know about Mobile App DevelopmentEssential factors to know about Mobile App Development
Essential factors to know about Mobile App Development
 
Benefits of Using ASP .NET for Web Application Development
Benefits of Using ASP .NET for Web Application DevelopmentBenefits of Using ASP .NET for Web Application Development
Benefits of Using ASP .NET for Web Application Development
 
From idea to execution: 8 steps that can make a big difference in your startu...
From idea to execution: 8 steps that can make a big difference in your startu...From idea to execution: 8 steps that can make a big difference in your startu...
From idea to execution: 8 steps that can make a big difference in your startu...
 
Best approach for a startup. Raise Capital or Bootstrapping.
Best approach for a startup. Raise Capital or Bootstrapping.Best approach for a startup. Raise Capital or Bootstrapping.
Best approach for a startup. Raise Capital or Bootstrapping.
 
Let us partner with you in IT - W2S Solutions
Let us partner with you in IT - W2S SolutionsLet us partner with you in IT - W2S Solutions
Let us partner with you in IT - W2S Solutions
 
Why is branding important for a business?
Why is branding important for a business?Why is branding important for a business?
Why is branding important for a business?
 
Best practices for an effective dashboard for business
Best practices for an effective dashboard for businessBest practices for an effective dashboard for business
Best practices for an effective dashboard for business
 
Things to consider before hiring an app developer
Things to consider before hiring an app developerThings to consider before hiring an app developer
Things to consider before hiring an app developer
 
An automation tool helps Enterprises to grow their business by w2ssolutions
An automation tool helps Enterprises to grow their business by w2ssolutionsAn automation tool helps Enterprises to grow their business by w2ssolutions
An automation tool helps Enterprises to grow their business by w2ssolutions
 
Importance of responsive website designing
Importance of responsive website designingImportance of responsive website designing
Importance of responsive website designing
 
Our Journey with an Enterprise Customer
Our Journey with an Enterprise CustomerOur Journey with an Enterprise Customer
Our Journey with an Enterprise Customer
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Data Migration Services by W2S Solutions

  • 1. We make Web apps, Mobile apps and Data analytics happen !
  • 3. Data Migration ? • Data migration is the process of transferring data. It has to be considered before implementing, upgrading or consolidating a new system. • It is usually performed programmatically to achieve automated migration, freeing up human resources from tedious tasks. • It occurs for various reasons such as server replacements, maintenance or upgrade, application migration, website consolidation and data center relocation.
  • 4. • To achieve an effective data migration, old system data should be mapped to new system by properly designing data extraction and loading procedures. • This design relates old data formats to new system's formats. Data migration may involve many phases including data extraction where data is read from old system and data loading where data is written into new system.
  • 6. Excel File Storing Area Excel File Analyze field level mapping Data base Flat Files/E xcel Applicati on 2.Extracted data from Source 3.Cleansing & evaluation Data Upload Programs 4.Load data using upload programs Destinatio n Database 5.Moving data to destination db & Verification process 6.Repeat process till error free data migration
  • 7. Analyze • It’s important to define the scope by discussing with key users and stakeholders. this is similar as gathering requirements but it also includes comparing with old systems data and to find out where it is stored. • By proper analysis , it can be defined what needs to be migrated and the scope. No need of junk data.
  • 8. Design • Define the mapping and discuss with business users. Microsoft Excel is a very good tool to define mapping and to link requirements. • Keep the data model as simple as possible in every migration. This makes it easier to trace errors and to understand the script, but also to run an update. • When you use files, you should use one folder with a unique file name. For every migration, you can specify a filter for the file name.
  • 9. Extraction • The first part of the process involves extracting the data from source system(s). • In many cases this represents the most important aspect of data migration, since extracting data sets the stage for success of subsequent processes. • In data extraction database structure has to be analyzed with all possible scenarios and its mapping relations.
  • 10. Parsing Correcting StandardizingMatching Consolidating Cleansing • Data cleansing is the process of detecting, correcting or removing incomplete, incorrect, inaccurate, irrelevant, out-of-date, corrupt, redundant, incorrectly formatted, duplicate, inconsistent, etc. records from a record set, table or database. • Steps in Data Cleansing
  • 11. Loading • This phase loads the data into destination that may be a simple delimited flat file. Depending on requirements of the organization, this process varies widely. • Import data into destination table or database with its own mapping relations.
  • 12. Verification • After loading into new system, results has to be verified to determine whether it is accurately translated, completed, and supports processes in new system. • During verification, there may be a need for a parallel run of both systems to identify areas of disparity and forestall erroneous data loss. • For applications of moderate to high complexity are commonly repeated several times before the new system is deployed.
  • 13. Difficulty Criteria o Number and size of databases in Application o Number of Tables per database o Total Number of Attributes o % of attributes that have had multiple definitions over time o % of attributes in terms of synonyms and antonyms o Number of DB dependent processes o Number of one time Interfaces o Number of ongoing Interfaces o Number of Data Quality problems and issues to fix o Knowledge/Documentation of Data Quality issues o Ease of de-duping similar entities in the same DB o Ease of matching same entity records across multiple DBs o Completeness of the functional documentation
  • 14. Our Successful Implementation Environment • Source :PHP, MySQL o Table count:205 • Destination: Asp.net MVC, SQL 2014 R2 o SAAS Model Table count:(Main db with 29 tables, domain db with 42 tables) Source DB(MySQL) Main db Client dbs Data Migration Process SAAS Model
  • 15. 1. Define the mapping and discuss with business users. Microsoft Excel is a very good tool to define mapping and to link requirements.
  • 16. 2.Extraction of data from MySQL is coded in python and stored the resultant data in excel. 2.1. Data fetched from individual tables based on the analysis, that consists of valid and invalid data. Remove all inconsistent, duplicate and test/dummy data. 2.2. Once these data are fetched we restructured those data based on the target database tables and exported into excel sheet with its mapping relations. 2.3 Then these data can be moved to cleansing process.
  • 18. 3. After completion of extraction, moving for cleansing process such as Detecting, correcting or removing Incomplete Incorrect Inaccurate Irrelevant Corrupt Out-of-date Inconsistent Duplicate Redundant
  • 19. 4.Once cleansing process was successfully completed then initiate the loading process. 4.1 Programmed a script in SQL to migrate the cleansing data into destination or targeted tables. 4.2 Have to maintain primary key for relational purpose for other tables.
  • 21. • 5. There may be a need for a parallel run of both systems to identify areas of disparity and forestall erroneous data loss. • 6. Check the data flow of an application. Till we get error free application this has be repeated.
  • 22. Excel File Storing Area Excel File Analyzed Mapping & Mandatory fields Data Base(MySQL) Application(P HP) 2.Extracted data from Source using Python 3.Cleansing & evaluation Data Upload Programs 4.Load data using upload programs SQL script Destinatio n Database 5.Moving data to destination db & Verification process sql process 6.Repeat the process till error free data migration (Analyzed and design sheet)
  • 23. Challenges faced 1. Data Migration for SAAS model(1 db to many subdb). Soln: script programming created unique subdomain with existing column values every client and create a sub domain database based on respective tables. 2. Understanding database structure from source is biggest challenges as it might have unused tables. 3. Reporting feature has to be redesigned in new system. Soln: With Repeated testing required to find exact column name. 4. Chances of getting wrong data for wrong column as naming convention was improper.
  • 24. Contact us • Data migration projects are not as easy as new development and it requires skill set, knowledge. • W2S solutions worked on many migration projects and capable of handling projects with massive data. • Let us know how we can help. • Email id: Sales@w2ssolutions.com • Phone No: +1 – 512-375-4345 • Web: www.w2ssolutions.com