简体   繁体   English

IBM MQ日志写入完整性

[英]IBM MQ Log write integrity

In the Queue manager object we have a parameter under log section to define the log write integrity. 在队列管理器对象中,我们在log部分下有一个参数来定义日志写完整性。 What is the difference between SingleWrite , DoubleWrite and TripleWrite in IBM MQ log write integrity ? IBM MQ日志写入完整性中的SingleWriteDoubleWriteTripleWrite有什么区别 Please explain in detail. 请详细说明。

LogWriteIntegrity is all about how the queue manager logger writes partial 4KB pages. LogWriteIntegrity涉及队列管理器记录器如何写入部分4KB页面。 Unless you are absolutely certain that your file system provides atomically written pages under all circumstances you should leave it at the default setting of TripleWrite . 除非您完全确定文件系统在所有情况提供原子编写的页面,否则应将其保留为TripleWrite的默认设置。 The option to set anything other than TripleWrite only exists because of a possible performance enhancement, however since partial pages should be rare with a queue manager with a good amount of concurrent work going on, it's not a big area for performance improvement, and a better way to improve the performance of your queue manager is to increase concurrency rather than the risks associated with changing this setting. 设置选项而不是设置TripleWrite只是因为可能会提高性能,但是由于队列管理器很少进行局部页面并进行大量并发工作,因此它并不是很大的性能提升空间,而且可以提供更好的性能改善队列管理器性能的一种方法是提高并发性,而不是与更改此设置相关的风险。

There is a very useful blog post from MQ Development that you should read. MQ Development有一篇非常有用的博客文章,您应该阅读。 You can find it here: LogWriteIntegrity.... should I pick SingleWrite or TripleWrite? 您可以在这里找到它: LogWriteIntegrity ....我应该选择SingleWrite还是TripleWrite?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM