473,618 Members | 3,170 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB2 HADR 8.2.2 for REORG maintenance

Hi all,

Our business is in manufacturing, and we are running SAP on DB2 8.1,
planning on upgrading to 8.2.2 within a couple of months. We are
running operations 24/7, so are looking for ways to reduce our
maintenance impact to our users. Our users hit some specific SAP tables
very heavily, and concurrently, so even doing an online REORG causes
some system slowdown. We are looking for ways to reduce these slowdown
times, because even though we have an outage once per month to catch up
REORGs, we would like to be able to do them during normal business
hours, without impacting system performance.

The idea of using HADR came to mind, along with the Q Replication, as
mentioned in this article, where businesses were using Q Replication to
minimize downtime:

http://www.db2mag.com/story/showArti...cleID=23903558

Basically, what we would do is, run our maintenance, such as table
REORGs, on the secondary/standby machine, and once the maintenance has
finished, we would then make the machine available to the end users. In
turn, we would then do the same maintenance on the other machine.
Therefore all performance intensive maintenance activities would take
place on a machine that users would not be hitting.

I initially spoke with our sales rep and his engineer about using Q
Replicator, but they thought HADR has a better choice for what we
wanted.

Has anyone had any experience so far with this scenario? Or is there a
better way to approach this?

Also, if anyone from IBM reads these groups, are there any plans to
make HADR load balance?

Nov 12 '05 #1
4 3315
Ian
de**********@gm ail.com wrote:
Hi all,

Our business is in manufacturing, and we are running SAP on DB2 8.1,
planning on upgrading to 8.2.2 within a couple of months. We are
running operations 24/7, so are looking for ways to reduce our
maintenance impact to our users. Our users hit some specific SAP tables
very heavily, and concurrently, so even doing an online REORG causes
some system slowdown. We are looking for ways to reduce these slowdown
times, because even though we have an outage once per month to catch up
REORGs, we would like to be able to do them during normal business
hours, without impacting system performance.

The idea of using HADR came to mind, along with the Q Replication, as
mentioned in this article, where businesses were using Q Replication to
minimize downtime:


HADR will not support what you are trying to do. The HADR standby is
not usable until it takes over from the primary. Doing this via
replication might be physically possible, but I don't think that you'll
get much support from SAP on this (and replicating thousands of tables
is a nightmare I'd rather not have).

Why don't you look at the ONLINE REORG functionality that was introduced
in V8? Combined with the ability to throttle utilities (like REORG) to
minimize their impact on system performance, you may be able to meet
your goal without introducing extra complexity.
Good luck,
Nov 12 '05 #2
> Also, if anyone from IBM reads these groups, are there any plans to
make HADR load balance?


Could you elaborate on what you're looking for? Do you mean to have
the primary and standby servers both active and balance application
workload across them? If so, then there is no plan to support this.

Unlike with traditional replication, where applications have some
support for updating either/any copy of the database, the HADR
architecture is fundamentally a uni-directional replication, and
updates can only occur at the primary.

That said, it is possible to implement read-only access to the standby
in such an architecture, and that is something that's been on our radar
since day one, but is not available in the current releases. The
closest thing to "load balancing" I can think of is the possibility
that readers could be biased to connecting to the standby, and updaters
to the primary. One could also consider some kind of transparent
redirection of updaters from standby to primary in case one does
attempt to connect to an otherwise read-capable standby.

Please note that all of this is purely speculative; at this time IBM
has no announced plans to support any of it.

Regards,
-Steve P.
----------------------
Steve Pearson
DB2 UDB Development
Portland, OR

Nov 12 '05 #3


Steve Pearson (news only) wrote:
Also, if anyone from IBM reads these groups, are there any plans to
make HADR load balance?


Could you elaborate on what you're looking for? Do you mean to have
the primary and standby servers both active and balance application
workload across them? If so, then there is no plan to support this.


Yes, that was what I was curious about.

I don't think it would really add to our situation anyway, it would
probably introduce more complexity and no return on investment.
Thanks for taking the time to answer my question, much appreciated!

Nov 12 '05 #4
Hi Ian,

We are currently doing ONLINE REORG, but there are a couple of specific
tables that it doesn't work so well, it brings certain parts of SAP to
a crawl. However, I was unaware that REORG could be throttled. I knew
that RUNSTATS could do it, but did not know that REORG would. I will
investigate this further, as we are using default settings on REORG.

Very much appreciated!

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
5452
by: andy.standley | last post by:
Hi, we are running DB2 V8.2 (8.1.0.80) on redhat linux and I am trying to set the reorg to be online. I use the control center on the box - db2cc and then configure automatic maintenance wizard - and can get runstats to be online but reorg only offers offline at the activities settings. I have tried to understand why - I thought that online was always offered ? I think that all my indexes are type 2 - I ran some reorg indexes all on the...
7
10572
by: Mark A | last post by:
If server 01 running HADR in the primary role crashes, and the DBA does a HADR takeover by force on the 02 server to switch roles, then the 02 server is now the primary. What happens when the Server 01 is brought back up? It still thinks it is the primary because that was its role when it crashed and it does not know about the takeover by force command that was issued. Does the 01 server check the 02 server to see what role they are in...
16
21746
by: gumby | last post by:
I'm having trouble getting HADR to work with the sample databases on two HS20 xSeries blades, Red Hat ES4 up3, DB2 8.2.4, getting the following error. SQL1768N Unable to start HADR. Reason code = "7" - The primary database failed to establish a connection to its standby database within the HADR timeout interval. What things should I check besides the remote host and remote service parameters on the standby database, which seem to be...
3
8528
by: kartic_s | last post by:
he brief explanation of the problem is, After DB2 maintenance window performance has gone down, it takes some hours to retrieve the data. We have provided some table spaces to Reorg/Runstat during the maintenance window . After REORG some of the tablespaces, the performance is very slow .This is really strange because no code changes has been involved and also nothing was changed, it's just a Reorg of some tablespaces. I think this...
8
23424
by: Challenge | last post by:
Hi, I got error, SQL1768N Unable to start HADR. Reason code = "7", when I tried to start hadr primary database. Here are the hadr configuration of my primary db: HADR database role = STANDARD HADR local host name (HADR_LOCAL_HOST) = testserver HADR local service name (HADR_LOCAL_SVC) = 56000 HADR remote host name (HADR_REMOTE_HOST) = testserver
9
17717
by: Mikael | last post by:
Must admit, I am new to DB2: Seems I can not issue command REORG TABLESPACE: Commands Entered: REORG TABLESPACE SBO_DB.TS_SBO_SAFE; SQL0104N An unexpected token "TABLESPACE" was found following "REORG". Expected tokens may include: "TABLE". SQLSTATE=42601
6
4075
by: RayRay | last post by:
I was hoping I might be able to get an answer regarding DB2 and HADR. Let me preface this by saying that I know very little about networking and I'm not familiar with the HADR product or clustering. But, I've been asked to research a couple issues for a client. They are thinking about implementing HADR. They have DB2 production databases running on more than one box. Does a liscense for HADR need to be purchased for each production box...
0
1323
by: lfhenry | last post by:
Hi, I would like to reorg my HADR DB. I know the IBM HADR recommendation is to use inplace. I made reorg a while back and got some serious locks happening. We are a 24 hour operation. My first priority is to not have any locks/minize my lock problems, i am not so worried about performance (logging) as i will run the online reorg during the midnight hours. I want to run this reorg as i've noticed that my DB space usage has been increasing...
0
2427
by: deshaipet | last post by:
Hi - We have primary and standby databases on different servers. Here is my /etc/service entry for HADR pair : On Primary : "vi /etc/services
1
8303
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8453
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7124
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5552
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4064
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2582
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.