Is there a SQL query to show Content Indexing Queue length?

We are migrating Confluence from 2.8 to 4.3. This involves many iterations as we work through the gremlins we uncover.

Some of the most elapsed-time-consuming steps involve waiting for behind the scenes processing to complete.

The techniques for this are a) use TOP on the server to see when the JVM's CPU activity becomes negligible and b) running SQL Trace to see if there is any d/b activity.

Though it is not always content indexing per se, the waits almost always involve something being done that shows on the Content Indexing Queue (eg: when creating an LDAP directory, tens of thousands of Add change document: com.atlassian.confluence.user.PersonalInformation-NNNNNNN items).

To gauge how much time we have before the next migration step we check Content Indexing | Queue Contents.

But, this is very slow and often times out (when the queue is large).

Is there a quick SQL query that can be run to just show the Queue length, please?

2 answers

1 accepted

1 vote
Peter Koczan Atlassian Team Dec 05, 2012

Hi Peter,

I am not sure if I understand the question correctly, but the index queue is stored in the INDEXQUEUEENTRIES table, that may give you an ide what is waiting to be processed. However by this, you will not be able to calculate the exact time it takes for indexing to finish.

Kind regards,

Peter

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,777 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you