1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +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

@@ -99,7 +99,9 @@ select * from db1.t1 {
"chosen": true
}
]
}
},
"rows_for_plan": 3,
"cost_for_plan": 2.6051
}
]
},
@@ -210,7 +212,9 @@ select * from db1.v1 {
"chosen": true
}
]
}
},
"rows_for_plan": 3,
"cost_for_plan": 2.6051
}
]
},