Marko Mäkelä
26a14ee130
Merge 10.1 into 10.2
2019-05-13 17:54:04 +03:00
Vicențiu Ciorbaru
cb248f8806
Merge branch '5.5' into 10.1
2019-05-11 22:19:05 +03:00
Sergei Golubchik
da4d71d10d
Merge branch '10.1' into 10.2
2017-03-30 12:48:42 +02:00
iangilfillan
f0ec34002a
Correct FSF address
2017-03-10 18:21:29 +01:00
Sergei Petrunia
44fdb56c97
MDEV-8646: Re-engineer the code for post-join operations
...
- Make EXPLAIN code use the post-join operations
- Remove Sort_and_group_tracker that was used for that purpose
2016-03-28 12:02:56 +03:00
Daniel Black
0b8144a472
MDEV-8981: Analyze stmt - cycles can overflow
...
A 64bit counter can overflow within the time of a query
so lets take it that the measurement is the small value
rather than an order 1e12 millisecond query.
tested with:
int main()
{
ulonglong start = ULONGLONG_MAX - 30;
ulonglong end = 600;
ulonglong cycles = 10000;
cycles += end - start;
if (unlikely(end < start))
cycles += ULONGLONG_MAX;
printf("cycles %llu\n", cycles);
}
2015-10-24 11:45:21 +11:00
Sergei Petrunia
3025c42605
Make ANALYZE FORMAT=JSON show execution time for filesort element.
2015-08-07 17:41:35 +03:00
Sergei Petrunia
ebe2bd74fe
MDEV-7836: ANALYZE FORMAT=JSON should provide info about GROUP BY
...
ANALYZE should also record remove_duplicates() operation.
2015-06-20 04:20:18 +03:00
Sergey Vojtovich
2bc6e29afe
MDEV-7943 - pthread_getspecific() takes 0.76% in OLTP RO
...
Pass THD to Sort_and_group_tracker::report_sorting().
This reduces number of pthread_getspecific() calls from 292 to 290.
2015-06-19 15:06:34 +04:00
Sergei Petrunia
caf4291d29
Remove garbage comment
2015-06-18 14:51:50 +03:00
Sergei Petrunia
93fc04ff1d
MDEV-6995: EXPLAIN JSON and ORDER BY, GROUP BY, etc
...
- Make ANALYZE correctly remember and report filesort() calls
- Temp.table use is collected but only basic info is reported.
2015-06-06 00:32:27 +03:00
Sergei Petrunia
4938b82263
MDEV-7836: ANALYZE FORMAT=JSON should provide info about GROUP/ORDER BY
...
Provide basic info about sorting/grouping done by the queries.
2015-04-12 04:48:42 +03:00
Sergei Petrunia
2af935c8ec
MDEV-7899: 10.1 is 3% slower than 10.0 in OLTP RO
...
- Remove ANALYZE's timing code off the the execution path of regular
SELECTs.
- Improve the tracker that tracks counts/execution times of SELECTs or
DML statements:
= regular execution just increments counters
= ANALYZE will also collect timings.
2015-04-07 01:29:17 +03:00
Sergei Petrunia
77e16ce7d6
MDEV-7648: Extra data in ANALYZE FORMAT=JSON $stmt
...
Switch from relying on PERFORMANCE_SCHEMA to using our
own hooks for counting the time spent reading rows from
tables.
2015-03-24 16:17:41 +03:00