Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / June 2007

Tip: Looking for answers? Try searching our database.

Migrating from 7.2 to 8.1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ross Mallett - 04 Jun 2007 06:40 GMT
I have a job that inserts thousands of LOBs into a table.

Under a UDB 7.2 client, it runs in four minutes.

The same job, running against the same UDB 8.2 server, takes over 30
minutes on the 8.2 client.

Does anybody have any ideas about what is going wrong?
Philip Nelson - 04 Jun 2007 13:28 GMT
> I have a job that inserts thousands of LOBs into a table.
>
[quoted text clipped - 4 lines]
>
> Does anybody have any ideas about what is going wrong?

Did you run all the binds from the V8.2 client ?    

It could be you are spending a lot of time needlessly autobinding catalog
packages.

Have you gathered a statement level event monitor to see if it gives you any
clue to whether there could be a problem.    If it thinks that the
statement is taking very little time to process then it probably is
something "external" to the inserts themselves, such as the autobinds I
mentioned earlier.

Phil
Ross Mallett - 05 Jun 2007 07:26 GMT
>>I have a job that inserts thousands of LOBs into a table.
>>
[quoted text clipped - 17 lines]
>
> Phil

The db2cli.lst and db2ubind.lst have been bound.

The monitor says that the INSERT statements have an average execution
time of 15 milliseconds. So their total time is not excessive.

Anything else that could be "external" to the inserts?

Ross
Ross Mallett - 07 Jun 2007 02:39 GMT
> I have a job that inserts thousands of LOBs into a table.
>
[quoted text clipped - 4 lines]
>
> Does anybody have any ideas about what is going wrong?

It seems that the 7.2 client compresses (or truncates) the CLOB, whereas
the 8.2 client is sending all 16 MB per LOB across to the server.

Anyone have any ideas?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.