| |

VerySource

 Forgot password?
 Register
Search
View: 1872|Reply: 12

Consult master data synchronization issues

[Copy link]

1

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-18 20:30:01
| Show all posts |Read mode
For two machines, you need to back up the data of one machine to the other machine. Because the amount of data is too large, I want to take an incremental backup method. I don't know if there is a good way to solve it? thank you all!
(I've tested snapshot publishing and it seems that incremental operations are not possible.)
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-6-23 20:15:02
| Show all posts
All you have to do is backup the data sheet?
How about using packets?
Then establish a job or task plan and execute it on time every day.
Reply

Use magic Report

0

Threads

12

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-6-23 23:00:01
| Show all posts
Do a snapshot copy first, then transactional copy.
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-7-9 12:45:01
| Show all posts
Snapshot publishing cannot of course be incremental

The transaction publishing method is incremental

You can first back up and then start transactional replication, and select the "existing architecture" mode
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-7-9 14:00:01
| Show all posts
Of course, this is done faster, but you need to stop your database service

If you don’t want to interrupt the data service, you can directly copy the transaction. Transaction replication is to perform snapshot copy first, and then incremental copy in real time.

And choose to re-apply the architectural pattern
Reply

Use magic Report

1

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-7-23 13:30:01
| Show all posts
Just saw it, thank you for your answers, let me test it first!
Reply

Use magic Report

1

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-8-7 11:00:02
| Show all posts
I ran into a problem while testing today.
I first copied the database to another computer, and then used things to publish, and the other party forced a subscription, but an error was reported. I added two records to the table. When the synchronization was started, it prompted that the stored procedure could not be found. This stored procedure, let's see what's going on, thank you!!

Error message: (CALL sp_MSins_ll_a1 (23714, '1111100001', 2015-11-24 11:47:39.577, 2015-11-22 16:12:20.000, '172.17.175.114', '00:40:46:51: 63:8d', '202.108.36.145','wmllqd.yeah.net/', 1,'', -100001, 0x65717774717774717774)}

Last command: The stored procedure'sp_MSins_ll_a1' could not be found.

Error details: The stored procedure'sp_MSins_ll_a1' could not be found.
(Source: LVKY (data source); Error code: 2812)
Reply

Use magic Report

1

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-8-7 16:30:01
| Show all posts
I already know this problem.In fact, when creating a release, you don't choose to create a stored procedure. If you want to choose, you must write the stored procedure yourself.I just lost my head and thought the stored procedure was created automatically.
    However, I have encountered a new problem. I will first see if I can solve it. If you have any knowledge, please let me know.
Error message: insert into "ll_a1" values ​​(23720, '1111100001', 2015-11-24 11:47:39.577, 2015-11-22 16:12:20.000, '172.17.175.114', '00:40:46 :51:63:8d', '202.108.36.145','wmllqd.yeah.net/', 1,'', -100001, 0x65717774717774717774)

The previous command: Only when the list of columns is used and IDENTITY_INSERT is ON, can you specify an explicit value for the identity column in the table'll_a1'.

Error details: Only when the list of columns is used and IDENTITY_INSERT is ON, can you specify an explicit value for the identity column in the table'net_http'.
(Source: LVKY (data source); Error code: 8101)
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-8-9 18:45:01
| Show all posts
I already know this problem.In fact, it is enough to not choose to create a stored procedure when creating a release.If you want to choose, you must write the stored procedure yourself.I just lost my head and thought the stored procedure was created automatically.

======================
This stored procedure can be generated by the system, but it must have the role of Sysadministrators to connect to the subscriber. Then, the owner of the created stored procedure is dbo, so there is no problem - I have tested this problem
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 United States

Post time: 2020-8-9 19:00:01
| Show all posts
Error message: insert into "ll_a1" values ​​(23720, '1111100001', 2015-11-24 11:47:39.577, 2015-11-22 16:12:20.000, '172.17.175.114', '00:40:46 :51:63:8d', '202.108.36.145','wmllqd.yeah.net/', 1,'', -100001, 0x65717774717774717774)

The previous command: Only when the list of columns is used and IDENTITY_INSERT is ON, can you specify an explicit value for the identity column in the table'll_a1'.

Error details: Only when the list of columns is used and IDENTITY_INSERT is ON, can you specify an explicit value for the identity column in the table'net_http'.
(Source: LVKY (data source); Error code: 8101)

==== This is because your table "ll_a1" contains an Identity field, and you should use "For Copy"=ON in this field.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list