A ring buffer is a logging technique for applications whereby the relevant data to be logged is kept in memory instead of writing it to a file on a disk every time.
循环缓冲区是一种用于应用程序的日志记录技术,它可以将相关的数据保存在内存中,而不是每次都将其写入到磁盘上的文件中。
Ring buffer logging consists of a fixed size of allocated memory buffer that is used by the process for logging.
循环缓冲区日志记录由一个固定大小的内存缓冲区构成,进程使用这个内存缓冲区进行日志记录。
Sometimes ring buffer logging can come to the rescue when other traditional logging methods fail.
有时,当其他传统的日志记录方法失败时,可以使用循环缓冲区日志记录。
A ring buffer makes logging efficient by using memory operations in place of file operations.
通过使用内存操作代替文件操作,循环缓冲区使得日志记录的效率更高。
A ring buffer provides the following advantages over the traditional file logging mechanism.
与传统的文件日志记录机制相比,循环缓冲区提供了下列优势。
This section discusses some important points to consider when using a ring buffer to enable logging in a multi-threaded application.
这个部分介绍了在多线程应用程序中使用循环缓冲区启用日志记录时需要考虑的一些重要方面。
To perform these operations efficiently and maintain the integrity of databases, NSF USES buffer caching and provides for transaction logging and recovery.
为了有效的执行这些操作并保持数据库的完整性,NSF使用了缓存,并为操作提供了日志和恢复功能。
To perform these operations efficiently and maintain the integrity of databases, NSF USES buffer caching and provides for transaction logging and recovery.
为了有效的执行这些操作并保持数据库的完整性,NSF使用了缓存,并为操作提供了日志和恢复功能。
应用推荐