摘要 |
<p>Disclosed are a method and a device for processing dirty data. The method provided in the embodiment of the present invention includes: determining a first storage block in the memory, and the size of the first storage block is matched with the writing specification of the cache; combining the elements marked as dirty data in the memory and writing the same into the first storage block; and writing the dirty data from the first storage block into the cache and writing the dirty data into a disk via the cache. By implementing the present invention, the data throughput and read-write performance of a database system can be improved.</p> |