Electronic device for prohibiting loss of data in database and method for operating the same

    公开(公告)号:US11423012B2

    公开(公告)日:2022-08-23

    申请号:US15931071

    申请日:2020-05-13

    Abstract: An electronic device and a method for operating the electronic device are provided. The electronic device includes a first memory, a second memory configured to store therein journal data including an operation result of a transaction for data in the database and metadata, and at least processor configured to detect an occurrence of the transaction, identify characteristics of a database system to which the data corresponding to the transaction belongs and characteristics of a file system, determine whether to create a thread for synchronizing the metadata stored in the second memory with the first memory based on the characteristics of the file system and the characteristics of the database system, and synchronize the metadata with the first memory using the created thread corresponding to identifying that the transaction of the data satisfies a condition related to a degree of change of time of the data.

Patent Agency Ranking