- 03 Nov, 2014 2 commits
-
-
Alexander Barkov authored
Merging from 10.0 (pre-requisite for MDEV-5528)
-
Jan Lindström authored
Merge Facebook commit 154c579b828a60722a7d9477fc61868c07453d08 and e8f0052f9b112dc786bf9b957ed5b16a5749f7fd authored by Steaphan Greene from https://github.com/facebook/mysql-5.6 Optimize prefix index queries to skip cluster index lookup when possible. Currently InnoDB will always fetch the clustered index (primary key index) for all prefix columns in an index, even when the value of a particular record is smaller than the prefix length. This change optimizes that case to use the record from the secondary index and avoid the extra lookup. Also adds two status vars that track how effective this is: innodb_secondary_index_triggered_cluster_reads: Times secondary index lookup triggered cluster lookup. innodb_secondary_index_triggered_cluster_reads_avoided: Times prefix optimization avoided triggering cluster lookup.
-
- 30 Oct, 2014 2 commits
-
-
Nirbhay Choubey authored
Use fn_ext2() to get the file extension from last occurrence of FN_EXTCHAR ('.') instead.
-
Nirbhay Choubey authored
-
- 29 Oct, 2014 4 commits
-
-
Jan Lindström authored
Merge Facebook commit 4f3e0343fd2ac3fc7311d0ec9739a8f668274f0d authored by Steaphan Greene from https://github.com/facebook/mysql-5.6 Adds innodb_idle_flush_pct to enable tuning of the page flushing rate when the system is relatively idle. We care about this, since doing extra unnecessary flash writes shortens the lifespan of the flash.
-
Jan Lindström authored
Merge Facebook commit ca40b4417fd224a68de6636b58c92f133703fc68 authored by Steaphan Greene from https://github.com/facebook/mysql-5.6 Change the default value for innodb_log_compressed_pages to false Logging these pages is a waste. We don't want this to be enabled. One caution here: If the zlib version used by innodb is changed, but the running version is still the previous version, and the running version crashes, it is possible crash recovery could fail. When crash recovery uses a zlib version at all different than the version used by the crashed instance, it is possible that a redone compression could fail, where the original did not, because the new zlib version compresses the same data to a slightly larger size. Because of the nature of compression, this is even possible when upgrading to a version of zlib which actually peforms overall better compression than the previous version. If this happens, mysql will fail to recover, since a page split can not be safely triggered during crash recovery. So, either the exact zlib version must be controlled between builds, or these rare recovery failures must be accepted. The cost of logging these pages is quite high, so we consider this limitation to be worthwhile. This failure scenario can not happen if there was a clean shutdown. This is only relevant to restarting crashed instances, or starting an instance built via a hot backup too (XtraBackup).
-
Jan Lindström authored
Analysis: fil_extend_space_to_desired_size() does not provide file node to os_aio(). This failed on Windows only because on Windows we do not use posix_fallocate() to extend file space. Fix: Add file node to os_aio() function call and make sure that we do not use NULL pointer at os_aio_array_reserve_slot(). Additionally, make sure that we do not use 0 as file_block_size (512 is the minimum).
-
Jan Lindström authored
New generation hard drives, SSDs and NVM devices support 4K sector size. Supported sector size can be found using fstatvfs() or GetDiskFreeSpace() functions.
-
- 28 Oct, 2014 2 commits
-
-
Elena Stepanova authored
-
Nirbhay Choubey authored
-
- 27 Oct, 2014 1 commit
-
-
Jan Lindström authored
Fix failure seen on dict_foreign_remove_partial.
-
- 24 Oct, 2014 1 commit
-
-
Alexey Botchkov authored
-
- 22 Oct, 2014 1 commit
-
-
Jan Lindström authored
-
- 21 Oct, 2014 1 commit
-
-
Alexey Botchkov authored
GEOMETRY_COLUMNS and SPATIAL_REF_SYS tables added to the INFORMATION_SCHEMA.
-
- 20 Oct, 2014 1 commit
-
-
Jan Lindström authored
type and that we decompress fist page if it is page compressed before really accessing it.
-
- 19 Oct, 2014 1 commit
-
-
Igor Babaev authored
-
- 17 Oct, 2014 6 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
The method subselect_union_engine::no_rows() must take into account the fact that now unit->fake_select_lex is NULL for for select_union_direct objects.
-
Sergei Petrunia authored
Add testcase.
-
Sergei Petrunia authored
Make log_slow_verbosity=explain actually print ANALYZE (that is, EXPLAIN otuput with two extra columns).
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Make ANALYZE work for - ANALYZE SELECT ... INTO @var - ANALYZE INSERT SELECT ...; - ANALYZE SELECT .. INTO OUTFILE
-
- 15 Oct, 2014 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 14 Oct, 2014 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
Although the original code of mysql-5.7 was adjusted to the current MariaDB code the main ideas of the optimization were preserved.
-
Sergey Vojtovich authored
Added API for atomic operations with explicit memory barrier. Only gcc atomic builtins are currently supported. If they're unavailable, fall back to atomic operations with implicit full memory barrier.
-
- 13 Oct, 2014 1 commit
-
-
- 12 Oct, 2014 2 commits
-
-
Sergei Petrunia authored
Add ANALYZE STMT handling into INSERT command.
-
Elena Stepanova authored
-
- 11 Oct, 2014 9 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
remove: * NDB from everywhere * IM from mtr-v1 * packaging/rpm-oel and packaging/rpm-uln * few unused spec files * plug.in file * .bzrignore
-
Sergei Golubchik authored
TOTAL_SSL_CONNECTIONS columns in CLIENT_STATISTICS and USER_STATISTICS
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Extend existing plugins to support * SHOW QUERY_RESPONSE_TIME * FLUSH QUERY_RESPONSE_TIME * SHOW LOCALE move userstat tables to use the new API instead of hand-coded syntax
-
Sergei Golubchik authored
-