一种降低SQLite擦写Flash频率的方法  被引量:2

Method for Reducing Frequency of Writing Flash in SQLite

在线阅读下载全文

作  者:刘婷婷[1] 黄林春 

机构地区:[1]西安电子科技大学计算机学院,西安710071 [2]陕西省信访局,西安710071

出  处:《计算机工程》2010年第15期94-96,共3页Computer Engineering

摘  要:SQLite的事务处理机制在写操作密集的应用中会引起频繁擦写Flash,导致Flash过早失效。针对上述问题,通过分析SQLite的事务处理流程及自动提交模式,采用延时提交的方法降低Flash的擦写频率,并将数据分为关键或不可重现数据以及可重现数据,分别进行处理,以保证数据的安全性。In some applications with intensive writing,Flash becomes invalid earlier than expected if SQLite writes database file too frequently.In order to solve the problem,by analyzing the transaction processing procedure and auto-commit mode of SQLite,this paper uses the method of delay commit to reduce the frequency of erasing and writing Flash.It divides data into the key or un-reproducible data and reproducible data,and treats them with appropriate methods,which ensures the security of data.

关 键 词:事务处理 自动提交 延时提交 数据分级 

分 类 号:TP302.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象