1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

ANALYZE FORMAT=JSON: Backport block-nl-join.r_unpack_time_ms from 11.0 +fix MDEV-30830.

Also fix it to work with hashed join (MDEV-30830).

Reviewed by: Monty <monty@mariadb.org>
This commit is contained in:
Sergei Petrunia
2023-03-10 18:02:14 +03:00
parent 18342cd5e1
commit 0269d82d53
16 changed files with 210 additions and 6 deletions

View File

@ -153,6 +153,7 @@ ANALYZE
"join_type": "BNL",
"r_loops": 20,
"r_filtered": 100,
"r_unpack_time_ms": "REPLACED",
"r_effective_rows": 60
}
}
@ -196,6 +197,7 @@ ANALYZE
"attached_condition": "tbl1.c > tbl2.c",
"r_loops": 20,
"r_filtered": 15.83333333,
"r_unpack_time_ms": "REPLACED",
"r_effective_rows": 60
}
}
@ -658,6 +660,7 @@ ANALYZE
"attached_condition": "<in_optimizer>(t2.b,t2.b in (subquery#2))",
"r_loops": 2,
"r_filtered": null,
"r_unpack_time_ms": "REPLACED",
"r_effective_rows": 0
},
"subqueries": [
@ -750,6 +753,7 @@ ANALYZE
"join_type": "BNL",
"r_loops": 2,
"r_filtered": null,
"r_unpack_time_ms": "REPLACED",
"r_effective_rows": 0
},
"subqueries": [
@ -784,6 +788,7 @@ ANALYZE
"attached_condition": "t2.f2 = t3.f3",
"r_loops": 0,
"r_filtered": null,
"r_unpack_time_ms": "REPLACED",
"r_effective_rows": null
}
}
@ -921,6 +926,7 @@ ANALYZE
"attached_condition": "t10.b = t11.b",
"r_loops": 100,
"r_filtered": 0.424285714,
"r_unpack_time_ms": "REPLACED",
"r_effective_rows": 700
}
}
@ -973,6 +979,7 @@ ANALYZE
"attached_condition": "t10.b = t11.b",
"r_loops": 100,
"r_filtered": 100,
"r_unpack_time_ms": "REPLACED",
"r_effective_rows": 2.97
}
}