Hi folks
This is a completely non-critical question, of no consequences to my current client. But the curiosity is just nagging at me!
Consider the following query on sysmaster:systabnames:
select hex(partnum) partition,
dbsname[1,18], owner[1,18], tabname[1,18]
from systabnames
order by 1
The first few lines are:
partition dbsname owner tabname
0x00100001 rootdbs informix TBLSpace
0x00100002 sysmaster informix sysdatabases
0x00100003 system informix syslicenseinfo
0x00100004 sysmaster informix systables
0x00100005 sysmaster informix syscolumns
0x00100006 sysmaster informix sysindices
0x00100007 sysmaster informix systabauth
So the lowest partition number in the server is 0x100001. I get the same lowest partnum if I select directly from systabinfo or a similar query on sysptprof, supposedly the SMI equivalent of onstat -g ppf:
select hex(partnum) partition, dbsname[1,18], tabname[1,18] from sysptprof order by 1
Now let's look at partition profiles as shown in onstat -g ppf:
onstat -g ppf | tail -n +4|
Partition profiles
partnum lkrqs lkwts dlks touts isrd iswrt isrwt isdel bfrd bfwrt seqsc rhitratio
0x1 0 0 0 0 0 0 0 0 0 0 0 0
0x2 0 0 0 0 0 0 0 0 0 0 0 0
0x3 0 0 0 0 0 0 0 0 0 0 0 0
0x4 0 0 0 0 0 0 0 0 0 0 0 0
0x5 0 0 0 0 0 0 0 0 0 0 0 0
0x6 0 0 0 0 32489 0 0 0 0 0 0 0
0x7 0 0 0 0 0 0 0 0 0 0 0 0
0x8 0 0 0 0 0 0 0 0 0 0 0 0
0xa 0 0 0 0 4421206 0 0 0 28809459 0 0 100
0xb 0 0 0 0 0 0 0 0 0 0 0 0
...
0x401 0 0 0 0 0 0 0 0 0 0 0 0
0x402 0 0 0 0 0 155 0 0 0 0 0 0
0x403 0 0 0 0 67557 0 0 0 0 0 0 0
0x404 0 0 0 0 0 0 0 0 0 0 0 0
0x100001 0 0 0 0 0 0 0 0 2445398 0 0 100
0x100002 4216078 0 0 0 1250981 0 0 0 5020867 0 3130 100
0x100003 0 0 0 0 0 0 0 0 16 0 0 100
0x100004 4651508 0 0 0 2512432 0 0 0 5862436 0 5 100
0x100005 1472 0 0 0 674 0 0 0 1690 0 0 100
0x100006 33 0 0 0 15 0 0 0 111 0 0 100
0x100007 259 0 0 0 149 0 0 0 405 0 0 100
Y'know, our code-formatter does an AWFUL job maintaining spacing :-(
In any case, you can see partitions listed with VERY low values, 0x1 through 0x404; these are listed before the very first actual partition, the TBLspace TBLspace's own entry within itself.
So what *are* those low partition numbers?
It has been said that curiosity has been implicated in the demise of the feline. I'll risk it fro now. :-)
Ideas, anyone?
------------------------------
Jacob Salomon
---
Nobody goes there anymore, it's too crowded. --Attr: Yogi Berra
------------------------------
#Informix