473,748 Members | 7,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5137
"johnm" <jo***@matrixsg .com> wrote in message
news:11******** *****@corp.supe rnews.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.un i-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*******@gmai l.com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.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*******@gmai l.com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.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
7099
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 disadvantages of using a MySQL blob field rather than reading the images directly from the file? How does one insert an image into a blob field? Can it be done dynamically? Thank you John
6
2237
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 when I do the following Byte byteBLOBData = new Byte; byteBLOBData = (Byte)(ds.Tables.Rows);
11
5886
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
23029
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
9001
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 table design including the BLOB-Fieldtype size in UInt64, where they've stored, while inserting, the size of inserted BLOB data. But in the matter of fact, I'm interested if it's necessary to include in table this integer field? Is there any way...
2
17667
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 column? 3) I have an another column that is of type LONG VARCHAR. I would like to alter it to a CLOB as there is a size limit of 32KB on LONG VARCHAR. What is the best way to approach this conversion? Any help would be greatly appreciated.
4
7858
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 below) CREATE TABLE ATTACHMENTS ( CASEATTACHMENTID INTEGER NOT NULL,
0
2412
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 can't save the jpg file as a BLOB field using this Method (I'm calling a Stored Procedure): Private Sub save_BLOB(ByVal Photo As Byte())
4
7306
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 is happening, if I run it as below I get 23736000 for a result. select sum(datalength (cast(document AS binary(8000)))) from plan_report If I run it like this select sum(datalength (cast(document AS varbinary(8000)))) from plan_report
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9324
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8243
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.