473,508 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Numerous Very Small Log Files

Hello,

On a v81 UDB AIX system, LOGFILSZ is set to 4000 (4KB pages) for a
database. LOGPRIMARY and LOGSECONDARY are set to reasonable values.
However, the log files, instead of being 16MB in size, are about
16KB or 17KB in size.

Thus, there are numerous log sizes, the log directory is unresponsive,
etc..

What would cause this type of behaviour? Could it be a SQL
statement, continuously executed by mistake, causing the logs
to switch? It seems to me that the database manager and database
configuration are fine.


Thanks.
Nov 12 '05 #1
3 1702
Ian
David Franit wrote:
Hello,

On a v81 UDB AIX system, LOGFILSZ is set to 4000 (4KB pages) for a
database. LOGPRIMARY and LOGSECONDARY are set to reasonable values.
However, the log files, instead of being 16MB in size, are about
16KB or 17KB in size.

Thus, there are numerous log sizes, the log directory is unresponsive,
etc..

What would cause this type of behaviour? Could it be a SQL
statement, continuously executed by mistake, causing the logs
to switch? It seems to me that the database manager and database
configuration are fine.


When the database is deactivated, it closes the current log file.
Activating the database opens a new log file.

Unless you have issued the "activate database" command, then the
first connection implicitly activates the database, and the last
connection that disconnects will implicitly deactivate it.


-----= 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 #2
Ian <ia*****@mobileaudio.com> wrote in message news:<41********@corp.newsgroups.com>...
David Franit wrote:
Hello,

On a v81 UDB AIX system, LOGFILSZ is set to 4000 (4KB pages) for a
database. LOGPRIMARY and LOGSECONDARY are set to reasonable values.
However, the log files, instead of being 16MB in size, are about
16KB or 17KB in size.

Thus, there are numerous log sizes, the log directory is unresponsive,
etc..

What would cause this type of behaviour? Could it be a SQL
statement, continuously executed by mistake, causing the logs
to switch? It seems to me that the database manager and database
configuration are fine.
When the database is deactivated, it closes the current log file.
Activating the database opens a new log file.

Unless you have issued the "activate database" command, then the
first connection implicitly activates the database, and the last
connection that disconnects will implicitly deactivate it.


Hi Ian,

Thanks for the response. Can I issue the 'Activate Database' command
dynamically at any time, or should I do it, say, after the database
starts, but before users log on?

You are likely correct, as there are many users connecting to the
database. Thus, perhaps the issue is that after 'db2start' is invoked,
the databases are not started or activated, and that they are
constantly activated and deactivated as people connect.
Thanks



-----= 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 #3
Ian
David Franit wrote:
Ian <ia*****@mobileaudio.com> wrote in message news:<41********@corp.newsgroups.com>...
David Franit wrote:

Hello,

On a v81 UDB AIX system, LOGFILSZ is set to 4000 (4KB pages) for a
database. LOGPRIMARY and LOGSECONDARY are set to reasonable values.
However, the log files, instead of being 16MB in size, are about
16KB or 17KB in size.

Thus, there are numerous log sizes, the log directory is unresponsive,
etc..

What would cause this type of behaviour? Could it be a SQL
statement, continuously executed by mistake, causing the logs
to switch? It seems to me that the database manager and database
configuration are fine.


When the database is deactivated, it closes the current log file.
Activating the database opens a new log file.

Unless you have issued the "activate database" command, then the
first connection implicitly activates the database, and the last
connection that disconnects will implicitly deactivate it.

Hi Ian,

Thanks for the response. Can I issue the 'Activate Database' command
dynamically at any time, or should I do it, say, after the database
starts, but before users log on?


You can issue the activate database command at any time, whether users
are connected or not (you will get a warning if there are already users
on the system).

Also note that to do an offline backup you must deactivate the database.

-----= 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 #4

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

Similar topics

2
3448
by: Dave Brueck | last post by:
Below is some information I collected from a *small* project in which I wrote a Python version of a Java application. I share this info only as a data point (rather than trying to say this data...
4
2503
by: Dag Sunde | last post by:
Just wondering if anyone have looked into this? How to split up ones JavaScript library? A lot of very specific (and small) .js files, or a few larger files. I'm thinking about load-time...
3
6970
by: G rumpy O ld D uffer | last post by:
This is probably a 'Low-Level' question to all the ACCESS experts but I've only been using ACCESS for a couple of weeks. I've been given 30+ (and counting) separate 'Weekly' Databases which all...
1
6237
by: Matthew Hixson | last post by:
I am currently working on a Java web application in which we are making use of the JDBC driver for Postgres 7.4.1. Part of our application allows the administrators to manage a large number of...
2
13816
by: ffimbel | last post by:
Hi, I would like to find out the fastest way to concatenate large (200 or 300MB) and numerous (500 - 700) files (Postscript files) into a single one (which can ends up being several GigaB)...
0
1342
by: Nitin123456789 | last post by:
hi I am naive user to Vb 6.0. I have 1 small project to do. There are 4 folders in which there are 500 files in first folder and other three folders may or may not contain 500 files So aim...
1
1373
by: mikeburgesss5355 | last post by:
i wish to use a "button" on a in access switchboard to edit numerous notepad txt files..these are hql files(health query language files used in healthcare gp systems). (normally about 20 notepad...
16
3323
by: scholz.lothar | last post by:
I want to add some extension features to my program and this would require that i bundle a small c compiler with my program. On Unix it seems that tiny-c can do this, but i don't know about windows.
23
6667
by: arnuld | last post by:
My friend sent me the prototype of a game written in C++ and asked for advice: IDEA: Game will ask the user to thin of a number. User will press a keystroke after he has thought of a number....
0
7225
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
7123
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...
1
7046
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...
0
7498
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...
1
5053
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...
0
3194
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1557
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.