Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

where do the logical logs reside?

Status
Not open for further replies.

argoo

MIS
Nov 20, 2006
4
US
How do you determine the dbspace that the logical logs reside in?

Thanks,
 
Code:
select a.number, a.size, c.name
from syslogfil a, syschunks b, sysdbspaces c
where a.chunk=b.chknum and b.dbsnum=c.dbsnum;

should do the trick
 
Unfortunately, the chunk field does not exist in syslogfil. I am using informix v9.30.HC2.
 
we have 9.40 here, so i cannot look on a running 9.30 system

have a look at the columns of your syslogfil, maybe you can guess a link to the chunks/dbspaces

Maybe this is of help too: if you do not explicitly move the logs somewhere else, they go into the root dbspace.
 
I am assuming the logs are not in the rootdbs. There doesn't seem to be a relationship between the syslogfil and syschunks tables. Onstat reports an address that may be used to relate chunks to logical logs. However, I am not 100% sure.
 
ok, then try the onmonitor-tool

The logs-status can be found at :

status / logs

at least in my env there is a column "dbspace" for each log. you can scroll the list with the cursor.
 
Don't know why I didn't see it before?!? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top