Informix 12.10.FC14
Solaris 10 1/13
I have a database with an sbspace, and the output from 'oncheck' for that sbspace ( 'oncheck -pe blob_sbs | grep "SBLOBSpace LO" ') is as follows:
informix@ifmx-test-jnu>oncheck -pe blob_sbs|grep "SBLOBSpace LO"
SBLOBSpace LO [3,3,69884] 1550695 31
SBLOBSpace LO [3,3,69884] 1559251 31
SBLOBSpace LO [3,3,69884] 1566494 31
SBLOBSpace LO [3,3,69884] 1573796 31
SBLOBSpace LO [3,3,69884] 1581277 31
SBLOBSpace LO [3,3,69884] 1589343 31
SBLOBSpace LO [3,3,69884] 1597364 31
SBLOBSpace LO [3,3,69884] 1605289 31
SBLOBSpace LO [3,3,69884] 1612746 31
SBLOBSpace LO [3,3,69884] 1620146 31
SBLOBSpace LO [3,3,69884] 1627914 31
SBLOBSpace LO [3,3,69884] 1635603 31
SBLOBSpace LO [3,3,69884] 1642798 31
SBLOBSpace LO [3,3,69884] 1650055 31
SBLOBSpace LO [3,3,69884] 1657111 31
SBLOBSpace LO [3,3,69884] 1664584 31
SBLOBSpace LO [3,3,69884] 1672056 31
SBLOBSpace LO [3,3,69884] 1680081 31
SBLOBSpace LO [3,3,69884] 1687679 31
SBLOBSpace LO [3,3,69884] 1694817 31
SBLOBSpace LO [3,3,69884] 1702291 31
SBLOBSpace LO [3,3,69884] 1709738 31
SBLOBSpace LO [3,3,69884] 1717421 31
SBLOBSpace LO [3,3,69884] 1724716 31
SBLOBSpace LO [3,3,69884] 1731775 31
SBLOBSpace LO [3,3,69884] 1739022 31
SBLOBSpace LO [3,3,69884] 1746005 31
SBLOBSpace LO [3,3,69884] 1753479 31
SBLOBSpace LO [3,3,69884] 1760724 31
SBLOBSpace LO [3,3,69884] 1768147 31
SBLOBSpace LO [3,3,69884] 1775158 31
SBLOBSpace LO [3,3,69884] 1782797 31
SBLOBSpace LO [3,3,69884] 1790459 31
SBLOBSpace LO [3,3,69884] 1798073 31
SBLOBSpace LO [3,3,69884] 1805597 31
SBLOBSpace LO [3,3,69884] 1812984 31
SBLOBSpace LO [3,3,69884] 1819790 31
SBLOBSpace LO [3,3,69884] 1825907 31
SBLOBSpace LO [3,3,69884] 1832927 31
SBLOBSpace LO [3,3,69884] 1840290 31
SBLOBSpace LO [3,3,69884] 1846872 31
SBLOBSpace LO [3,3,69884] 1853715 31
SBLOBSpace LO [3,3,69884] 1860985 31
SBLOBSpace LO [3,3,69884] 1868232 31
SBLOBSpace LO [3,3,69884] 1875641 31
SBLOBSpace LO [3,3,69884] 1889883 31
SBLOBSpace LO [3,3,69884] 1896892 31
SBLOBSpace LO [3,3,69884] 1903439 31
SBLOBSpace LO [3,3,69884] 1909709 31
SBLOBSpace LO [3,3,69884] 1913236 3751
SBLOBSpace LO [3,3,69884] 1917052 4216
informix@ifmx-test-jnu>
I interpret this to mean that there is only one object [3, 3, 69884] in the sbspace.
I used Milan's SQL, as presented in #8 of this thread:
https://community.ibm.com/community/user/datamanagement/discussion/is-there-a-way-to-check-the-sbspace-usage-by-table
to determine which tables, in which databases, referenced this object. The result showed me that there is no table in any database in the entire instance that references this object.
May I safely use 'onspaces -f' to drop this sbspace? I'm thinking that if zero tables refer to this object, AND there are no other objects in the sbspace, it must be OK to force a drop. I'm thinking that, somehow, the reference count for this object became "out of sync".
Am I understanding 'oncheck' output properly?
In paranoia,
DG
------------------------------
David Grove
------------------------------