Chunk Size Questions
Posted in 2003
Geezer From The Freezer asked what units the size and free columns in the onstat chunk listing use. Neil Truby replied they are pages, while the utilities that create chunks take sizes in KB. Fernando Nunes added that the engine reports in pages, normally 2KB on Unix. Solved.
Topics: Storage & Space Management
How big are the actual sizes supposed to be? Doesn't say if it's bytes, KBytes or anything Chunks address chk/dbs offset size free bpages flags pathname 17a2a790 2 1 0 1024000 967901 PO- /telelogic/DATA/DATA2 17a2b830 2 1 0 1024000 0 MO- /informix/rootdbs2.mir 17a2b3d0 16 2 0 250000 3 PO- /informix/disk2-a-5 17a53710 16 2 0 250000 0 MO- /informix/disk2-b-5
You need to go on a course, or RTFM a bit more, don't you?! The quantities given are in pages. Confusingly, the utilities you use to create the chunks require you specify the sizes in kbytes. -- Neil Truby t:01932 724027 Director m:07798 811708 Ardenta Limited e:neil.truby@ardenta.com "Geezer From The Freezer" <Geezer@Freezer.com> wrote in message news:3F3B930F.8D70E12A@Freezer.com... > > How big are the actual sizes supposed to be? > Doesn't say if it's bytes, KBytes or anything > > > Chunks > address chk/dbs offset size free bpages flags pathname > 17a2a790 2 1 0 1024000 967901 PO- /telelogic/DATA/DATA2 > 17a2b830 2 1 0 1024000 0 MO- /informix/rootdbs2.mir > 17a2b3d0 16 2 0 250000 3 PO- /informix/disk2-a-5 > 17a53710 16 2 0 250000 0 MO- /informix/disk2-b-5
Neil Truby wrote: > > You need to go on a course, or RTFM a bit more, don't you?! > too right!
Geezer From The Freezer wrote: > How big are the actual sizes supposed to be? > Doesn't say if it's bytes, KBytes or anything > > > Chunks > address chk/dbs offset size free bpages flags pathname > 17a2a790 2 1 0 1024000 967901 PO- /telelogic/DATA/DATA2 > 17a2b830 2 1 0 1024000 0 MO- /informix/rootdbs2.mir > 17a2b3d0 16 2 0 250000 3 PO- /informix/disk2-a-5 > 17a53710 16 2 0 250000 0 MO- /informix/disk2-b-5 It's the "law of the least effort": - You talk to the server in the units you are more fluent: KBytes - The engine talks to you in the units it is mor fluent: Pages (normally in Unix 2KB per pages) Regards