简体   繁体   English

适用于小型Web应用程序的MySQL

[英]Mysql for small web app

Im about to start a small web application for a customer that the main purpose is to upload documents for specific customer and other information. 我打算为客户启动一个小型Web应用程序,其主要目的是上载特定客户和其他信息的文档。

I dont want to use SQL Server because licensing cost, so I would like to know if MySQL is a realible and good replacement for this scenario. 我不想使用SQL Server,因为许可成本很高,所以我想知道MySQL是否可以替代这种情况并且是一种很好的替代方案。

Appreciate any advise. 感谢任何建议。 Thanks 谢谢

If you host with a major provider, you WILL NOT have any problems with SQL Server licensing, a small number of databases is ALWAYS included in with the major web hosting companies. 如果您使用主要提供商托管,则SQL Server许可不会有任何问题,主要的Web托管公司始终会包含少​​量数据库。

SQL Server is so robust, you can use the server tools with sql express. SQL Server非常强大,可以将服务器工具与sql express一起使用。 You can also pay for the Developer Version of SQL Server Management for $50. 您还可以支付50美元购买SQL Server Management开发版。 Yes, only $50 bucks. 是的,只有50美元。 There is CE compact edition etc... 有CE精简版等...

I went the whole Mysql and PostgresSQL route years ago, and I look back regretting it. 多年前,我走遍了Mysql和PostgresSQL的整个过程,但我对此感到后悔。 Sure you CAN wire up MVC or regular Web Forms ASP.NET with these other databases, but I'm confident that you will regret it. 当然,您可以将MVC或常规的Web Forms ASP.NET与这些其他数据库连接起来,但是我相信您会后悔的。

It depends on your needs and where your application will be launched in the end - if it's a hosting, then you have to rely on database engines they offer. 这取决于您的需求以及最终将在哪里启动您的应用程序-如果它是托管服务器,则您必须依靠它们提供的数据库引擎。
However, I would recommend PostgreSQL http://postgresql.org/ 但是,我建议PostgreSQL http://postgresql.org/
It is also a free database engine, but more powerful and offer better performance if properly tuned. 它也是一个免费的数据库引擎,但功能更强大,如果进行适当的调整,可以提供更好的性能。
Some of the nice features are: 一些不错的功能是:

  • PLPGSQL included 包含PLPGSQL
  • possibility to extend easily with PlPython or C function 使用PlPython或C函数轻松扩展的可能性
  • index on immutable function 不可变函数的索引
  • partial indexes 部分索引
  • a couple of index types ie specialized for full text search 几个索引类型,即专门用于全文搜索

Just read about PostgreSQL and try it. 只需阅读PostgreSQL并尝试一下即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM