Which database would you recommend to use with C# (.NET) application?

后端 未结 13 1648
眼角桃花
眼角桃花 2021-01-05 08:38

I\'m developing a little project plan and I came to a point when I need to decide what local databse system to use.

The input data is going to be stored on webserver

13条回答
  •  生来不讨喜
    2021-01-05 08:58

    Depends on how distributed your application is going to be. For standalone applications serving a few users (or single users on a single machine) SQLite is extremely fast and efficient. The main problem with SQLite is that it does not officially support parallel writes. This won’t create a problem for you in lightweight applications; however, serving millions of users online would be inefficient with SQLite.

    Another important issue is FTS (Full Text Search). Is your application going to search for entire words instead of single/multiple characters? If so, consider Microsoft SQL server, because making FTS work on SQLite is a big headache and almost impossible on some Operating Systems (including Linux.) MS SQL server, however, can enable FTS even after database creation, with a few clicks.

    In terms of responsiveness, I have ran many tests and SQLite has been usually faster than MS SQL server by 10–20 milliseconds, for simple queries. Again, performance tuning in MS SQL server is possible and the ecosystem is very powerful.

    So I highly recommend working with MS SQL server.

提交回复
热议问题