ADO.NET(Sql Compact + MySQL + IBM db2 expressC)
我正在开发一个应用程序,它将有一个用户可以添加条目的中央数据库。数据库必须位于某个服务器上,但我希望用户能够离线添加条目。当连接可用时,应用程序将同步到主数据库。因此,我想我需要 2 个数据库 - 主数据库位于服务器(最好是 Linux)上,而小数据库位于每台客户端计算机上,用作离线时的缓冲区。该应用程序将使用适用于 Windows 的 C# 进行编码。我无法决定使用哪些数据库以及是否可以利用任何复制技术来简化此操作。另外,我不想支付任何费用;)所以我想我的问题是...
在 ADO.NET 中编写代码以将数据从 SQL Compact Edition 等移动到 MySQL 时会遇到困难吗?
是否有任何复制解决方案可以为我将内容从本地数据库移动到主数据库
我最近发现了 IBM 的 db2 expressC但我不确定它是否是无服务器的以及安装的服务器。有人知道吗?
Firebird 可以是服务器或无服务器。我可以在它们之间复制吗?服务器模式可以大量使用吗?
I'm developing an app which will have a central database users can add entries to. The database will have to be on a server somewhere but I want the users to be able to add entries offline. The app will sync to the main db when connection is available. So, I supose I need 2 databases - the main one sitting on a server (preferably linux) and a small one on each client machine to use as a buffer when offline. The app will be coded in c# for windows. I'm having trouble deciding what databases to use and whether I can leverage any replication technology to make this easier. Also, I don't want to pay for anything ;) So I guess my questions are...
Will I have any trouble writing code in ADO.NET to move data from something like SQL Compact Edition to MySQL?
Are there any replication solutions which will move stuff from local to main database for me
I've recently discovered IBM's db2 expressC but I'm not sure if it's serverless as well as server installed. Does anyone know?
Firebird can be server or serverless. Can I replicate between them. Is the server mode capable of heavy use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的。
定义“大量使用”。我的生产系统有 200 个并发用户,每个用户在 10-20GB 范围内的数据库上每分钟处理 20 个事务。我确信还有许多更大规模的部署。
另外,你所描述的似乎是“公文包模型”。如果您还没有这样做,您应该调查一下。也许解决方案不是数据库级别的复制,而是更智能的胖客户端。
Yes.
Define 'heavy use'. I've had production systems with 200 simultaneous users pumping 20 transactions/minute each on databases in the 10-20GB range. I'm sure there are many larger deployments out there.
Also, what you describe seem like the 'briefcase model'. You should look into it if you haven't already done so. Maybe the solution is not replication at the database level, but rather a smarter fat client.
只是回答你的两个问题;我不知道 DB2 或 Firebird。
我在 ADO.NET 中编写代码将数据从 SQL Compact Edition 等移动到 MySQL 时会遇到困难吗?
这应该是非常简单的事情;安装 MySQL Connector/NET 就可以了。
是否有任何复制解决方案可以为我将内容从本地数据库移动到主数据库
SQL Server 复制就是为此而设计的,但我认为它不适用于 MySQL。
Just answering two of your questions; I don't know about DB2 or Firebird.
Will I have any trouble writing code in ADO.NET to move data from something like SQL Compact Edition to MySQL?
That should be very trivial; install MySQL Connector/NET and you're good to go.
Are there any replication solutions which will move stuff from local to main database for me
SQL Server replication is made for this, but I don't suppose it would work with MySQL.