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 > Informix > performance of inserting large objects

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-19-03, 04:45
novicky novicky is offline
Registered User
 
Join Date: Sep 2003
Posts: 1
performance of inserting large objects

Hi,

I have a performance problem when inserting large objects to IDS.
An insert of 1 MB simple or smart large object takes about 5 seconds while selecting the same amount of data takes 0.1 second. When I use the function FILETOBLOB with "client" parameter, insert takes 5 seconds while when I use "server" parameter on the same file insert takes 0.1 second.

5.0 sec for:
insert into smartblobtable (blobcolumn) values (FILETOBLOB("one_megabyte_file","clinet"));

0.1 sec for:
insert into smartblobtable (blobcolumn) values (FILETOBLOB("one_megabyte_file","server"));

I guess the problem is not in storing data itself but somewhere in the connection. It seems to me that the i/o is somehow optimized for reading not writing.

My system is IDS 9.30 on Linux
NETTYPE soctcp,1,50,NET
sqlhosts uses onsoctcp

Can anybody suggest me how to improve the performance ?
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