是否不建议在基于目录的网站中使用 SQL Server CE

发布于 2024-12-22 14:01:07 字数 378 浏览 4 评论 0原文

我建立了一个使用 SQL CE 作为数据库的目录系统。在托管提供商 (GoDaddy.com) 上部署后,性能很差。每当执行数据访问时,都需要相当长的时间来检索产品。很多时候,我不断收到这样的错误:

There is a file sharing violation. A different process might be using the file. D:\Hosting\8750445\html\App_Data\PriceCompare-Prod.sdf**

如果只有我一个人浏览该网站时出现此问题,那么如果有很多人同时访问该网站会发生什么情况?

是否应该避免在此类基于目录的站点中使用 SQL CE 作为生产数据库,或者我的托管提供商有问题?

I have build a catalog system which use SQL CE as database. After deploying it at hosting provider (GoDaddy.com), the performance was pathetic. Whenever data access is performed it takes a pretty long time to retrieve the products. Many a times, i keep getting this error:

There is a file sharing violation. A different process might be using the file. D:\Hosting\8750445\html\App_Data\PriceCompare-Prod.sdf**

If this problem is coming up when i am the only one surfing the website, what will happen if numerous people are accessing the website at the same time?

Should one avoid using SQL CE for production databases in such catalog based sites or there is something wrong with my hosting provider?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

渔村楼浪 2024-12-29 14:01:07

如果您想在 Windows Phone 7 上使用 SQL CE 或者您有一个单用户(扔掉)应用程序,那么 SQL CE 是一个很棒的工具。对于网站,您确实应该使用专为多用户访问而构建的数据库。有关更多信息,请参阅此问题的答案 问题

SQL CE is a great tool if you want to use it on a windows phone 7 or if you have a one user (throw away) app. For a website you should really use a database which was build for multi user access. For more informations see the answers to this question.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文