If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2top: LogUsed shows 100%

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-14-09, 08:22
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
db2top: LogUsed shows 100%

Hi,
using db2 v9.5 fp2 on Linux. I run db2top command to see what happens on database.

I have entered d to get database information. Output shows that there LogUsed is 100% - if I understand correctly database logs are 100% full (please see attached file).

I checked db cfg info for this database associating logs are (db2 get db cfg for my_database):
Code:
 Log buffer size (4KB)              (LOGBUFSZ) = 124
 Log file size (4KB)                  (LOGFILSIZ) = 1024
 Number of primary log files      (LOGPRIMARY) = 10
 Number of secondary log files  (LOGSECOND) = -1
 First log archive method         (LOGARCHMETH1) = DISK:/db2/on_line_logs/
Then...
Attached Thumbnails
db2top: LogUsed shows 100%-database.png  

Last edited by grofaty; 09-14-09 at 08:27.
Reply With Quote
  #2 (permalink)  
Old 09-14-09, 08:25
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
... then I have executed B command to get Bottlenecks (please see attached picture). I see there is "Log Used" 84%, 9.34K consumed by M040.53961 application.

What does this 84% mean? And what does 9.34K means? Both info should be related to application M040.53961, right?

I know there is: LOGFILSIZ * LOGPRIMARY = 1024 * 10 = 10240 KB ~ 10 MB.

Now what does 84% means?
Regards,
Grofaty
Attached Thumbnails
db2top: LogUsed shows 100%-bottlenecks.png  

Last edited by grofaty; 09-14-09 at 08:30.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On