Sayed:
Yes. If you did not create a PLOG type dbspace specifically for it (a v14.10 feature, so that's a no), then it MAY be in the rootdbs or somewhere else. If you run onstat -l and look at the address of the physical log in the top section of the report, you will see the dbspace number:
Physical Logging
Buffer bufused bufsize numpages numwrits pages/io
P-2 0 2048 25840 351 73.62
phybegin physize phypos phyused %used
2:53 32715 7588 0 0.00
Logical Logging
See the "phybegin" entry. That is showing that the physical log starts on page 53 or dbspace #2 on my system.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com------------------------------
Original Message:
Sent: Wed November 06, 2024 05:36 AM
From: Syed Hussaini
Subject: logical, physical & temp chunks location
Thanks Art & Khaled. After your reply I checked onstat -d & ran through both sys tables and can figure out rootdbs and logical log dbspaces/files. But still dont know where physical log dbspace/file reside. Is there a way to figure out this. Thanks again.
IBM Informix Dynamic Server Version 12.10.FC10 -- On-Line -- Up 22 days 04:03:54 -- 1648880 Kbytes
Dbspaces
address number flags fchunk nchunks pgsize flags owner name
80619028 1 0x40001 1 2 4096 N BA informix rootdbs
818db260 2 0x40001 2 1 4096 N BA informix tmslogdb
818db4a0 3 0x40001 3 2 4096 N BA informix tmtabdb1
818db6e0 4 0x40001 4 1 4096 N BA informix tmtabdb2
818db920 5 0x40001 5 6 4096 N BA informix tmtabdb3
818dbb60 6 0x40001 6 5 4096 N BA informix tmtabdb4
818dbda0 7 0x40001 7 4 4096 N BA informix tmtabdb5
818de028 8 0x40001 8 1 4096 N BA informix tmtabdb6
------------------------------
Syed Hussaini
------------------------------
Original Message:
Sent: Tue November 05, 2024 02:02 PM
From: Art Kagel
Subject: logical, physical & temp chunks location
Syed:
You can use:
onstat -d
That will show you your dbspaces as well as the chunk paths. Each chunk entry in the report will include the dbsnum (dbspace number) to which it belongs as well and the chunk number of the next chunk in the dbspace if any. The dbspace report line will contain the number of chunks belonging to each dbspace as well as the chunk number of the first chunk in that dbspace's list.
If you want to use queries against the sysmaster database, look at the sysdbspaces table and the syschunks table in that database. They are linked by dbsnum.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com