Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Data MIgration from PostgreSQL to MS SQL Server (in Azure) - Talend Open Studio for Big Data

Hi,

I want to migrate data from an on-premises DB in PostgreSQL to MS SQL Server in Azure. In the job I use the connection components for the connections and the DB components for the querys and inserts. Finally I commit the operations.

 

In the tDBOutput component for the MS SQL Server DB y set the Batch Size to 1 because the default value causes an error:

 Error: Connection reset Exception in component tDBOutput_1 (asdasdasda) java.sql.SQLException: Invalid state, the Connection object is closed

 

I run the job but the process was very slow. I share a picture of the job:

 0683p000009M1bQ.png

 

Thanks

David

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Sorry,

the problem was in the ms sql drivers. I updated and all works

Thanks

View solution in original post

6 Replies
vapukov
Master II
Master II

Hi,

 

not depending is your postgresql on azure as well or it is inhouse Batch Size = 1 will always be extremely slow (in case if server in different networks, much slower)

You need check - what wrong with default value

Anonymous
Not applicable
Author

Hi,

 

Have you tried Connection and ConnectionClose components?

vapukov
Master II
Master II

tCommit - will not work without connection, think it already done

Anonymous
Not applicable
Author

Sorry,

the problem was in the ms sql drivers. I updated and all works

Thanks

Anonymous
Not applicable
Author

Hi , 

 

I am also facing same issue. Can you help what steps you took to update the driver. Or is there any solution for this frustrating issue. Thanks in advanced. 

Anonymous
Not applicable
Author

Hello,

You must check in Talend for the updates and install it