arangosh> stmt.explain({ optimizer: { rules: [ "-all" ] } }); { "plan" : { "nodes" : [ { "type" : "SingletonNode", "dependencies" : [ ], "id" : 1, "estimatedCost" : 1, "estimatedNrItems" : 1 }, { "type" : "EnumerateCollectionNode", "dependencies" : [ 1 ], "id" : 2, "estimatedCost" : 102, "estimatedNrItems" : 100, "random" : false, "indexHint" : { "forced" : false, "type" : "none" }, "outVariable" : { "id" : 0, "name" : "i" }, "projections" : [ ], "producesResult" : true, "database" : "_system", "collection" : "test", "satellite" : false }, { "type" : "CalculationNode", "dependencies" : [ 2 ], "id" : 3, "estimatedCost" : 202, "estimatedNrItems" : 100, "expression" : { "type" : "compare >", "typeID" : 29, "subNodes" : [ { "type" : "attribute access", "typeID" : 35, "name" : "value", "subNodes" : [ { "type" : "reference", "typeID" : 45, "name" : "i", "id" : 0 } ] }, { "type" : "value", "typeID" : 40, "value" : 97, "vType" : "int", "vTypeID" : 2 } ] }, "outVariable" : { "id" : 2, "name" : "1" }, "canThrow" : false, "expressionType" : "simple" }, { "type" : "FilterNode", "dependencies" : [ 3 ], "id" : 4, "estimatedCost" : 302, "estimatedNrItems" : 100, "inVariable" : { "id" : 2, "name" : "1" } }, { "type" : "CalculationNode", "dependencies" : [ 4 ], "id" : 5, "estimatedCost" : 402, "estimatedNrItems" : 100, "expression" : { "type" : "attribute access", "typeID" : 35, "name" : "value", "subNodes" : [ { "type" : "reference", "typeID" : 45, "name" : "i", "id" : 0 } ] }, "outVariable" : { "id" : 4, "name" : "3" }, "canThrow" : false, "expressionType" : "attribute" }, { "type" : "SortNode", "dependencies" : [ 5 ], "id" : 6, "estimatedCost" : 1066.3856189774724, "estimatedNrItems" : 100, "elements" : [ { "inVariable" : { "id" : 4, "name" : "3" }, "ascending" : true } ], "stable" : false, "limit" : 0, "strategy" : "standard" }, { "type" : "CalculationNode", "dependencies" : [ 6 ], "id" : 7, "estimatedCost" : 1166.3856189774724, "estimatedNrItems" : 100, "expression" : { "type" : "attribute access", "typeID" : 35, "name" : "value", "subNodes" : [ { "type" : "reference", "typeID" : 45, "name" : "i", "id" : 0 } ] }, "outVariable" : { "id" : 6, "name" : "5" }, "canThrow" : false, "expressionType" : "attribute" }, { "type" : "ReturnNode", "dependencies" : [ 7 ], "id" : 8, "estimatedCost" : 1266.3856189774724, "estimatedNrItems" : 100, "inVariable" : { "id" : 6, "name" : "5" }, "count" : true } ], "rules" : [ ], "collections" : [ { "name" : "test", "type" : "read" } ], "variables" : [ { "id" : 6, "name" : "5" }, { "id" : 4, "name" : "3" }, { "id" : 2, "name" : "1" }, { "id" : 0, "name" : "i" } ], "estimatedCost" : 1266.3856189774724, "estimatedNrItems" : 100, "initialize" : true, "isModificationQuery" : false }, "warnings" : [ ], "stats" : { "rulesExecuted" : 2, "rulesSkipped" : 34, "plansCreated" : 1 }, "cacheable" : true }