SQLite是否适合在生产网站中使用? [英] Is SQLite suitable for use in a production website?

查看:291
本文介绍了SQLite是否适合在生产网站中使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在重写一个PHP + MySQL网站,平均每天使用Django的点击次数为40-50.

I'm rewriting a PHP+MySQL site that averages 40-50 hits a day using Django.

SQLite是否适合在此使用数据库?它们之间是否有优点/缺点?

Is SQLite a suitable database to use here? Are there any advantages/disadvantages between them?

我只是使用数据库来存储博客以及可以对其进行编辑的用户.我在博客搜索中使用全文搜索,但是任何地方都没有复杂的连接.

I'm just using the db to store a blog and the users who can edit it. I am using fulltext search for the blog search, but no complex joins anywhere.

推荐答案

每天40-50次匹配非常小,可以毫无问题地使用SQLLite.

40-50 hits per day is very small and SQLLite can be used without any problem.

一旦您获得更多成功,MySql可能会更好,因为它可以更好地处理多个连接(MySql和SqlLite的锁并不相同).

MySql might be better once you will get more hit because it handles in a better way multiple connexion (lock isn't the same with MySql and SqlLite).

这篇关于SQLite是否适合在生产网站中使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆