473,660 Members | 2,475 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 1713
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*****@mobile audio.com> wrote in message news:<41******* *@corp.newsgrou ps.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*****@mobile audio.com> wrote in message news:<41******* *@corp.newsgrou ps.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
configuratio n 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
3460
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 "proves" something) to consider the next time the "Python makes developers more productive" thread starts up again. Background ========== An employee who left our company had written a log processor we use to read records from text files (1...
4
2509
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 here... I have a gut-feeling that it will be better to use (a lot of ) smaller (very specific) files, giving you
3
6993
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 have a Table, in exactly the same Field format, in each of these 'Weekly' DataBases. I want to set-up a new 'Master' Database, so that I can write one Query to search all the 'Weekly' Databases and produce one new Table in the 'Master' Database...
1
6259
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 small images, most of them not exceeding 5KB. There is about a gigabyte of these small files. We're currently storing the files on disk and the other information about the file in the database (historical reasons that I won't complain about here)....
2
13846
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) using csharp within a windows form application. One of the requirement also is to make sure the output file is closed only when the concatenation is done so that the next application using the file (printer spool) does not assume it is finished...
0
1355
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 is to first count the total files in all folder and then it displays it. all the files that are missed in other three folders.means we have to compare files in first folder with files in other folders as well and then displays th total files missed...
1
1383
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 files,) that are in a given folder c:\mbc .I need to change automatically a section of text ...ie LOCAL(always this) to a variable number ie G123456 that appears in each of these text files. The format of these files must remain as simple unformatted...
16
3354
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
6688
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. Then program will ask him to do some little arithmetic and will finally ask for the result. It will then print what user has thought of. Here is what I finished with. Any advice is appreciated :)
0
8341
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8751
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7360
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2759
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 we have to send another system
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.