同步失败内部异常:类型为'System.OutOfMemoryException'的异常 [英] sync failed Inner exception: Exception of type 'System.OutOfMemoryException'

查看:111
本文介绍了同步失败内部异常:类型为'System.OutOfMemoryException'的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是在前提到中心表的第二次同步中发生的.桌子不是那么大.当我们尝试设置一个新的SYNC:组-代理-成员项目以在我们的一个测试前提下进行测试时,它始终会发生.

This is happening on our 2nd sync of a premise to hub table. It is not that huge of a table. It happens consistently as we've tried setting up new SYNC: group - agent - member items for testing with our one test premise.

我们对syncAgent(在Azure方面)和MetadataDatabase感到困惑.如果我们要同步工作到Azure中的多个租户(场所).我们不应该允许每个场所使用syncAgent(密钥交换等).

We are confused about the syncAgent (on the Azure side) and MetadataDatabase. if we want syncs working to multiple tenants (premises) within our Azure. Shouldn't we be allowed a syncAgent per premise (key exchange etc).

关于安装说明的本说明暗含了整个云设置的一个全局元数据库:Microsoft建议您创建一个新的空数据库以用作同步元数据数据库".数据同步会在此数据库中创建表并频繁运行 工作量.对于选定区域中的所有同步组,该数据库将自动作为同步元数据数据库共享.不删除同步元数据数据库或其名称,就无法更改它.

This note on the setup directions implied ONE global metadatabase for the whole cloud setup: Microsoft recommends that you create a new, empty database to use as the Sync Metadata Database. Data Sync creates tables in this database and runs a frequent workload. This database is automatically shared as the Sync Metadata Database for all of your Sync groups in the selected region. You can't change the Sync Metadata Database or its name without dropping it.

我们对术语地区"感到困惑这意味着什么?我们看到了真正古老的代理程序设置所在的区域.元数据数据库的此设置的拓扑是什么? syncgroup(我们配对到前提数据库和表)-syncagent(配对 到前提)和成员(我们配对为前提和表)

We are confused by the term "REGION" what does that mean? We saw the really old agent setup had region there. What is the topology of this set up for metadata database and  syncgroup (we thot paired to premise db and table)- syncagent (paired to premise)  and member (we thot paired to premised and table) 

每个前提都需要自己的sql服务器吗?自己的虚拟机?

Does each premise need its own sql server? own vm machine ?

请帮助我们感到沮丧,并认为同步设置尚未准备就绪,无法真正使用.

Please help we are frustrated and thinking the syncs setup are not ready for real use.

推荐答案

Hello,

That out of memory error was common on Sync Framework when serializing large data sets. What is the size of the database?

With SQL Data Sync you should have a hub database (SQL Azure Database) and one or more member databases. For each SQL Server on-premises you need to install the agent.


For the region, use the same region of the hub database and the sync group.


Hope this helps.



Regards,

Alberto Morillo
SQLCoffee.com


这篇关于同步失败内部异常:类型为'System.OutOfMemoryException'的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆