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 > query good for some rows not for large

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-05-07, 19:41
oraora oraora is offline
Registered User
 
Join Date: Jun 2006
Posts: 20
query good for some rows not for large

Hi :
We need some guidance on some query which does Insert by select from some tables.
It works fine lets say for 50,000 but once we start 60,000 it is taking for ever.

but if we do in smal subsets it works fine.

Can someone put light on this ,that why it is happening?

any idea?

Environments:

UDB 8.2.2

AIX 5.2

We have upto date statistics on all the tables.

Thanks and appreciate in advance for any guidance.

-
Reply With Quote
  #2 (permalink)  
Old 01-05-07, 23:28
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You may be running out of log space, but in that case the statement should rollback with an error.
__________________
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 01-08-07, 00:52
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
oraora, can you please provide error message, SQL sintax, table definitions of source and target table.
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