DAM asset expiry notification JOB || Query optimisation | Community
Skip to main content
Level 2
April 17, 2018
Solved

DAM asset expiry notification JOB || Query optimisation

  • April 17, 2018
  • 1 reply
  • 900 views

Hi Experts,

In my AEM DAM when "asset expiry notification" Job run. it throws below exception every time.

================================================================

The query read or traversed more than 100000 nodes. To avoid affecting other tasks, processing was stopped

===================================================================

I checked:

1) OAK indexes are already in place for the Query

2) I also checked that number of dam: asset nodes are not more than 25000

Thanks,

Suresh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Guptasuresh2004

I figured below internal QUERY is the Culprit.

/jcr:root/content/dam/company//*[jcr:content/related/links/sling:members/*/@dam:resolvedPath='/content/dam/company/brand/global/product_shot/jeans/jeans_skinny_grey.jpg']

1 reply

Guptasuresh2004AuthorAccepted solution
Level 2
April 17, 2018

I figured below internal QUERY is the Culprit.

/jcr:root/content/dam/company//*[jcr:content/related/links/sling:members/*/@dam:resolvedPath='/content/dam/company/brand/global/product_shot/jeans/jeans_skinny_grey.jpg']