473,386 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 3298
Ian
de**********@gmail.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
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 -...
7
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...
16
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...
3
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...
8
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 ...
9
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...
6
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...
0
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...
0
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
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.