It's all about the answers!

Ask a question

Tell me about the data returned from https:///jts/indexing


Glenn Bardwell (58621527) | asked Jan 16 '14, 2:37 p.m.
JAZZ DEVELOPER
The following comes from a customer interaction following an issue that was reported through our support channel. I will answer the question in the next post.

The status of indexing jobs is available from the indexing url (https://<server:port>/jts/indexing). Accessing this URL shows a page of XML with multiple <indexerStatus> elements. Child elements include, <backlog>, <remainingTime> and <indexSize>. Here is an example:

----------------------
...
<jazz:indexerStatus>
<jazz:nodeId>xt1sxlb0</jazz:nodeId>
<jazz:indexName>/rm</jazz:indexName>
<jazz:consumerKey>d73ff5a4d2a244bd90d3d2ae7a7574b2</jazz:consumerKey>
<jazz:backlog rdf:datatype="http://www.w3.org/2001/XMLSchema#int">215272</jazz:backlog>
<jazz:remainingTime rdf:datatype="http://www.w3.org/2001/XMLSchema#long">1047657</jazz:remainingTime>
<jazz:lastProcessedXSD rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2014-01-10T02:23:02.901Z</jazz:lastProcessedXSD>
<jazz:lastProcessed rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">Fri, 10 Jan 2014 02:23:02 GMT</jazz:lastProcessed>
<jazz:lastReceived rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">Fri, 10 Jan 2014 07:44:53 GMT</jazz:lastReceived>
<jazz:indexSize rdf:datatype="http://www.w3.org/2001/XMLSchema#long">17594615</jazz:indexSize>
<jazz:availability rdf:resource="http://jazz.net/xmlns/foundation/1.0/availability/recovering"/>
</jazz:indexerStatus>
....
----------------------
What do these numbers represent?
So what does the '215272' for the backlog, the represent?
And what does the '1047657' for remainingTime  represent?
And what does the '17594615' for /jazz:indexSize represent?

2 answers



permanent link
Glenn Bardwell (58621527) | answered Jan 16 '14, 2:39 p.m.
JAZZ DEVELOPER
Each time an item is saved in RM, the database is updated. The database is now more up to date than the index, so a Task is created to sync the database and index. A task is a create, update, delete..., of an index. Each task extracts a resource data from the database, converts it to a triple (the entity that's stored in the index), and stores it according to the task type. When the database has a newer entry than the index, the index needs to be updated via a task.

The index is made up of these triples.

remainingTime is calculated from based on previous task execution times * backlog
indexSize refers to the number of triples in the index.
backlog refers to the number of tasks that remain for this index.


Comments
1
Jerome Lanneluc commented Jan 17 '14, 5:44 a.m.
JAZZ DEVELOPER

This is true for rdf indexing (corresponding to jazz:queryIndexer in the indexing status). For text indexing (see jazz:searchIndexer in the indexing status), this is almost the same except that the indexSize refers to the number of Lucene document in the index.
You can find more information on the indexing design in the following wiki: https://jazz.net/wiki/bin/view/Main/IndexingAndQuery


Paul Ellis commented Jan 24 '14, 4:44 a.m.
JAZZ DEVELOPER

This information has now been formerly made into a tech note: http://www-01.ibm.com/support/docview.wss?uid=swg21662167


permanent link
Rosa Naranjo (2.9k11723) | answered Feb 24 '17, 1:34 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

I assume it is correct to say that after RM 5.0.x when RM got its own database and context root, that the correct page is now rm\indexing instead of jts\indexing?  If not, can either Glenn or Paul or Jerome produce a new forum post about what one sees when accessing rm\indexing page?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.