sgogan
asked on
DB2 9.7 BLOB Storage
I have a have table in db2 9.7 like
CREATE TABLE IMG_TBL (
IMG_SCAN_DTDATE NOT NULL,
SEQUENCE_NO INT (10, 0) NOT NULL,
IMG BLOB (524288) LOGGED NOT COMPACT,
IMG_TYPE VARCHAR (3),
SCAN_BY VARCHAR (10),
SCAN_TIME TIME
COMPRESS YES
IN LOBSTBS;
My image type is tiff, size 12K. But if I insert this row into the database, “.LB file” grows 250MB. I can’t understand why this happens, b/c if I extract the image from database the size is “12K”.
CREATE TABLE IMG_TBL (
IMG_SCAN_DTDATE NOT NULL,
SEQUENCE_NO INT (10, 0) NOT NULL,
IMG BLOB (524288) LOGGED NOT COMPACT,
IMG_TYPE VARCHAR (3),
SCAN_BY VARCHAR (10),
SCAN_TIME TIME
COMPRESS YES
IN LOBSTBS;
My image type is tiff, size 12K. But if I insert this row into the database, “.LB file” grows 250MB. I can’t understand why this happens, b/c if I extract the image from database the size is “12K”.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.