473,399 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

BLOB Field Size Limit And Logging

We have a new CRM application that uses a DB2 7.2 database.

Our users noted that the CRM application would not allow them to attach and
store any documents over 2 meg in size. When asked, the vendor claims that
this behavior is a limit of the DB2 system. We asked the vendor how we might
get around this issue since most of our user's documents are over the 2 meg
limit. The vendor said that by removing logging from the blob fields the 2
meg limit on documents would go away.

Is this true?

We are now wondering, if logging is not being done on the blob fields, and
we have a problem where we need to do a restore and roll-forward, will the
data (documents) stored in the blob fields be lost?

Is this true?

Our users store data in MS Word format, PDF format, TIF format, Power Point
format and many other types typically associated with customers and the
marketing function.

Any insight into this situation would be greatly appreciated.

Thanks,

John
Nov 12 '05 #1
7 5093
"johnm" <jo***@matrixsg.com> wrote in message
news:11*************@corp.supernews.com...
We have a new CRM application that uses a DB2 7.2 database.

Our users noted that the CRM application would not allow them to attach and store any documents over 2 meg in size. When asked, the vendor claims that
this behavior is a limit of the DB2 system. We asked the vendor how we might get around this issue since most of our user's documents are over the 2 meg limit. The vendor said that by removing logging from the blob fields the 2
meg limit on documents would go away.

Is this true?

We are now wondering, if logging is not being done on the blob fields, and
we have a problem where we need to do a restore and roll-forward, will the
data (documents) stored in the blob fields be lost?

Is this true?

Our users store data in MS Word format, PDF format, TIF format, Power Point format and many other types typically associated with customers and the
marketing function.

Any insight into this situation would be greatly appreciated.

Thanks,

John

In DB2 LUW 8.2, logging of LOB columns is the default, but it can be
disabled for a particular column when the table is created. However, the
maximum size LOB than can be logged is 1 GB. I don't recall if the limit is
different for previous versions of DB2. If you have an previous version of
DB2 than is current, check the SQL manual for Create Table.

Keep in mind that such applications are usually written to work on multiple
databases, and there may a different restriction on a different database.
Nov 12 '05 #2
Mark A wrote:
In DB2 LUW 8.2, logging of LOB columns is the default, but it can be
disabled for a particular column when the table is created. However, the
maximum size LOB than can be logged is 1 GB. I don't recall if the limit
is different for previous versions of DB2. If you have an previous version
of DB2 than is current, check the SQL manual for Create Table.


In addition, LOBs can have a maximum size of 2GB in DB2 UDB.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #3
Thank you both for the most valuable information. It is very helpful to me
when talking to the CRM application vendor.

Is it true that if the logging is disabled for a particular LOB column, all
of the objects in that LOB will be lost should a backup need to be resotred
to recover the database?

Thanks,

John
"Knut Stolze" <st****@de.ibm.com> wrote in message
news:d3**********@fsuj29.rz.uni-jena.de...
Mark A wrote:
In DB2 LUW 8.2, logging of LOB columns is the default, but it can be
disabled for a particular column when the table is created. However, the
maximum size LOB than can be logged is 1 GB. I don't recall if the limit
is different for previous versions of DB2. If you have an previous version of DB2 than is current, check the SQL manual for Create Table.


In addition, LOBs can have a maximum size of 2GB in DB2 UDB.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena

Nov 12 '05 #4
You will lose the LOB column only if you restore from online backup.
You will not while restoring from offline backup.

Nov 12 '05 #5
You will lose the LOB column only if you restore from online backup
(with logging off). You will not while restoring from offline backup.

Nov 12 '05 #6
Thanks for the information.

You have been most helpful and I appreciate it!

John
"Visu" <Vi*******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
You will lose the LOB column only if you restore from online backup
(with logging off). You will not while restoring from offline backup.

Nov 12 '05 #7
Thanks so much for the help!

You have provided some very valuable information.

Thanks,

John
"Visu" <Vi*******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
You will lose the LOB column only if you restore from online backup
(with logging off). You will not while restoring from offline backup.

Nov 12 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: John | last post by:
I have over 5000 thumbnail pictures of size 5kb each. I would like to able to load all 5000 pictures and view 50 per page using mysql_data_seek(). I would like to know what are the advantages and...
6
by: Pierre-Benoit | last post by:
Hi there, I've a strange problem with ado.net and an Access db. I need to create a little C# app that take the content of "ole object" field and then save it into a file. The problem is that...
11
by: CSN | last post by:
Is it possible to iterate over an array in plpgsql? Something like: function insert_stuff (rel_ids int) .... foreach rel_ids as id insert into table (rel_id, val) values (id, 5);
11
by: Chris Fink | last post by:
I have setup an Oracle table which contains a blob field. How do I insert data into this field using C# and ADO.net?
2
by: pmz | last post by:
Dear Group, I'm connecting in C# with remote (BSD) MySQL server with ODBC Driver, and I'm trying to find the best sollution in such problem: As I've read on MySQL manual, they have suggested...
2
by: deepgun74 | last post by:
I have a blob column that is 4MB in length. I need to change it to store a 3GIG binary. 1) What is the maximum size a BLOB column can support? 2) How do i alter the size of an existing BLOB...
4
by: aaggarwal | last post by:
Hi All, I'm working on DB2 UDB 8.2 with Fixpack 10 on Windows 2000 Server. The problem I'm facing is that I have created a table having BLOB type column with NOT LOGGED option. (see script...
0
by: Big George | last post by:
Hello, I'm trying to save a jpg file of 300KB as a BLOB field in an Oracle 10g Database. If I try to call a Stored Procedure, it fails. If I use CommandText with SQL sentence, it success. I...
4
by: Connie | last post by:
I have a column in my table that is an Image (blob). The data stored in this blob is basically pdf files. I need a query to determine the total size of these blob's in the database. Here is what...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.