Solved

Moving/syncing data from Pervasive SQL to MS SQL

Posted on 2011-09-09
5
1,769 Views
Last Modified: 2012-05-12
I'm starting with the development of a .NET application and find that a ODBC connection to Pervasive SQL is too slow specially when I run too many Iif statements. When I run the same queries in VS with MS SQL it performs much faster

What I'm doing is develop the .NET app together with MS SQL now

Now I need a tool to sync data from PSQL to MS SQL potentially on a schedule.

I'm just learning MS SQL. Does MS SQL have a native feature for this to say sync tables or what other tools are out there for this?
0
Comment
Question by:Gerhardpet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 17

Assisted Solution

by:dbaSQL
dbaSQL earned 250 total points
ID: 36510605
I am fairly sure you can use the sql server import wizard to migrate from pervasive to SQL Server.  I have also known several people to go to flat file first, and then to sql server, because of psql datatypes.  

Take a look at the SSIS import wizard.  You can put it together here, and then schedule it to re-run, as needed.
0
 
LVL 28

Accepted Solution

by:
Bill Bach earned 250 total points
ID: 36510782
I, too, recommend doing a full pull of all of the data records that you need via SSIS, as this is cheap, easy, and fairly quick to run.  However, if you have a *really* large data set and need another option to only replicate changes, then the GSSync tool may be helpful:
    http://www.goldstarsoftware.com/gssync.asp
However, note that this is NOT a stand-alone solution.  For very large databases, it requires additional metadata that the Pervasive database doesn't track itself.  This means that you either need to manually manage metadata through GSSync (which can be slow) or add Pervasive DataExchange to the mix for tracking metadata, and this increases the admin requirements even further.

Again, I stand by dbaSQL's recommendation of a full pull as the BEST solution.
0
 
LVL 9

Expert Comment

by:DrewKjell
ID: 36511884
You can also create a Linked Server in MS SQL to the Pervasive SQL tool to facilitate the pulling down of data.  You can write a script and schedule it using SQL task scheduler.

http://msdn.microsoft.com/en-us/library/ff772782.aspx

Drew
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36512115
I think I just spoke to you on the phone Bill...connecting the dots...

Thank you for your advice and I will be in touch!
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 37110408
I'm now using the staging method in SSIS and it works great
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question