The embodiment of the invention provides a
database cache management method, a
database, equipment and a storage medium, and the method comprises the steps: in a current brushing period, obtaining a first data block and a second data block in a buffer
data space; obtaining a first data quantity of the first data block and a second data quantity of the second data block, and determining a first dirty brushing parameter based on the first data quantity and the second data quantity; obtaining a historical
dirt brushing number of a plurality of historical cycles, and determining a second
dirt brushing parameter based on the historical
dirt brushing number; acquiring a data serial number of each first data block, and determining a third dirty brushing parameter based on the data serial number; determining a target dirt brushing parameter according to the first dirt brushing parameter, the second dirt brushing parameter and the third dirt brushing parameter; determining a target data block according to the target dirt brushing quantity, and writing the target data block into a local
data space; according to the embodiment of the invention, the memory space and the read-write performance can be optimized, and the file is prevented from being damaged.