The invention discloses a
data recovery method, device and equipment, a medium and a program product, and relates to the technical field of computers. The
data recovery method comprises the following steps: analyzing a pre-write log WAL file in a
database to obtain a log frame in the WAL file; the log frame comprises modification information, a page number, transaction
metadata and page mapping information for a
database page; according to the transaction
metadata in the log frame, performing boundary identification on the modification information of the
database page to obtain at least one item of transaction information; and according to the transaction information, the page number, the page mapping information and a
data structure of the database, performing
data recovery in the database to obtain a recovered database. According to the technical scheme provided by the embodiment of the invention, the problem of
data loss easily occurring during data
recovery can be solved by utilizing the characteristic that the WAL file is independently stored and is not easy to lose.