Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise Developer Center
Viewing all articles
Browse latest Browse all 1240

Re: Why is monOpenObjectActivity showing high LogicalReads eventhough OptSelectCount & UsedCount are both zero.

$
0
0

Avinash,

     From MDA tables we collect data every minute into staging and summarize them into a hist table to reduce rowcount. Here is what I see in our database showing high reads for IndexID > 0 for Lock scheme Datarows table.

 

Thanks,

Sid.

 

 

select top 10 ObjectID, IndexID, LogicalReads,PhysicalReads,OptSelectCount,UsedCount,LastOptSelectDate,Operations

from monOpenObjectActivityHist

where ObjectName like '%blabla'

and UsedCount + OptSelectCount = 0

order by LogicalReads desc

 

ObjectIDIndexIDLogicalReadsPhysicalReadsOptSelectCountUsedCountLastOptSelectDateOperations
149357732821885081000010/5/2015 11:06:37 PM0
149357732821711856400010/7/2015 8:35:36 PM0
149357732821662642600010/9/2015 8:34:10 PM0
149357732821656691900010/6/2015 8:04:46 PM0
149357732821575279300010/8/2015 8:09:54 PM0
1493577328413484146900(null)0
1493577328413292363800(null)0
1493577328412731022800(null)0
1493577328412719947900(null)0
14935773284123069321200(null)0

Viewing all articles
Browse latest Browse all 1240


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>