473,394 Members | 1,697 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,394 software developers and data experts.

Parallel Database

Does DB2 UDB support parallel database i.e processing is taking place
on multiple nodes at the same time allowing users to be active on more
than one node simultaneously. This is to allow for failover as well as
load balancing?

Is there an equivalent of Real Application Cluster (RAC) in Oracle.
Where we can cluster at application level rather then hardware such as
HACMP.

Thanks & Rgds,
F

Mar 8 '06 #1
12 2259
DeeBee2 wrote:
Does DB2 UDB support parallel database i.e processing is taking place
on multiple nodes at the same time allowing users to be active on more
than one node simultaneously. This is to allow for failover as well as
load balancing?

Is there an equivalent of Real Application Cluster (RAC) in Oracle.
Where we can cluster at application level rather then hardware such as
HACMP.

Pretty loaded question. You are asking for two questions at once:
Failover and Parallelism

DB2 supports what is commonly called shared nothing parallelism for
scale out.
This has little to do with failover. It's pure breed scale out geared
towards >500GB data.
Typically DPF (Data partitioning feature) is used for warehousing.
But OLTP applications, when designed properly, can also take advantage
of it.

For failover you can use solutions such as provided by Veritas or you
can use HADR.

W.r.t RAC there is no direct match. DPF installations have a bigger
(more extreme) sweet spots with >100 nodes becoming typical, but they
are not geared for high availability without HACMP.

HADR is a pure breed failover and disaster recovery solution (for
disaster recovery you need dataguard in Oracle, not RAC).

It makes no sense to directly compare these since they address different
requirements

Tell us more about the business requirement of the question. Otherwise
this thread is going to turn into flame war in no time.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Mar 8 '06 #2
Ian
Serge Rielau wrote:
DeeBee2 wrote:
Does DB2 UDB support parallel database i.e processing is taking place
on multiple nodes at the same time allowing users to be active on more
than one node simultaneously. This is to allow for failover as well as
load balancing?

Is there an equivalent of Real Application Cluster (RAC) in Oracle.
Where we can cluster at application level rather then hardware such as
HACMP.

Pretty loaded question. You are asking for two questions at once:
Failover and Parallelism


There is a company (xkoto) that has developed a software/hardware
solution that provides the equivalent of RAC for DB2 UDB. I believe
there are certain limitations as to the client software you use.

I haven't used this, but it seems like an interesting technology.

Mar 9 '06 #3
Interesting...
http://www.eweek.com/article2/0,1759...119TX1K0000594

Some obvious issues around NOT DETERMINISTIC and EXTERNAL ACTION events.
But it will cover many cases.
Not clear how they add a node or re-integrate a bounced system... (synch up)

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Mar 9 '06 #4
Ian wrote:
There is a company (xkoto) that has developed a software/hardware
solution that provides the equivalent of RAC for DB2 UDB.


Not the same thing as RAC at all - basically multiple copies of the same
database all over the place - a data farm. Really not a good thing to be
doing - you trade out up-to-date data for scalability. The more you
scale, the less up-to-date your datra becomes. And management becomes a
nightmare. FYI - there are multiple vendors doing similar things - MySQL
has a similar capability, Avokia also does something similar.
Mar 9 '06 #5
Mark Townsend wrote:
Ian wrote:
There is a company (xkoto) that has developed a software/hardware
solution that provides the equivalent of RAC for DB2 UDB.


Not the same thing as RAC at all - basically multiple copies of the same
database all over the place - a data farm. Really not a good thing to be
doing - you trade out up-to-date data for scalability. The more you
scale, the less up-to-date your datra becomes. And management becomes a
nightmare. FYI - there are multiple vendors doing similar things - MySQL
has a similar capability, Avokia also does something similar.

I agree it's not the same as RAC. It's like active/active HADR.
But I don't get your comment on "up-to-date".
How does relicating all updates to multiple nodes reduce up-to-date-ness.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Mar 9 '06 #6
Ian
Mark Townsend wrote:
Ian wrote:
There is a company (xkoto) that has developed a software/hardware
solution that provides the equivalent of RAC for DB2 UDB.
Not the same thing as RAC at all - basically multiple copies of the
same database all over the place - a data farm.


From a technical perspective, that's true.

But from an end-user perspective, it's the same: Adding servers
to the cluster provides high availability and additional capacity.
Really not a good thing to be doing - you trade out up-to-date data
for scalability. The more you scale, the less up-to-date your datra
becomes. And management becomes a nightmare.


Well, let's give them the benefit of the doubt and assume that their
solution works as advertised. xkoto says that their solution takes
care of ensuring that all copies of the database are up-to-date.
Mar 9 '06 #7

Serge Rielau wrote:
Typically DPF (Data partitioning feature) is used for warehousing.
But OLTP applications, when designed properly, can also take advantage
of it.


Serge,

I'm interested in this. Can you point us toward additional
information. It seems to me that the shared nothing architecture is
superior for data warehousing but not optimal for OLTP. It bugs me a
bit that for the OLTP UDB systems I've been involved with we usually
end up with an active-passive setup to allow for failover. We
essentially have an unused piece of hardware. With RAC at least you
get to use all the hardware even though there is an overhead cost.

Lew

Mar 9 '06 #8
Serge Rielau wrote:
But I don't get your comment on "up-to-date".
How does relicating all updates to multiple nodes reduce up-to-date-ness.


For two nodes (active/active HADR) it's not in issue. For 20 it becomes
problematic. For 200 nodes, on a reasonably busy system, latency of
replication becomes an issue.
Mar 9 '06 #9
se*****@yahoo.com wrote:
Serge Rielau wrote:
Typically DPF (Data partitioning feature) is used for warehousing.
But OLTP applications, when designed properly, can also take advantage
of it.


Serge,

I'm interested in this. Can you point us toward additional
information. It seems to me that the shared nothing architecture is
superior for data warehousing but not optimal for OLTP. It bugs me a
bit that for the OLTP UDB systems I've been involved with we usually
end up with an active-passive setup to allow for failover. We
essentially have an unused piece of hardware. With RAC at least you
get to use all the hardware even though there is an overhead cost.

Lew,

This depends on your frame of mind.
Note that there doesn't have to be a 1-1 mapping between database and
the physical machine.
While the standby HADR system is idle (well it is rolling forward) the
machine doesn't have to.
If you have two databases for example you can use them to mutually fail
over.
Also the standby machine can be your test and development environment.
If production fails over you shoot development down if necessary.
Keep in mind that a good test environment should as much as possible
mimic the production system.
Even if you don't use the other machine at all you have to consider
total management cost of an active active clustering.
HADR is certified with the vast majority of apps because it is
non-invasive. You know what you get. There is soemthing to be said for
simplicity.

The gist of DPF in OLTP is that typically the OLTP system does not
undergo as rigorous a design as a warehouse. DPF demands dicipline and
rewards with near linear scalability.

I just went to www.ibm.com and did two searches: HADR; and DB2 BCU
Both yield quite a bit of information.
(BCU stands for balanced configuration unit.. a standard way of
designing DPF systems)

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Mar 10 '06 #10
Hi Serge,

The prime idea is to have a failover but at the same we do not want the
secondary node sitting in the corner doing nothing instead we want to
utilise it to load balance.

"One line business requirement is to attack clustering at the
application level i.e layer sever of OSI model from the network
perspective."

I look forward to your response.

thanks & regards,

Mar 14 '06 #11
DeeBee2 wrote:
Hi Serge,

The prime idea is to have a failover but at the same we do not want the
secondary node sitting in the corner doing nothing instead we want to
utilise it to load balance.

"One line business requirement is to attack clustering at the
application level i.e layer sever of OSI model from the network
perspective."

I take offense to the "do nothing" part. Unless you have no test and
development, nothing else that's not required to be HA then do-nothing
is your choice, not DB2's fault.
Anyway in a three-tier environment work load balancing is often doen
through websphere AFAIK.

Cheers
Serge

PS: Your business requirement should be to look ate the price tag of
the system and to get the system that gets the job done. Business
requirements should start with the business, not with technology. Just
my 2 cents Canadian

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Mar 14 '06 #12
Ian
DeeBee2 wrote:
Hi Serge,

The prime idea is to have a failover but at the same we do not want the
secondary node sitting in the corner doing nothing instead we want to
utilise it to load balance.


Keep the total cost in mind, too. IBM is forgiving if you have a
true standby system - you only pay to license one CPU instead of all
CPUs in the server. This can be a significant cost savings, especially
if you have 4+ cpus in your server.

So, make sure you consider that cost savings -- my experience has been
that the person signing the check suddenly isn't so concerned about a
box "just sitting in the corner."

Mar 14 '06 #13

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

Similar topics

2
by: Neil Ginsberg | last post by:
I have a SQL 7 db with a union query (view), and I'm getting the error, "The query processor could not start the necessary thread resources for parallel query execution." This union query has been...
4
by: matthieu exbrayat | last post by:
Hi all, I am desperately looking for some technical information concerning the way DB2 UDB is integrating parallelism. - which data distribution strategies are available? - how much is data...
3
by: paytam | last post by:
Hi all, Is it possible to write parallel programming in C? I mean for example a simple program like I have a clock on a program that show me current time and and at the same time another job like...
126
by: ramyach | last post by:
Hi friends, I need to write a parallel code in 'C' on the server that is running SGI Irix 6.5. This server supports MIPS Pro C compiler. I don't have any idea of parallel C languages. I looked...
0
by: Belee | last post by:
I have a C# program which is running well. I made modification to the sql database I am using and sent it to the client's place. I put my database there and imported the client data from sql...
11
by: lovecreatesbeauty | last post by:
For example, line L1 and line L2 are two lines in two-dimensional space, the start-points and end-points can be described with following the `point_t' type. The start-points and end-points are:...
3
by: lambert101 | last post by:
All, Running environment is non-partition database for datawarehouse with DB2 V8.2 on AIX. We have a few logical grouping of tables that we would like to load in parallel to save time. Each...
4
by: Soren | last post by:
Hi, I want to control some motors using the parallel port.. however, my laptop does not have any parallel ports (very few do). What I do have is a USB->Parallel converter... I thought about...
3
by: John | last post by:
I have a program that needs to run on a regular basis that looks at a queue table in my database. If there are items in the queue database I need to grab the data from the database and pass it to...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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...

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.