An unreliable environment-oriented audit log read-write managing method and
system. The method comprises a writing-in step, in which audit logs produced during an audit procedure by an audit device are periodically backed up to a log file related to time and in a hard disk, a read step, in which relative files are extracted according to user selected time, and importing the extracted log file to a
database for check use. The audit logs are written into the log file, so even when power is off during the writing, only the last write-in log is affected; therefore
system damage probability during sudden power-off can be reduced; when a user checks a log, the log file can be extracted according to user selected time and imported to the
database; during the log file explicit importing process, the device power supply is not turned off due to the awareness of the import process, so possibility of errors during the importing of the log to the
database can be greatly reduced; and further, during the check, a database of column
storage type is employed, so log writing-in speed can be improved.