Unix Technical Forum

Smart BLOBs

This is a discussion on Smart BLOBs within the Informix forums, part of the Database Server Software category; --> I have a feeling I already know (and hate) the answer to this question: In an sbspace, is it ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:04 PM
Thomas Girsch
 
Posts: n/a
Default Smart BLOBs

I have a feeling I already know (and hate) the answer to this question: In
an sbspace, is it ever possible to have more than one BLOB on the same page?

Our problem is that we have a wide disparity of sizes of the BLOBs in our
system. Many of them can be as small as 100 bytes, but others are as large
as 100KB or more. If all of those thousands of 100 byte records are taking
up a full page each, this could be problematic, insofar as there will be a
ton of wasted space.

Has anyone tackled this before?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 07:06 PM
Noel
 
Posts: n/a
Default Re: Smart BLOBs

Yes. Typically an app will have a variety of average blob sizes. For
example you may have a 100,000 jpg's averaging say 50k, a million scanned
document TIF images averaging say 25k, a million word documents average size
22k, and 2 million text blobs averages size 1-2k.

In such a case you would have 4 BLOB or SMARTBLOB spaces each with pages
sizes of say 52k, 27k, 24k, and 2/4k respectively. This way a 400 byte text
blob will not waste a whole 50k BLOB page.

Noel

"Thomas Girsch" <tgirsch@worldnet.att.net> wrote in message
news:Mr1Ma.30242$0v4.2230438@bgtnsc04-news.ops.worldnet.att.net...
> I have a feeling I already know (and hate) the answer to this question:

In
> an sbspace, is it ever possible to have more than one BLOB on the same

page?
>
> Our problem is that we have a wide disparity of sizes of the BLOBs in our
> system. Many of them can be as small as 100 bytes, but others are as

large
> as 100KB or more. If all of those thousands of 100 byte records are

taking
> up a full page each, this could be problematic, insofar as there will be a
> ton of wasted space.
>
> Has anyone tackled this before?
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:11 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com