A
A
Andrey2018-09-15 18:59:51
PostgreSQL
Andrey, 2018-09-15 18:59:51

How to organize daily copying of data from PostgreSQL to SQL Server?

It is necessary to execute a query to the PostgreSQL DBMS on a daily basis and save the result of the query to a MS SQL DBMS table. The databases are on different servers. Question for the connoisseurs. How to properly organize this process?
The first thing that comes to mind. It to make means MS SQL. You can probably link servers. And run the job. I don't know how this is possible and whether the linking will fall off.
Or write a service on the MS SQL server side that will query PostgreSQL. Or a console application and run it on the scheduler.
Or maybe there is a ready-made solution that has been tested by time.
I want to do it correctly so that it always works without failures. And it was designed to copy several thousand lines at a time and did it not very slowly. And maybe even with logs.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2018-09-15
@ky0

https://docs.microsoft.com/en-us/sql/integration-s...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question