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 > afraid to admit...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-24-11, 02:35
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
afraid to admit...

I have db2 certificates so I'm suppose to know it all..... yeah right!

Currently I am analyzing "db2pd tcbstats" output and here (db2pd to monitor table access) I read about "RID Scans".... Ehhh what ís a RID scan? Must have missed it or forgot all about it.
I understand it spoils the significance of the "scans" column in my db2pd report, but what else does it do?
Reply With Quote
  #2 (permalink)  
Old 03-24-11, 02:53
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 03-24-11, 04:45
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Thanks. 'Super Moderator' really means something .
So a RID scan a.k.a. RIDSCN is good and only indicates that the prefetching is taking place.
The "scans" column on my db2pd report is bad because it does not contain any valueable information because bad tablescans and good ridscans are mixed.
Reply With Quote
  #4 (permalink)  
Old 03-24-11, 13:36
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Quote:
Originally Posted by dr_te_z View Post
Thanks. 'Super Moderator' really means something .
yeh, does mean something! I can delete threads and ban users that I don't like
Quote:
Originally Posted by dr_te_z View Post
So a RID scan a.k.a. RIDSCN is good and only indicates that the prefetching is taking place.
The "scans" column on my db2pd report is bad because it does not contain any valueable information because bad tablescans and good ridscans are mixed.
RIDSCAN is better than a tablescan, but not necessarily a good thing.

Full index scans often result in RIDSCANs. Thoguh full index scans are better than full tablescans, they are not good.

There may be scope for reindexing or rewriting queries.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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