473,394 Members | 1,773 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.

Expected Impact of Changing Logging Type

I have a production database that I need to change the logging type
from circular to archived so that I can do online backups. The
database is not particularly large, but is used by many people. What
impact from the users perspective can I expect? Is the only impact
behind the scenes in the db manager? Thanks in advance for any help.
Matt

Mar 16 '06 #1
6 1504
Matt wrote:
I have a production database that I need to change the logging type
from circular to archived so that I can do online backups. The
database is not particularly large, but is used by many people. What
impact from the users perspective can I expect? Is the only impact
behind the scenes in the db manager? Thanks in advance for any help.


There will be no impact no the user. DB2 has to manage the log files now
and as long as there is enough disk space (or a proper user exit archiving
the completed log files away), you don't have to worry.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Mar 16 '06 #2
Thanks for the quick response. I appreciate it very much. Matt

Mar 16 '06 #3
In article <dv**********@lc03.rz.uni-jena.de>, st****@de.ibm.com says...
Matt wrote:
I have a production database that I need to change the logging type
from circular to archived so that I can do online backups. The
database is not particularly large, but is used by many people. What
impact from the users perspective can I expect? Is the only impact
behind the scenes in the db manager? Thanks in advance for any help.


There will be no impact no the user. DB2 has to manage the log files now
and as long as there is enough disk space (or a proper user exit archiving
the completed log files away), you don't have to worry.


But after changing the logging type a full offline backup is needed,
which means no users are allowed to connect. So the right time for
changing the logging type is just before creating a full backup.
Mar 16 '06 #4
In general database logging affects performance of bulk data
modifications from SQL (INSERT, UPDATE, DELETE) because the default
behaviour is to log table data updates. However, if your database is
fairly small it may not be an issue. After you turned on the logging
you would need to monitor performance anyways to see whether
performance degrades.

-Eugene

Mar 16 '06 #5
Ian
Eugene F wrote:
In general database logging affects performance of bulk data
modifications from SQL (INSERT, UPDATE, DELETE) because the default
behaviour is to log table data updates. However, if your database is
fairly small it may not be an issue. After you turned on the logging
you would need to monitor performance anyways to see whether
performance degrades.


Yes, but this is irrelevant when comparing circular to archive logging.
DB2 always uses the transaction log for recovery. It's just a matter of
whether we want to keep the old log files or not.

Mar 16 '06 #6
Agreed... sorry for the confusion... :-(
-Eugene

Mar 16 '06 #7

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

Similar topics

0
by: Karuppasamy | last post by:
H I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net I installed everything as per the Instructions given in the 'Development Using the Logging Block' ...
3
by: Garvin, Michael [CAR:C28G:EXCH] | last post by:
Hi I'm working on some impact analysis stuff for C++. I was wondering if anyone has seen an example of a type (lets say type "A") change impacting the storage/layout another type (lets say type...
10
by: Steve Benson | last post by:
Our regular programmer moved on. I'm almost clueless in Javascript/ASP and got the job of adapting existing code. In the page below, everything works until I added the function checkIt() to...
4
by: John Baker | last post by:
Hi: I am having a problem making the impact a field property change in a table trickle through to a report. Between the table and the report are numerous queries and sums. I have changed the...
4
by: Pieter | last post by:
I synthetically create an overrun by copying more data than a buffer can hold: int buffer; int i = 0; for (i = 0; i < sizeof(buffer) / sizeof(buffer) + 1; i ++) { buffer = i; } In debug...
1
by: Bala Nagarajan | last post by:
Hello, I am building a web service application in which i will have to implement logging based on user id. My question is where do i store the user ids? Since the nature of this problem is so...
16
by: Steve Chapel | last post by:
When I load the page <https://bugzilla.mozilla.org/attachment.cgi?id=237739with Internet Explorer 7 RC 1, I get the error "Object Expected" at line 174. When I click on the button, I also get the...
0
by: rajesh.hanchate | last post by:
Please help me in resolving this issue. I am using EnterpriseLibrary 2.0 Exception and logging block for logging exceptions to event log. It works fine for sometime. After some time it stops...
1
by: JOJO123 | last post by:
I got here in search of an answer to this Javascrpt question. I upgraded jave on XP Ie 7, acrobat 5.1 and suddenly can't open any pdf files on web sites using IE. I see u guys all say, this is a...
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
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...
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
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
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.