SqlCE作为asp.net下的数据库-有什么缺点?
我无法在我的托管环境上购买 SQL Server 完整/快速计划,并且我正在考虑将 SQLCE 与 EF 4.0 结合使用 预计用户负载为每天 1000-2000 人。
I can't buy a the SQL server full/express plan on my hosting environment and I was thinking of using SQLCE with EF 4.0
expected user load is 1000-2000 per day.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
“用户负载为每天 1000-2000”
这并不是衡量数据库将承受的负载的一个特别好的指标。
您需要衡量以下内容:
例如,我知道有 1000 个用户的系统需要一组高端服务器来处理负载。
如果您可以对 50、100 和 500 个用户的性能进行建模 - 这可以让您了解是否可以处理此负载。
FWIW:SQL Server Express Edition 可免费用于商业用途。
"user load is 1000-2000 per day"
This isn't a particularly good measure of what load your database will be under.
You need to measure things like:
For instance, I know of systems where having 1000 users required a cluster of high end servers to deal with the load.
If you can model what the performance is like for 50, 100, and 500 users - that could give you an idea of whether you can deal with this load.
FWIW: SQL Server Express Edition is free for commercial usage.
sqlserverCe-dll(以及类似的 SQLite-dll)内部有 32 位本机代码。因此在 64 位系统上运行时可能会出现一些 32/64 位问题。
我不确定是否已经有 64 位 sqlserverCe-dll。
The sqlserverCe-dll (as well as the similar SQLite-dll) has 32bit native code inside. so there might be some 32/64bit issues when running on a 64bit system.
I am not shure if there is already a 64bit sqlserverCe-dll.
SQL Server Compact 将在 ASP.NET 4 下以中等信任度运行,并支持 x64 和 x86 平台。最大并发连接数限制为 256 个。它是基于文件的,不像 SQL Server 那样健壮,并且不支持恢复到某个时间点。
SQL Server Compact will run under medium trust under ASP.NET 4, and supports both x64 and x86 platforms. It is limited to max 256 concurrent connections. It is file based, and not quite as robust as SQL Server, and does not support recovery to a point in time.