SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Identity Range Management
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ranvir_2k
Posting Yak Master

United Kingdom
173 Posts

Posted - 10/31/2013 :  08:12:41  Show Profile  Reply with Quote
I have a table that is being replicated via merge replication,

I have set the 'Automatically manage identity ranges' option to Automatic.

There will be a job that inserts 20,000 rows via a bulk insert at the publisher.

I was wondering how to set the identity range management settings for this setup.

The identity field is an int data type.


The publisher range size is 100






ranvir_2k
Posting Yak Master

United Kingdom
173 Posts

Posted - 11/13/2013 :  11:27:37  Show Profile  Reply with Quote
I'm trying to enter 100,000 records into a table in merge replication. The publisher range size is 10000, subscriber range is 1000 and Range Threshold percentage is 80.

The insert fails with the following message insert failed. It conflicted with an identity range check constraint in database

Do I need to increase the range to 100000?
Or modify the threshold?

Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000