SQLite适合并发阅读? [英] SQLite suitable for concurrent reading?

查看:224
本文介绍了SQLite适合并发阅读?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SQLite数据库在没有锁定的情况下性能会达到50次左右吗?

Will an SQLite database perform well to around 50 reads/second without locking?

我想决定是否可以在PHP上使用网站,它不会经常被写 - 它大多是从一小部分表中读取相同的数据

I'm trying to decide whether it'd be feasible for use on a PHP website that won't get 'written' to very often - it'll be mostly reads of the same data from a small handful of tables

推荐答案

没问题。并发读/写将实际上由SQLite序列化,所以你不需要关心它。

No problem. The concurrent reading/writing will actually be serialized by SQLite so you don't need to care about it.

详情请参阅: http:// www。 sqlite.org/lockingv3.html

这篇关于SQLite适合并发阅读?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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