What happen query with the following N1QL query on 2 millon docements
Explain
{
"plan": {
"#operator": "Sequence",
"~children": [
{
"#operator": "Sequence",
"~children": [
{
"#operator": "PrimaryScan3",
"index": "#primary-10-127-91-238",
"index_projection": {
"primary_key": true
},
"keyspace": "deliveries",
"namespace": "default",
"using": "gsi"
},
{
"#operator": "Fetch",
"keyspace": "deliveries",
"namespace": "default"
},
{
"#operator": "Parallel",
"~child": {
"#operator": "Sequence",
"~children": [
{
"#operator": "Filter",
"condition": "(((`deliveries`.`type`) = \"BOL\") and ((`deliveries`.`isExtraCid`) = true))"
},
{
"#operator": "InitialProject",
"result_terms": [
{
"expr": "self",
"star": true
}
]
},
{
"#operator": "FinalProject"
}
]
}
}
]
},
{
"#operator": "Limit",
"expr": "1"
}
]
},
"text": "select * from `deliveries` where type = \"BOL\" and isExtraCid = true limit 1"
}