If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2 v7.2 enable XML extender

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-07, 22:09
tarfungng tarfungng is offline
Registered User
 
Join Date: Mar 2005
Posts: 5
db2 v7.2 enable XML extender

Dear all

I would like to know how to enable XML entender. My db2 version is 7.2.5.
Some people told me that XML file can't be larger than 1M file size. Is it right ?

Best Regards
Reply With Quote
  #2 (permalink)  
Old 03-25-07, 22:29
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
There is an DB2 XML Extender manual that you should look at.

XML CLOB columns can be up to 2GB, but if you need to log them (logging is optional on CLOBs) then the maximum is 1GB. If you are using HADR, you must log the CLOB columns.

If you need to use the XML CLOB columns in a stored procedure or XML function, then the limits are much smaller.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 03-25-07, 23:57
tarfungng tarfungng is offline
Registered User
 
Join Date: Mar 2005
Posts: 5
Thanks for your quick reply.
May I know know how to check XML CLOB columns are in a stored procedure or XML function ?

best regards
Reply With Quote
  #4 (permalink)  
Old 03-26-07, 01:02
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I think the XML CLOB limit for a SP has to do with an input or output parm for a SP. They would only be in a stored procedure if you put them in one. It does not include SP's automatically created by XML Extender.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #5 (permalink)  
Old 03-26-07, 03:42
tarfungng tarfungng is offline
Registered User
 
Join Date: Mar 2005
Posts: 5
thanks again.
I will drop the SP and create a new SP with increased CLOB limit. your information is very helpful.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On