摘要 |
<p>A log storage method and system used in the technical field of information. The log storage method comprises the steps of: obtaining a write request of a log file, generating a log sequence number corresponding to the write request; considering identification information and a log sequence number of log object belonging to the log file that is requested to write by the write request as the key, and obtaining the memory address of the log file that is requested to write by the write request through the key calculation; saving the log file that is requested to write by the write request to a disk system according to the memory address of the log file. The log file storage in the Key-Value storage system may be achieved.</p> |