[英]Can I read and write data on same firebase real-time database using flutter and python?
[英]Can I add data to SQLite server continuously in real time and read from it at the same time using python
我正在連續讀取設備的電壓,我想將數據實時記錄到 SQLite 數據庫中。 是否可以從數據庫中添加和讀取數據以便我可以 plot 呢? 我在 python 中使用 matplotlib。
沒有理由你不能。 如果數據庫被寫入鎖定,則讀取將在這段時間內阻塞。
您可能想嘗試通過運行SQLite WAL 模式以獲得更好的並發性能
PRAGMA journal_mode=WAL;
作為 SQLite 連接的第一個命令。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.