Switch Databases to WAL mode. Set autocommit to 100.
Change-Id: I852f439e2565d1732a55548f1519cbd2c77ebd64 frameworks/base: Add check for READ ONLY databases (WAL can be used with R/W DBs only). CRs-Fixed: 278062 Change-Id: Iadcbd868c1ef47e75bbdf5343868e542353ac9f2 frameworks/base: Use WAL mode for selected databases. Others use default mode: DELETE. Change-Id: I4cb3c87a751f83bf47a73c4652ce1d8bf64a60fd frameworks/base: Disable fsync in selected databases. As an add-on to the WAL optimization, disable fsync in databases where corruption and data consistency aren't a problem. Change-Id: I41a85fa55ea71dc8dd3c4011102c28d2c1db8d3d
Loading
Please register or sign in to comment