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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I know in which dbspace log files are 1

Status
Not open for further replies.

pengzhang

Technical User
Oct 19, 2002
22
CA
I want to find out in an existing informix setup the location of logical log files. Can I use onstat or something else?

Thanks
 
Hi,

There are 3 ways:

1. onmonitor -> Status -> Logs
2. oncheck -pe ( If you have several logs output could be huge)
3. onstat -l and locate begin column. You have a hexdecimal number which poins to the logical log start address. The full address is like 0xCCCPPPPP. CCC stands for chunk number and PPPPP stands for offset with the chunk. We interested in chunk number only in this context. Onstat removes the preceding contents of this address and prints in form of CPPPPP. Relate the chunk number to the output of onstat -d and locate the chunk name and space name. IF C is 1 you can assume that it is root dbspace.

Further infomation:

Regards,
Shriyan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top