Solved

Moving/syncing data from Pervasive SQL to MS SQL

Posted on 2011-09-09
5
1,797 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

739 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