C#/.NET4 云应用程序中 SQLServer 与 MySQL 的优势

发布于 2024-08-31 23:08:12 字数 251 浏览 2 评论 0原文

我正在考虑构建多个 C#/.NET4 应用程序,所有应用程序都使用基于云的中央数据库。此外,一些 LAMP (MySQL) 网上商店将访问云数据库。

MySQL 是我最熟悉的数据库,我的云数据库默认选择是 Amazon 上的 MySQL 或 Joyent。然而,我想知道 VisualStudio 2010 中的 SQLServer 可以使用哪些开发“额外功能”,而 MySQL 则无法使用。是否有任何“杀手级功能”应该让我考虑 SQLServer 而不是 MySQL?

I am considering building several C#/.NET4 applications all using a central, cloud based database. In addition, several LAMP (MySQL) web shops will be accessing the cloud DB.

MySQL is the database that I'm most familiar with, and my default selection for the cloud DB would be MySQL on Amazon or Joyent. However, I was wondering what development "extras" are available for SQLServer in VisualStudio 2010 that are not available for MySQL. Are there any "killer features" that should make me consider SQLServer instead of MySQL?

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

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

发布评论

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

评论(2

青萝楚歌 2024-09-07 23:08:12

SQL Server 2005+:

  • WITH(AKA 通用表表达式 (CTE))语法
  • 高级视图支持(可以执行子查询等)
  • 分析函数(ROW_NUMBER、RANK..)
  • SSRS 提供的报告功能是免费的.. 好吧,包含在许可证中成本
  • CLR 创建 .NET 代码来扩展数据库功能 IE 正则
  • 表达式 数据库邮件

SQL Server 2005+:

  • WITH (AKA Common Table Expressions (CTEs)) syntax
  • Superior View support (can do subqueries, etc)
  • Analytical functions (ROW_NUMBER, RANK..)
  • Reporting functionality provided by SSRS is free.. well, included in the license cost
  • CLR to create .NET code to extend database functionality IE regex
  • Database mail
浅沫记忆 2024-09-07 23:08:12

从安全角度来看,数据库不应该能够发送电子邮件。这是一个数据库服务器,只能像这样运行。如果它能煮咖啡那就太好了,但这只是一个额外的功能,黑客会发现最有兴趣利用它。

我正在使用带有 npgsql 驱动程序的 Postgresql http://pgfoundry.org/projects/npgsql/ 并且它有效美好的。我看到人们在 Amazon 上使用 Postgresql AIM:http://www .stickybit.se/load-balancing-postgresql-in-the-amazon-cloud 带有负载均衡器。

From security point of view a database should not be able to send an email. This is a database server and should act like this only. It is great if it can make coffee, but this is just an extra feature which hackers will find most interesting to exploit.

I am using Postgresql with npgsql driver http://pgfoundry.org/projects/npgsql/ and it works fine. I see people use Postgresql AIMs on Amazon: http://www.stickybit.se/load-balancing-postgresql-in-the-amazon-cloud with a load balancer.

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