Length of LOB data (78862) to be replicated exceeds configured maximum 65536
2012-07-30 15:02
435 查看
sp_configure 'max text repl size',2147483647 Go RECONFIGURE GO 当应用复制一段时间后,碰到了这样一个问题,在插入nvarchar(max)类型的字段值时,报异常”Length of LOB data (92472) to be replicated exceeds configured maximum 65536. The statement has been terminated.” (“要复制的 LOB 数据的长度(92472)超出了配置的最大值 65536。语句已终止。”) 经过查找一番资料,发现服务器配置选项里有一项”Max Text Repl Size”(“最大文本复制大小”),它的默认值为65536,可以通过修改这个值解决上面的问题。 通过SELECT * FROM sys.configurations WHERE NAME LIKE'%repl%'
查询得到max text repl size (B) 最大值为2147483647,可以结合实际情况设置小于等于这个数值的值。
相关文章推荐
- Length of LOB data (78862) to be replicated exceeds configured maximum 65536
- System.Data.SqlClient.SqlException: Length of LOB data (1397200) to be replicated exceeds configured maximum 65536
- Length of LOB data exceeds maximum 65536
- System.Security.Cryptography.CryptographicException: The data to be decrypted exceeds the maximum for this modulus of 128 bytes. (RSACryptoServiceProv
- File /hbase could only be replicated to 0 nodes instead of minReplication (=1). There are 30 datanode(s) running and no node(s) are excluded in this operation.
- File/ could only be replicated to 0 nodes instead ofminRepLication (=1) There are 0 datanode(s) run
- HDFS DataNode问题-_COPYING_ could only be replicated to 0 nodes instead of minReplication (=1). There
- could only be replicated to 0 nodes instead of minReplication (=1). There are 4 datanode(s) running
- could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running
- Unable to determine the principal end of an association between the types '***. The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations.
- “could only be replicated to 0 nodes, instead of 1″ during copying data to HDFS
- Ogre出现”…The minimum corner of the box must be less than or equal to maximum corner”错误
- Data Structure Array: Find the Increasing subsequence of length three with maximum product
- 75.Your test database is configured to run in NOARCHIVELOG mode. One of the data files in the USERS
- datatype强制性改变,提示TypeError: only length-1 arrays can be converted to Python scalars
- oracle sqlldr数据导入错误Field in data file exceeds maximum length解决
- oracle sqlldr 数据导入错误Field in data file exceeds maximum length解决
- sqlldr “Field in data file exceeds maximum length ”解决办法
- dataframe插入数据报错SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a
- 【sqlldr】 “Field in data file exceeds maximum length ”解决办法