If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > database load balancing

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-27-04, 10:34
udbdb2 udbdb2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 121
database load balancing

Is there ann trick/nice way to do this ?
Here is the thngs:
2 UDB database on different box running instance.

Any connection from client may go to either one of the two.

also need to consider what if one box go down , can the second continue ? ??
transaction 'll b ein syn for first an second ?
sorry guys , need ideas ...

Thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 12-27-04, 10:57
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
Are talking about partitioning a database, That would create 1 instance and you can put it accross different servers?
__________________
David Quigley
Reply With Quote
  #3 (permalink)  
Old 12-27-04, 14:58
udbdb2 udbdb2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 121
load balancing

David,
thanks for quick response!
If it is a solution applicable can you explain how ?
we wanna consider all posible scenario..
Reply With Quote
  #4 (permalink)  
Old 12-27-04, 15:23
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
take over

partitioning a database means part of the table are residing on each box.
this to benefit of the power of both boxes or for really big databases.
There are scenarios - where if a partition goes down, another box can take over. See db2 documentation : backup-recovery - high availability that documents some scenarios...
Best Regards, Guy Przytula
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
  #5 (permalink)  
Old 12-28-04, 08:18
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Data Partitioning (DPF) is technique that splits tables across multiple partitions (on the same DB server or on different DB servers). It was designed to induce query parallelism on SQL statements on data warehouse systems that read large portions of the table wach time. It does not work as well on OLTP systems where only a few rows are accessed via an index.

Even though DB2 DPF can be made to provide some semblance of failover protection and high availability, there are other DB2 facilities such as HADR (which is new in version 8.2) which are more appropriate to OLTP systems and high availability.

However, none of these DB2 features provide a good solution for high availability and scalability in an OLTP environment, such as might be better provided by Oracle RAC. This is because with DPF, the overhead for DB2 figuring out which partition has the data is too high for most OLTP systems, and the HADR solution requires that the backup server be a passive standby system.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 12-28-04 at 08:33.
Reply With Quote
  #6 (permalink)  
Old 12-28-04, 13:14
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
DB2 version 8.2 on LUW has introduced HADR just like Oracle standby/dataguard.
The replication is anothe way of doing the same thing.
Also DB2 ver 8.2 also introduce client redirect, if one server is down,
It will redirect to another server.

Regards & thanks

Mujeeb
Reply With Quote
  #7 (permalink)  
Old 12-28-04, 15:35
udbdb2 udbdb2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 121
load balancing

Is partitioning anyway applies to these scenario ?

Any other way than HADR can achieve load balancing ?

anyone know or have done in past ? I couldn't find exact scenario where LB and FO is needed.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On