简体   繁体   中英

Database for Embedded Linux, and Architecture

below is architecture of my applications.

sensor↔parser app↔database↔application1↔ethernet↔server

application2 and application3 are same level of application1.

database = sqlite3

problem is that too many transaction occured on database system.

parser app and applications are queries whole range of database for checking any differences every second.

so i would like to change architecture or database.

is there any database which has better performance than sqlite3? or which part do i have to change?

I would switch out sqlite3 in favor of MySQL or PostgreSQL, those database systems are meant to handle multiple clients where as sqlite3 won't be able to do this because everything is stored in a single file. Each (write) access therefore has to block the entire database instead of only a single row of the table in question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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