The present application relates to the technical field of
database management, and particularly relates to a
database recoverable time interval acquisition method, medium and equipment, which determines start and end sequence numbers through a current
log sequence number and a timeline identifier, avoids calculation deviation of a recoverable interval caused by scanning range error, performs continuity analysis through a file naming sequence and a sequence number, automatically identifies log integrity before
recovery, avoids
recovery failure caused by log loss, analyzes a timeline history file, checks legality based on a
branch point and an associated sequence number, automatically identifies a legal log segment in a timeline
branch scene, avoids
recovery failure caused by using an incorrect timeline log, calculates a recoverable interval through fusion of continuity state, time mapping, legality result and an archive
delay threshold value, can generate an explicit
effective time range before recovery, avoids recovery failure caused by blind operation, and dynamically adjusts a termination time to ensure matching with a master node log synchronization state.