YOUR FEEDBACK
Virtualization Viewpoint: Cloud Computing Casts Shadow on Walled Gardens
Neil Mansilla wrote: I've been working and deploying applications on the W...


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
TOP LINKS YOU MUST CLICK ON


Migrating to Open Source Databases Running on Linux
Databases Like MySQL, Ingres r3, PostgreSQL, and Firebird Have Aroused a Lot of Interest

Digg This!

Page 2 of 2   « previous page

Migrating Data
On the machine that runs SQL Server, install an ODBC driver for the new database, and set up a connection to the new database. Then, do these tasks:

  • Create a DSN to export data.
  • Right-click on the database and choose All Tasks->Export Data.
  • Step through the wizard and on the destination page choose ODBC Data Source as the connection; then choose the DSN you created.
  • Choose Copy table(s) and view(s) from the source database.
  • Select all the tables (but not the views) and select Next. This is important since there will most likely be some data differences that need to be fixed. Be sure to save the DTS package so you can run it again.
  • Run the export and wait until it finishes. Note: When you see that part of the migration is creating tables, you may wonder why you were instructed to do this step. The reason is that DTS table creation often fails to create tables on non-Microsoft SQL Server databases.
After that, correct any copy errors. Some of the tables may fail to copy for reasons such as binary data types being of different sizes. For each of these errors, you will need to:
  • Go back into the DTS definition to the page where you chose the list of tables to migrate and click on the Transform button for that table.
  • Under the Transformations tab, choose Transform information since it's copied to the destination
  • In the text box, enter any necessary scripting code to modify any data incompatible with the new database.

Automated Migration
While Linux' reliability and price-performance benefits are generally acknowledged, the downtime and cost of migrating databases from legacy platforms have deterred Linux adoption. Migrating databases the traditional way (manually) can take days, weeks, even months, and is very prone to error. Fortunately, automated tools are coming to market that yield accurate results, ensure data integrity, and take a fraction of the time (a time reduction of 90%, some vendors claim).

Most automated migration software allows the original system to function normally during migration. When migration is complete, the original and the migrated system are brought into sync and, when a copy of the data is on both the pre- and post-migrated systems, activity stops briefly to switch users from one system to another. Automated systems include a variety of features, some of which you may not need. You'll want to determine whether the tool:

  • Creates a standby copy of the primary database to ensure disaster recovery
  • Does the migration without interrupting or impacting business processes
  • Does the migration unattended (after initial setup, no further operator input is required)
  • Schedules migrations to run at a specified time (maps a migration path and sets the program to run unattended based on pre-defined intervals)
  • Does the migration locally or remotely over the WAN or Internet from either the source or destination database or both
  • Logs the details and the results of the migration
  • Handles large amounts of data (some products can accommodate multi-terabyte environments)
  • Assists in modifying applications
  • Lets the database be modified while migrating
  • Lets operators test and validate the database in the new environment before switching over to production mode
  • Replicates databases across multiple operating environments and different versions
  • Creates an exact replica of the source database so the operator doesn't have to verify that the data in both databases is the same
  • Provides an easy-to-use (GUI/Wizard) interface
The performance of automated tools generally depends on the several variables that come into play with most applications:
  • The type of connection between the source and destination servers
  • CPU utilization on both sides of the connection
  • The size of the database
  • The complexity of the data structure and tables (the number of tables and columns, the data type in each column, and whether the data is text or binary)
In summary, open source databases running on Linux are in many cases comparable to their proprietary counterparts and the enterprise is taking note. Of course, so are proprietary database vendors like Oracle and IBM whose databases are supported in Linux. However, there's something to be said for being able to modify the source code to fix bugs and add needed features relevant to the organization's needs. And with the right automated database migration tools, doesn't that make the case for migrating that much more palpable? Wishing you good migrations!


Page 2 of 2   « previous page

About Jon Walker
Jon Walker serves as CTO of Versora, an ISV providing Microsoft to Linux migration software. Mr. Walker recently has co-authored 2 whitepapers with Novell titled Migrating from IS Web Servers to Apache SUSE LINUX Enterprise Server 9.0 and Migrating File and Print Servers from Windows to SUSE LINUX Enterprise Server 9. Prior to Versora, Mr. Walker was CTO/VP of Engineering for Miramar Systems. Software developed under his direction at Miramar has been deployed to over 20 million computers worldwide. Mr. Walker has also served as senior technologist for Nortel and Xing Technology (now Real Networks).

LATEST LINUX STORIES
Kevin Hoffman's Review of Iron Man
I took the advice of a friend of mine and steered clear of the 'normal' movie theaters and went a little out of the way to go to a DLP movie theater. The experience of comparing a regular movie theater to a DLP movie theater is like comparing standard def analog TV with a 1080i HDTV si
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
Verizon Becomes a Counter-Android Linux Convert
Verizon Wireless is snubbing Google's Linux-based Android initiative to go with the LiMo Foundation's mobile Linux spec for its next wave of mobile phones expected next year. Along with Verizon, Mozilla signed up - giving the consortium its first major open source ISV - and a key one f
Adaptec Launches New Series 2 RAID Controller For Linux Users
Adaptec unveiled a new family of entry-level Unified Serial RAID controllers. The new low-profile Series 2 RAID controllers, built on the same Adaptec dual core RAID-on-Chip (ROC) architecture used in its successful Series 5 RAID controllers, provide significant performance enhancement
JavaOne 2008: Sun Challenges Linux
Sun's mule train has finally pulled into Indiana after three years on the road. Indiana is the Linux-friendly Fedora-like OpenSolaris project meant to move the Solaris-shy Linux community off Linux and on to Solaris tempted by Solaris widgetry like the highly scalable, rollback-easy, 1
Curl Announces Support for Ubuntu for Enterprise RIA Platform
Curl announced it has released the availability of an Ubuntu Installer for the Curl Rich Internet Application (RIA) platform. Curl is a Rich Internet Application platform that competes with Adobe AIR/Flex, Silverlight, and Ajax. Curl has been shipping with Linux support for RedHat 9, S
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE