1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Optimizer trace: print cost and #rows of the join prefix

The names rows_for_plan and cost_for_plan follow MySQL
Also added post-join-operation selectivity cost
This commit is contained in:
Sergei Petrunia
2019-08-10 00:53:28 +03:00
parent 95cdc1ca5f
commit 2dbe472ed0
6 changed files with 502 additions and 37 deletions

View File

@ -213,7 +213,9 @@ explain select * from t1 where a=1 or b=1 {
"chosen": true
}
]
}
},
"rows_for_plan": 2,
"cost_for_plan": 4.5484
}
]
},