dbTalk Databases Forums  

db2lused process

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss db2lused process in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Troels Arvin
 
Posts: n/a

Default db2lused process - 03-03-2010 , 03:51 AM






Hello,

Setup: 9.7.1 (64 bit) running on x86_64 Red Hat Enterprise Linux 5.4.

Often, when I take look at the list of applications, I see a session with
application name "db2lused" in a state of "UOW Executing". Example:
http://troels.arvin.dk/db/db2/db2lused/db2lused.txt

Google is rather silent about db2lused. Only hit is at ftp://
public.dhe.ibm.com/ps/products/db2/info/vr97/pdf/en_US/
DB2PerfTuneTroubleshoot-db2d3e971.pdf which states:
db2lused, for updating object usage

The application doesn't seem to cause any harm (such as CPU or I/O
usage), but I find it strage that it's running so often and for so long.
Should I be worried? Is it an expected scenario?

--
Troels

Reply With Quote
  #2  
Old   
blazer462
 
Posts: n/a

Default Re: db2lused process - 03-05-2010 , 07:08 AM






This updates the last used status for tables and indexes. When a table/
indexe is used, the lastused column in the syscat.tables/
syscat.indexes is updated with the time when the table/index is used
for the last time. In that way, you can identify the indexes/tables
which are not used for long time and drop them to reclaim the space.


Check this out

http://publib.boulder.ibm.com/infoce.../c0056434.html

Reply With Quote
  #3  
Old   
Troels Arvin
 
Posts: n/a

Default Re: db2lused process - 03-06-2010 , 02:32 PM



Hello,

blazer462 wrote:
Quote:
This updates the last used status for tables and indexes.
Thanks; that makes sense. But it makes less sense that the db2lused
session seems to be running in Executing mode long after the user has
stopped performing activity in the database.

--
Troels

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.