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 DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-11-11, 07:19
nafxnaf nafxnaf is offline
Registered User
 
Join Date: May 2011
Posts: 1
Question Performance DB2

Hi,

i wish listen your opinions about performance of treatments (AS400/DB2) with this scenario described below:


Imagine that i have a table with 2.500.000 records, the table have indexes created.

I have many aplications batch and interactif that access to this table, always using the key. (the applications are developed with cobol/400)


If i will remove 1.800.000 records from the table (stay with +/- 700.000) do you think that i will win something significant in terms of performance?
Reply With Quote
  #2 (permalink)  
Old 05-11-11, 09:37
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
If ALL of your queries and ALL of your DML use the indexes so that they only read the exact number of rows they have to, then you will not see any performance gain, because you are at 100% efficiency for the table. This is rare if not unattainable as it is highly unlikely that for every possible query/DML you have an optimal index for it. So reducing the number of rows should provide some sort of performance gain since you will be probably be reading fewer rows somewhere.

Andy
Reply With Quote
Reply

Tags
cobol, db2, performance

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