Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
ZhiWei Cui — source: IBM Community (ConnectedCommunity.org) Informix forum
I create a sbspace and create a table with blob column。
blob column in sbspace。
insert many many rows.
dbaccess dbname -
> truncate table tabname;
$ onstat -dI find sbspace's remain unchanged。
how can I free sbspace ?
------------------------------
David Cui
Technical support
gbase.cn
------------------------------
#Informix
↪ replying to ZhiWei Cui
Andreas Legner — source: IBM Community (ConnectedCommunity.org) Informix forum
There are two lines for each sbspace chunk in onstat -d:
User Data (sblobs)
Metadata (sblob headers) - you can think of those as regular tables (partitions), only not directly accessible
First one would reflect your truncate immediately, showing all your sblobs' space being released ('free' going up).
Second one's used space (size - free) will never shrink, that's just how partitions work. Yet that doesn't mean that the space previously occupied by your sblobs's headers hadn't been freed and wouldn't be available for and reused by any new sblobs's headers.
Quite typically Metadata consumption is only a fraction of the space reserved for or occupied by User Data anyway.
HTH
------------------------------
Andreas Legner
------------------------------
↪ replying to Andreas Legner
ZhiWei Cui — source: IBM Community (ConnectedCommunity.org) Informix forum
Thanks
Andreas
------------------------------
ZhiWei Cui
GBASE
ShiJiaZhuang
------------------------------
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.