MySQL Tools for Data Migration
MySQL provides several client tools and utilities, the most commonly used are: mysql - an interactive client program that can issue queries against the database and view the results mysqldump - this tool can extract MySQL mysqlimport - This tool can read the schema and data in a file and put it into a MySQL database mysqladmin - This tool can perform administrative tasks such as creating and deleting databases myODBC - A 32-bit open database connection software that provides an ODBC Level 0 (with Level 1 and Level 2 functionality) driver, a migration tool for connecting ODBC-aware applications to MySQL SQL Server
SQL Server There is a rich set of tools and utilities that can simplify migration from MySQL. SQL Server 2000 Data Transformation Services (DTS) is a set of graphical tools and programmable objects for extracting, transforming, and merging data from various sources to one or more targets.
Features of the Data Transformation Service
The Data Transformation Service in Microsoft SQL Server 2000 provides methods for migrating data from different data sources. DTS can be driven by a wizard or created using the DTS Package Designer. The DTS wizard can quickly complete the direct copy of data. Package Designer allows developers to write custom transformation scripts in a variety of programming languages. The DTS tool allows you to: Migrate data from MySQL to SQL Server 2000 Display data before migration Migrate data tables, data types, such as text and date Migrate MySQL databases using MySQL data tables Generate and view migration reports Custom data tables and default data Type mapping rules resolve conflicts, such as SQL Server reserved word conflicts Delete and rename objects in the SQL Server schema model Migrate individual data tables Data Data Transformation Services Terminology
The following are the terms used to describe DTS:
DTS packages are An organized collection of connections, DTS tasks, DTS transformations, and workflow constraints that can be assembled together graphically or programmatically in the DTS Designer.
A DTS task is a discrete collection of functions that are executed in a single step within a package. Each task defines a work item to be performed during data movement and data transformation, or a job to be performed.
DTS transformation is one or more functions or operations applied to data before it reaches its destination.
The DTS package workflow allows the Data Transformation Service (DTS) to run step by step, ordering work items in a DTS package by precedence constraints. You can design a DTS packet workflow graphically in DTS Designer or programmatically.
Metadata provides functionality for DTS to save package metadata and data lineage information to a metadata service and link those information types. You can store category metadata for databases referenced in a package, as well as statistical historical information related to specific rows of data in a data mart or data warehouse.