473,402 Members | 2,050 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,402 software developers and data experts.

archiving log files for no reason

I have a reporting database running DB2 LUW 8.2 on a RedHat Linux. It is
configured to archive log files automatically. I notice that although no
activities on the database, it keeps archive the log files frequently. Each
archived file has the same size, which is about 12288 bytes. The reporting db
is a restore from a production db backup. Both have the same settings.
However, the production db has no such a behavior. I am wondering what ghost
triggers the archiving? Can any body shed some light on the issue I am facing?
Thanks

Oct 24 '07 #1
4 1651
On Oct 24, 11:35 am, "jchen1011" <u38534@uwewrote:
I have a reporting database running DB2 LUW 8.2 on a RedHat Linux. It is
configured to archive log files automatically. I notice that although no
activities on the database, it keeps archive the log files frequently. Each
archived file has the same size, which is about 12288 bytes. The reporting db
is a restore from a production db backup. Both have the same settings.
However, the production db has no such a behavior. I am wondering what ghost
triggers the archiving? Can any body shed some light on the issue I am facing?

Thanks
That size is all about head of the log, everytime the database is
deactivated, log archive will be triggered automatically.

Oct 24 '07 #2
Thank for your response.
Based on what you said, does it mean that there is a database activating
activity, or some usage of the database?

sh*******@gmail.com wrote:
>I have a reporting database running DB2 LUW 8.2 on a RedHat Linux. It is
configured to archive log files automatically. I notice that although no
[quoted text clipped - 5 lines]
>>
Thanks

That size is all about head of the log, everytime the database is
deactivated, log archive will be triggered automatically.
--
Message posted via http://www.dbmonster.com

Oct 24 '07 #3
Ian
jchen1011 via DBMonster.com wrote:
Thank for your response.
Based on what you said, does it mean that there is a database activating
activity, or some usage of the database?
By default, the first connection to a database activates it, and the
database will deactivate after the last application disconnects.
If you want to avoid this, you can activate the database explicity,
using the 'activate database' command.

This will stop the behavior that you're seeing.
Oct 25 '07 #4
Yes, using those commands has solved my problem.
Many Thanks.

Ian wrote:
>Thank for your response.
Based on what you said, does it mean that there is a database activating
activity, or some usage of the database?

By default, the first connection to a database activates it, and the
database will deactivate after the last application disconnects.
If you want to avoid this, you can activate the database explicity,
using the 'activate database' command.

This will stop the behavior that you're seeing.
--
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums....m-db2/200710/1

Oct 25 '07 #5

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

Similar topics

1
by: helpraptor | last post by:
I know some HTML. I have some knowledge of ASP & JavaScript. I'm willing to learn CGI, PHP, etc. if that will solve my prob. I need to put a bunch of plots on my Website and retrieve them by the...
6
by: Peter | last post by:
Hello, After restoring my database I have some problems with diag.log who becomes very large. The "logretain" and "userexit" are set to "recovery" and "on" respectively. Any suggestions are...
5
by: SunSmile | last post by:
Hi, I am logging my exceptions to a word document(*.doc). After the size of word document is 5KB. I am archiving the word document to *.doc.1 Here when I am archiving the word document to...
4
by: Paul H | last post by:
Could some one give me some pointers on basic archiving techniques? I have developed several databases but never been faced with this issue. Here is the basic scenario.. Suppose I have the...
2
by: Knokmans | last post by:
Hi, first, this concerns db2 v8 and v9 on AIX and Linux/intel Until now we used a "user exit" when we want to archive logfiles. We changed the user exit executable a bit so we receive an email...
3
bvdet
by: bvdet | last post by:
Following is an example that may provide a solution to you: """ Function makeArchive is a wrapper for the Python class zipfile.ZipFile 'fileList' is a list of file names - full path each name...
6
by: Salad | last post by:
I'm going to implement an archival database for my app. I have Table1 and Table2. Table2 is a duplicate structure of Table1. I appended records with "ID between 1 and 100", then "ID between 300...
4
by: cold1 | last post by:
From the Coldfusion 8 documentation, the process of archiving a log file seems pretty straightforward, but I can’t find the archived log files. I am running Coldfusion 8 under Apache HTTP server. ...
4
by: eliane | last post by:
For some reason, DB2 is taking a long time to start archiving the logs. Pls, do you know what could be causing it? I see the following msgs on db2diag.log 2008-09-04-00.36.24.414103+000...
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?
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.