Patent ID: 11907166
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. A method for operating an electronic device including a processor and a memory comprising a database file, the database file comprising a plurality of pages corresponding to application data and reserved space, the method comprising:
receiving a request to update application data stored in the memory of the electronic device;
adding a frame corresponding to an updated page of the application data stored in the database file to an appended file, based on the update request;
determining whether the frame is initially added to the appended file;
allocating, when the frame is initially added to the appended file, the reserved space to the appended file;
determining, when the frame is not initially added to the appended file, whether to allocate the reserved space to the appended file based on a storage space of the memory;
updating the database file to apply the frame stored in the appended file based on identifying that an update condition is satisfied; and
after updating the database file, allocating the reserved space to the database file,
wherein the update condition comprises a condition that a size of the appended file corresponds to a predetermined size, or a condition that the number of frames included in the appended file corresponds to a predetermined number.