Bug 1101492 - Improve ActionLogDB

Cache `schemaIndexes.length`