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

transaction logs mirroring

Hi All

I was just wundering is there any way of mirroring our active logs
just in case of disk failures.wil db2 do it automatically for us maybe
through some inititalisation parameter.

regards
Hrishy
Nov 12 '05 #1
11 2009
"hrishy" <hr*****@yahoo.co.uk> wrote in message
news:4e**************************@posting.google.c om...
Hi All

I was just wundering is there any way of mirroring our active logs
just in case of disk failures.wil db2 do it automatically for us maybe
through some inititalisation parameter.

regards
Hrishy


What is your DB2 version and operating system?
Nov 12 '05 #2
"Mark A" <ma@switchboard.net> wrote in message news:<8t*****************@news.uswest.net>...
"hrishy" <hr*****@yahoo.co.uk> wrote in message
news:4e**************************@posting.google.c om...
Hi All

I was just wundering is there any way of mirroring our active logs
just in case of disk failures.wil db2 do it automatically for us maybe
through some inititalisation parameter.

regards
Hrishy


What is your DB2 version and operating system?

Its interesting?
If my OpSys= AIX 5.2 ML01 (32 bit) and DB2/UDB 7.2EE FP10?

Thanks,
VKG
Nov 12 '05 #3
> >
What is your DB2 version and operating system?

Its interesting?
If my OpSys= AIX 5.2 ML01 (32 bit) and DB2/UDB 7.2EE FP10?

Thanks,
VKG


The ability to do mirror logging depends on the release level, but I don't
remember when it was introduced. Maybe someone else can tell us.
Nov 12 '05 #4
I believe 7.2, with DB2 appending a "2" onto the end of the logpath. V8
allows one to customize, if I'm not mistaken.

Larry Edelstein

Mark A wrote:
What is your DB2 version and operating system?

Its interesting?
If my OpSys= AIX 5.2 ML01 (32 bit) and DB2/UDB 7.2EE FP10?

Thanks,
VKG

The ability to do mirror logging depends on the release level, but I don't
remember when it was introduced. Maybe someone else can tell us.


Nov 12 '05 #5
Mark A wrote:
>
> What is your DB2 version and operating system?

Its interesting?
If my OpSys= AIX 5.2 ML01 (32 bit) and DB2/UDB 7.2EE FP10?

Thanks,
VKG


The ability to do mirror logging depends on the release level, but I don't
remember when it was introduced. Maybe someone else can tell us.


AFAIK it was introduced with DB2 7.2 (i.e. 7.1, Fixpak 3).
In 7.2 log mirroring can be configured thru the registry
variable DB2_NEWLOGPATH2. However it was some kind of inflexible
because the mirror path could not be set explicitly, the character
'2' was appended to the the value of LOGPATH to build the
mirror logpath name.

In 8.1x DB2_NEWLOGPATH2 has been replaced by the MIRRORLOGPATH
db config parameter, which could be set to a full pathname.

Best regards

Eric
--
IT-Consulting Herber
***********************************************
Download the IFMX Database-Monitor for free at:
http://www.herber-consulting.de/BusyBee
***********************************************
Nov 12 '05 #6
>The ability to do mirror logging depends on the release level, but I don't
remember when it was introduced. Maybe someone else can tell us.


I posted a similar thread after my shop experienced a data loss. The feedback I
got then was V7 FP11 or as advised by our own certified guru V8.

I was taken aback by how primitive UDB was in this respect. After all, it is a
fairly fundamental requirement. Oracle has provided dual logging since I first
got my hands on it back in 1998 (and probably before then).



Nov 12 '05 #7
"MCPHEAL" <mc*****@aol.com> wrote in message
news:20***************************@mb-m07.aol.com...
The ability to do mirror logging depends on the release level, but I don'tremember when it was introduced. Maybe someone else can tell us.
I posted a similar thread after my shop experienced a data loss. The

feedback I got then was V7 FP11 or as advised by our own certified guru V8.

I was taken aback by how primitive UDB was in this respect. After all, it is a fairly fundamental requirement. Oracle has provided dual logging since I first got my hands on it back in 1998 (and probably before then).

Dual logging has been on DB2 for OS/390 from the beginning in the mid
1980's. However in defense of DB2 for Linux, UNIX, and Windows, disk
mirroring (at the disk controller level or at the OS level) as well as
RAID-5, have been available for a long time, which basically provides a
similar function.
Nov 12 '05 #8
Ian
Mark A wrote:
However in defense of DB2 for Linux, UNIX, and Windows, disk
mirroring (at the disk controller level or at the OS level) as well as
RAID-5, have been available for a long time, which basically provides a
similar function.


Not really. Hardware mirroring protects against a disk failing; dual
logging helps can do this as well, but also protects against user error
(someone accidentally removing the log files).


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #9
> > However in defense of DB2 for Linux, UNIX, and Windows, disk
mirroring (at the disk controller level or at the OS level) as well as
RAID-5, have been available for a long time, which basically provides a
similar function.


Not really. Hardware mirroring protects against a disk failing; dual
logging helps can do this as well, but also protects against user error
(someone accidentally removing the log files).

I said it was similar, not exactly the same. Really.
Nov 12 '05 #10
Log mirroring was introduced on DB2 for Windows/UNIX/Linux in 2001
(v7.1, Fixpak 3). DB2 has supported RAID since v1 (1993).

MCPHEAL wrote:
The ability to do mirror logging depends on the release level, but I don't
remember when it was introduced. Maybe someone else can tell us.

I posted a similar thread after my shop experienced a data loss. The feedback I
got then was V7 FP11 or as advised by our own certified guru V8.

I was taken aback by how primitive UDB was in this respect. After all, it is a
fairly fundamental requirement. Oracle has provided dual logging since I first
got my hands on it back in 1998 (and probably before then).




Nov 12 '05 #11
Hi All

Thanks for answering my question.I am on Db2 UDB8.0 though i am just
learning.I got curious as the certifications books i am reading never
talked aboiut mirroring the active logs.Thats what got me curious in
the first place.

regards
Hrishy

Ian <ia*****@mobileaudio.com> wrote in message news:<40**********@corp.newsgroups.com>...
Mark A wrote:
However in defense of DB2 for Linux, UNIX, and Windows, disk
mirroring (at the disk controller level or at the OS level) as well as
RAID-5, have been available for a long time, which basically provides a
similar function.


Not really. Hardware mirroring protects against a disk failing; dual
logging helps can do this as well, but also protects against user error
(someone accidentally removing the log files).


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Nov 12 '05 #12

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

Similar topics

7
by: enigma | last post by:
Just wondering if you could help me on this one. I'm not sure if my transaction logs are behaving oddly or what. I've successfuly managed to shrink my transaction logs from 7GB down to 1MB and now...
3
by: Thiko | last post by:
Hi I take one nightly full database backup at 02:00 and backup the transaction log to one backup set every 15mins. The commands to do this are as follows and are set up to run as database...
0
by: xo55ox | last post by:
Hi, I have been trying to set up an automated restore process from prod to backup server. First, I schedule the full database backup nightly, transfer the backup file and restore it to the...
0
by: tram | last post by:
Any one has setup the transaction log file (lDF) mirrored between two SANS or betweeen local disk and SAN? What are the performance impact doing this? Mirroring at same location (either at...
3
by: Andrew S. | last post by:
I recently performed an SQL server 2000 installation. Other than placing the program files on C: and data on D:, I saw no option to install transaction logs in an alternate location. What is...
2
by: francois1 | last post by:
I am running a website with a SQL Server database attached. My transaction logs are full and my hosting co. won't allocate more disk space for me. I need to delete my database transaction logs...
3
by: TG | last post by:
Coming from a (mostly) Oracle shop, I am unclear how SS transaction logs work as far as up to point of failure recovery goes. I have the few MSSQL databases I look after in full recovery mode,...
1
by: JA | last post by:
Hi, I know just about nothing about SQL Server. I am getting this error: The log file for database 'my_database' is full. Back up the transaction log for the database to free up some log space. ...
3
by: Laurence | last post by:
Hi folks, How to remove the transaction logs which are out of date in HADR environment? DB2 command PRUNE, it can only run on primary database but cannot run on standby database. Because the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.