Author Topic: Difference between hits and count  (Read 3733 times)

pankaj.puranik

  • Guest
Difference between hits and count
« on: June 21, 2013, 12:00:30 PM »
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

  • Guest
Re: Difference between hits and count
« Reply #1 on: June 09, 2014, 08:13:33 AM »
Pankaj,

Were you able to find it out?


cheers
Subbu

pankaj.puranik

  • Guest
Re: Difference between hits and count
« Reply #2 on: February 03, 2016, 12:10:51 AM »
Bumping it again!!

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Difference between hits and count
« Reply #3 on: February 04, 2016, 12:30:42 PM »
I'd also like to know the answer to this question. 
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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

ewirtz

  • Guest
Re: Difference between hits and count
« Reply #4 on: February 08, 2016, 11:53:15 PM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: Difference between hits and count
« Reply #5 on: February 09, 2016, 01:09:33 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

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Difference between hits and count
« Reply #6 on: February 09, 2016, 07:33:14 AM »
So, this effectively logs the configured 'Max Hits' value, plus 1?
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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