Quantcast
Viewing all articles
Browse latest Browse all 12

Which user has items waiting to be indexed?

Using Enterprise Vault 10, we encountered issues with the indexing service.  EV reported that there were lots of items that are waiting to be indexed (event id 41021).  To find which archives are having index issues, run the following SQL command:

 

SELECT TOP 100 A.ArchiveName “Archive Name”,

      (IRP.IndexRootPath + ‘\’+ IV.FolderName) “Index Location”,

       IV.IndexedItems “No. Indexed Items”,

       IV.Rebuilding “Is Rebuilding”,

       IV.Failed “Is Failed”,

       IV.Offline “Is Offline”,     

       IV.FailedItems “Items Failed To Index”,

       COUNT(JA.IndexCommited) “Items awaiting index (JA)”

FROM   EnterpriseVaultDirectory.dbo.IndexRootPathEntry IRP,

       EnterpriseVaultDirectory.dbo.IndexVolume IV,

       EnterpriseVaultDirectory.dbo.Archive A,

       EnterpriseVaultDirectory.dbo.Root R,

       EVMailboxVS.dbo.JournalArchive JA,

       EVMailboxVS.dbo.ArchivePoint AP

WHERE  JA.ArchivePointIdentity = AP.ArchivePointIdentity

  AND  AP.ArchivePointId = R.VaultEntryId

  AND A.RootIdentity = R.Rootidentity

  AND R.RootIdentity = IV.RootIdentity

  AND IV.IndexRootPathEntryId = IRP.IndexRootPathEntryId

  AND JA.IndexCommited = 0

GROUP BY ArchiveName, IndexRootPath, FolderName, FirstItemSequenceNumber, HighestItemSequenceNumber, IndexedItems, Rebuilding, Failed, Offline, FailedItems

ORDER BY “Items awaiting index (JA)” DESC

 

This will return a list of the user archives with location, item count, and the items awaiting index.

From this, you can identify which indexes to target and resolve the issue.


Viewing all articles
Browse latest Browse all 12

Trending Articles