Oleksandr Byelkin
89c7e2b9c7
Merge branch '10.11' into 11.4
2025-06-17 09:50:22 +02:00
bsrikanth-mariadb
2263c8a1f7
MDEV-36461: Optimizer trace: remove join_execution node
...
In non-EXPLAIN queries with subqueries, the trace was flooded
with empty "join_execution":{} nodes. Now, they are gone.
The "Range checked for each record" optimization still prints
content into trace on join execution. Now, we wrap it into
"range-checked-for-each-record" to delimit the invocations.
This new object has fields "select_id" which corresponds to
the outer query block, and the "loop" which corresponds to
the inner query block iteration number. Additionally,
the field "row_estimation" which itself is an object has
"table", and "range_analysis" fields that were moved
from the old "join_execution"'s steps array.
2025-04-28 01:25:05 -04:00
Alexander Barkov
44af9bfc67
Merge remote-tracking branch 'origin/10.11' into 11.1
2024-07-09 10:45:47 +04:00
Oleksandr Byelkin
2447dda2c0
Merge branch '10.11' into 11.1
2024-07-08 22:40:16 +02:00
Alexander Barkov
4d71a117a3
Merge remote-tracking branch 'origin/10.6' into 10.11
2024-07-08 21:52:08 +04:00
Alexander Barkov
e56040fee8
Merge remote-tracking branch 'origin/10.5' into 10.6
2024-07-08 18:59:04 +04:00
Alexander Barkov
d1e5fa8917
MDEV-34305 Redundant truncation errors/warnings with optimizer_trace enabled
...
my_like_range*() can create longer keys than Field::char_length().
This caused warnings during print_range().
Fix:
Suppressing warnings in print_range().
2024-07-08 18:01:01 +04:00
Oleksandr Byelkin
034a175982
Merge branch '10.6' into 10.11
2024-07-04 11:52:07 +02:00
Oleksandr Byelkin
dcd8a64892
Merge branch '10.5' into 10.6
2024-07-03 13:27:23 +02:00
Lena Startseva
090cecd5e8
MDEV-31933: Make working view-protocol + ps-protocol (running two protocols together)
...
Fix for v. 10.5
2024-07-02 10:11:33 +07:00
Lena Startseva
9e74a7f4f3
Removing MDEV-27871 from tastcases because it is not a bug
2024-06-28 16:45:50 +07:00
Marko Mäkelä
d73baa402a
Merge 10.11 into 11.0
2024-02-20 12:02:01 +02:00
Marko Mäkelä
64cce8d5bf
Merge 10.6 into 10.11
2024-02-14 16:12:53 +02:00
Marko Mäkelä
691f923906
Merge 10.5 into 10.6
2024-02-13 20:42:59 +02:00
Marko Mäkelä
b770633e07
Merge 10.4 into 10.5
2024-02-13 14:25:21 +02:00
Oleksandr Byelkin
ae709b64e2
fix view protocol in MDEV-29179
2024-02-13 09:24:32 +01:00
Marko Mäkelä
8ec12e0d6d
Merge 10.4 into 10.5
2024-02-12 11:38:13 +02:00
Rex
36f51d9748
MDEV-29179 Condition pushdown from HAVING into WHERE is not shown in optimizer trace
...
JOIN::optimize_inner(), Condition pushdown from HAVING into WHERE
not shown in optimizer trace.
2024-02-11 22:21:32 +01:00
Marko Mäkelä
9374772ecd
Merge 10.11 into 11.0
2024-01-19 09:07:48 +02:00
Marko Mäkelä
9d20853c74
Merge 10.6 into 10.11
2024-01-18 19:22:23 +02:00
Marko Mäkelä
3a96eba25f
Merge 10.5 into 10.6
2024-01-17 13:35:05 +02:00
Oleg Smirnov
48e4962c44
MDEV-29298 INSERT ... SELECT Does not produce an optimizer trace
...
Add INSERT ... SELECT to the list of commands that can be traced
Approved by Sergei Petrunia (sergey@mariadb.com )
2024-01-13 11:44:55 +07:00
Sergei Golubchik
8c8bce05d2
Merge branch '10.11' into 11.0
2023-12-19 15:53:18 +01:00
Oleksandr Byelkin
48af85db21
Merge branch '10.11' into 11.0
2023-11-08 17:09:44 +01:00
Oleksandr Byelkin
fecd78b837
Merge branch '10.10' into 10.11
2023-11-08 16:46:47 +01:00
Oleksandr Byelkin
04d9a46c41
Merge branch '10.6' into 10.10
2023-11-08 16:23:30 +01:00
Oleksandr Byelkin
b83c379420
Merge branch '10.5' into 10.6
2023-11-08 15:57:05 +01:00
Oleksandr Byelkin
6cfd2ba397
Merge branch '10.4' into 10.5
2023-11-08 12:59:00 +01:00
Oleksandr Byelkin
d594f1e531
Removing MDEV-27871 because it is not a bug
...
Part 1
2023-10-13 14:09:22 +02:00
Oleksandr Byelkin
51f9d62005
Merge branch '10.11' into 11.0
2023-08-09 07:53:48 +02:00
Oleksandr Byelkin
036df5f970
Merge branch '10.10' into 10.11
2023-08-08 14:57:31 +02:00
Oleksandr Byelkin
ced243a099
Merge branch '10.9' into 10.10
2023-08-05 20:34:09 +02:00
Oleksandr Byelkin
6bf8483cac
Merge branch '10.5' into 10.6
2023-08-01 15:08:52 +02:00
Oleksandr Byelkin
f291c3df2c
Merge branch '10.4' into 10.5
2023-07-27 15:43:21 +02:00
Marko Mäkelä
f2b4972bd4
Merge 10.11 into 11.0
2023-07-26 15:13:06 +03:00
Marko Mäkelä
bce3ee704f
Merge 10.10 into 10.11
2023-07-26 14:44:43 +03:00
Marko Mäkelä
b1b47264d2
Merge 10.9 into 10.10
2023-07-26 14:17:36 +03:00
Lena Startseva
9854fb6fa7
MDEV-31003: Second execution for ps-protocol
...
This patch adds for "--ps-protocol" second execution
of queries "SELECT".
Also in this patch it is added ability to disable/enable
(--disable_ps2_protocol/--enable_ps2_protocol) second
execution for "--ps-prototocol" in testcases.
2023-07-26 17:15:00 +07:00
Lena Startseva
515ba857ba
MDEV-31407: Add aliases in opt_trace.test for long column name for removing "--disable-view-protocol"
...
Change tests:
opt_trace.test
opt_trace_index_merge.test
opt_trace_ucs2.test
2023-07-26 10:23:03 +07:00
Oleksandr Byelkin
f52954ef42
Merge commit '10.4' into 10.5
2023-07-20 11:54:52 +02:00
Monty
6ed14bcc06
Disable view protocol for opt_trace.test
...
This is because some plan changes because of views
2023-07-07 12:53:50 +03:00
Sergei Petrunia
f5dceafd0b
MDEV-30964: MAX_SEL_ARG memory exhaustion is not visible in the optimizer trace
...
Add printing
2023-06-08 14:02:34 +03:00
Sergei Golubchik
0005f2f06c
Merge branch 'bb-10.11-release' into bb-11.0-release
2023-06-05 19:27:00 +02:00
Sergei Petrunia
131ef14a6e
Fix ./mtr --view-protocol opt_trace
...
Follow the approach taken in the rest of the test.
2023-05-19 21:59:49 +03:00
Sergei Petrunia
45a879f6cf
Fix ./mtr --view-protocol opt_trace
...
Follow the approach taken in the rest of the test.
2023-05-11 09:53:32 +03:00
Oleksandr Byelkin
16e5bc4cbc
Merge branch '10.9' into 10.10
2023-05-04 11:50:34 +02:00
Oleksandr Byelkin
652d54bf00
Merge branch '10.5' into 10.6
2023-05-04 07:36:37 +02:00
Oleksandr Byelkin
e87440b79e
Merge branch '10.4' into 10.5
2023-05-03 15:53:14 +02:00
Sergei Petrunia
ed3e6f66a2
MDEV-26301: Split optimization refills: Optimizer Trace coverage
...
Add Optimizer Trace printouts.
2023-05-03 14:11:25 +02:00
Marko Mäkelä
54819192fe
Merge 10.11 into 11.0
2023-04-26 18:50:15 +03:00