Multi-thread data processing method and device for database and electronic equipment
The embodiment of the invention relates to a multi-thread data processing method and device for a database and electronic equipment, according to the technical scheme provided by the embodiment of the invention, original reading and writing operations of a main thread are respectively processed by a...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention relates to a multi-thread data processing method and device for a database and electronic equipment, according to the technical scheme provided by the embodiment of the invention, original reading and writing operations of a main thread are respectively processed by a reading thread and a writing thread, so that the data processing efficiency can be improved; besides, the data structure of the data stored in the database meets the RCU synchronization mechanism, so that the problem of read-write concurrency conflict can be solved, the read-write performance of the database is improved, and the business scene requirement of more read and less write can be met.
本发明实施例涉及一种用于数据库的多线程数据处理方法、装置和电子设备,根据本发明实施例提供的技术方案,将原来主线程的读、写操作分别由读线程、写线程来处理,可以提高数据处理效率;此外,由于数据库中存储的数据的数据结构满足RCU同步机制,可以解决读写并发冲突问题,提高数据库读写性能,且更能满足读多写少的业务场景需求。 |
---|