Difference between hits and count

Previous topic - Next topic

pankaj.puranik

Hi

What is the difference between hits and counts?

Agid(5103) Time(0.002) Hits(2) Count(201) Sql(2;AcctNum,SideKey;'0048787780','0048787780';WHERE ( ODTBL.AcctNum = ? OR ODTBL.SideKey = ? ) ) SqlR() OrderBy() TextSearch()

Thanks
Pankaj.

subbu

Pankaj,

Were you able to find it out?


cheers
Subbu

pankaj.puranik


Justin Derrick

I'd also like to know the answer to this question. 
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

ewirtz

Hi,

it's simple. count shows the maximum to read + 1. If you have configured to read a maximum of 200 results, Ondemand tries to read 201 rows to be able to decide whether more than 200 results do exist. This can be seen in count(nn) The count of the result set that is shown can be seen in hits(xx).

regards

Egon

Alessandro Perucchi

Quote from: ewirtz on February 09, 2016, 06:53:15 AM
it's simple. count shows the maximum to read + 1. If you have configured to read a maximum of 200 results, Ondemand tries to read 201 rows to be able to decide whether more than 200 results do exist. This can be seen in count(nn) The count of the result set that is shown can be seen in hits(xx).

Thanks !!!!!!!!!!
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Justin Derrick

So, this effectively logs the configured 'Max Hits' value, plus 1?
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR