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 > performance tuning for lobs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-13-04, 03:22
manish21 manish21 is offline
Registered User
 
Join Date: Jan 2003
Posts: 35
Smile performance tuning for lobs

Hi,
I have a db2 udb v8.1 database on aix server.My front end is in Java. I need to store some xml files each of something like 600k. So we have to use clob/blob . The client does not want to use xml extender as he doesnt need to query the xml. But we need to retrieve the data and update it. So what should be the approach to be followed for performance tuning other than having a long tablespace? ie any query for selecting, inserting /updating should be completed in a very short time. Now lobs dont allow sorting/indexing. So what should be the approach?
Reply With Quote
  #2 (permalink)  
Old 12-13-04, 11:08
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Dpn't expect great performance for LOB's. The data is stored separately from the other data and does not use the DB2 bufferpools (data is not cached in memory). Use the fastest disk you can get for these.
__________________
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 12-14-04, 01:19
manish21 manish21 is offline
Registered User
 
Join Date: Jan 2003
Posts: 35
Exclamation tablespace sms/dms?

The lob data is retrieved directly from the disk. In this case,would it be ok to use a single sms tablespace for the table and the lob column or should they be seperated into normal 4k ts and 4k bufferpool for all the other data and long tablespace and 32k Bufferpool for the lob data? Again is using blob advantagaeous over using clob?
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