Is it possible to run faster when data compare?
mago
Posts: 36
Dears:
Many thanks for great product to make us convenient to sync database.
But I have a question about sync performance.
I'm not sure if it's limit about data sync.
We have two database sync, the data size is about 1GB.
It costs 3 mins every sync. Is it possible to run faster when data compare?
I set "ignoreidentical" in xml. As for other parameters, it's default options.
Please let me know if I could do anything to improve the performance. Thanks a lot.
Regards,
Mago
Many thanks for great product to make us convenient to sync database.
But I have a question about sync performance.
I'm not sure if it's limit about data sync.
We have two database sync, the data size is about 1GB.
It costs 3 mins every sync. Is it possible to run faster when data compare?
I set "ignoreidentical" in xml. As for other parameters, it's default options.
Please let me know if I could do anything to improve the performance. Thanks a lot.
Regards,
Mago
This discussion has been closed.
Comments
I found you ever mentioned that indexed view sync.
I guess it may resolve our problem. Because we just used a limited data of whole table. But I try to build a indexed view and sync. The sync is done, but related tables are not synced. Could you please kindly tell us should I do any setting about indexed view sync ? Thanks!
Thanks for your reply. :-)
I got the problem. I found I didn't create index on the view, So the indexed view couldn't sync. But when I try to create unique indexed on it, the error is "Index cannot be created on view 'Data' because the view contains text, ntext or image columns". I check the sql server document, it said :
Since we couldn't use indexed view. Do you have another suggestion for rapid sync ? :<
My steps are :
1. Create a schema binding view for 3 column.
The data type is (int, nvarchar, ntext)
2. Set unique, clustered index on this view
=> Have error in sql server
3. I ingore to build unique, clustered index on the view. Sync two views in sql data compare, then it would sync all tables, not including the view.
If we have ntext column, that means we couldn't build a indexed view for this table to sync indexed view ?
There are certain limitations on indexed views and that may be one of them. I don't think an indexed view is going to work for you.