Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the parameters related to DB2 HADR

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article is to share with you what the relevant parameters of DB2 HADR are, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

DB2_HADR_BUF_SIZE

Operating systems: all operating systems

Default: 2*logbufsz

This variable specifies the size of the alternate log receive buffer in log pages. If this variable is not set, DB2 uses twice the size of the primary logbufsz configuration parameter as the backup receive buffer size. The maximum size that can be specified is 4 GB. This variable should be set in the standby instance. The master database ignores it.

If the HADR synchronization mode (hadr_syncmode database configuration parameter) is set to ASYNC, then in the peer-to-peer state, a slow standby database may delay the send operation on the primary database and thus block transactions on the primary database. A buffer larger than the default log receiving buffer can be configured on the standby database to hold more outstanding log data. This allows the primary database to generate log data faster than the standby database to use it in a very short period of time without blocking transactions on the primary database.

Note:

A larger log receiving buffer helps to bear the peak transaction load on the primary database, but if the average playback speed on the standby database is less than the record speed on the primary database, the buffer will still be full.

These are the relevant parameters of DB2 HADR, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report