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:
@@ -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
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user