- 29 Mar, 2014 1 commit
-
-
Jan Lindström authored
-
- 28 Mar, 2014 1 commit
-
-
Jan Lindström authored
-
- 27 Mar, 2014 3 commits
-
-
Jan Lindström authored
-
https://code.launchpad.net/~laurynas-biveinis/percona-server/bug1295268Jan Lindström authored
(Inadequate background LRU flushing for write workloads with InnoDB compression). If InnoDB compression is used and the workload has writes, the following situation is possible. The LRU flusher issues an LRU flush request for an instance. buf_do_LRU_batch decides to perform unzip_LRU eviction and this eviction might fully satisfy the request. Then buf_flush_LRU_tail checks the number of flushed pages in the last iteration, finds it to be zero, and wrongly decides not to flush that instance anymore. Fixed by maintaining unzip_LRU eviction counter in struct flush_counter_t variables, and checking it in buf_flush_LRU_tail when deciding whether to stop flushing the current instance. Fix provided by: Laurynas Biveinis (Percona) Added test cases for new configuration files to get mysql-test-run suite sys_vars to pass. Fix some small errors.
-
https://code.launchpad.net/~laurynas-biveinis/percona-server/bug1295268Jan Lindström authored
(Inadequate background LRU flushing for write workloads with InnoDB compression). If InnoDB compression is used and the workload has writes, the following situation is possible. The LRU flusher issues an LRU flush request for an instance. buf_do_LRU_batch decides to perform unzip_LRU eviction and this eviction might fully satisfy the request. Then buf_flush_LRU_tail checks the number of flushed pages in the last iteration, finds it to be zero, and wrongly decides not to flush that instance anymore. Fixed by maintaining unzip_LRU eviction counter in struct flush_counter_t variables, and checking it in buf_flush_LRU_tail when deciding whether to stop flushing the current instance. Added test cases for new configuration files to get mysql-test-run suite sys_vars to pass. Fix some small errors.
-
- 25 Mar, 2014 1 commit
-
-
Jan Lindström authored
-
- 22 Mar, 2014 1 commit
-
-
Jan Lindström authored
-
- 21 Mar, 2014 1 commit
-
-
Jan Lindström authored
special builds UNIV_PAGECOMPRESS_DEBUG and UNIV_MTFLUSH_DEBUG). Added a new status variable compress_pages_page_compression_error to count possible compression errors.
-
- 12 Mar, 2014 1 commit
-
-
Jan Lindström authored
unnecessary. There is a lot more index pages than there is normal pages. Earlier all pages were compressed and this provided best performance and compression ratio. Added status variable to show how many non index pages are written.
-
- 11 Mar, 2014 1 commit
-
-
Jan Lindström authored
-
- 08 Mar, 2014 1 commit
-
-
Sergei Golubchik authored
-
- 07 Mar, 2014 8 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
unknown authored
MDEV-5789: race between rpl_parallel_change_thread_count and slave start upon server start without --skip-slave-start Make sure to signal the condition variable for the thread pool after the new threads have been added to the pool. Thanks to user nanyi607rao, who reported this bug on maria-developers@.
-
unknown authored
When an rpl_group_info object was returned from the free list, the rgi->deferred_events_collecting and rgi->deferred_events was not correctly re-inited. Additionally, the rgi->deferred_events was incorrectly freed in free_rgi(), which causes unnecessary malloc/free (or crash when re-init is not done). Thanks to user nanyi607rao, who reported this bug on maria-developers@.
-
Alexander Barkov authored
This constant uses my_time.h, which inclusion is not desirable in nt_servc.cc
-
Jan Lindström authored
pages are compressed if false index pages are not compressed. Fixed small output error when page_compression_level was incorrectly given.
-
Jan Lindström authored
-
- 06 Mar, 2014 3 commits
-
-
Alexander Barkov authored
-
Sergey Vojtovich authored
Reduced number of my_hash_sort_bin() calls from 4 to 1 per query. Reduced number of memory accesses done by my_hash_sort_bin(). Details: - let MDL subsystem use pre-calculated hash value for hash inserts and deletes - let table cache use pre-calculated MDL hash value - MDL namespace is excluded from hash value calculation, so that hash value can be used by table cache as is - hash value for MDL is calculated as resulting hash value + MDL namespace - extended hash implementation to accept user defined hash function
-
unknown authored
-
- 05 Mar, 2014 1 commit
-
-
Sergei Golubchik authored
-
- 04 Mar, 2014 15 commits
-
-
Sergey Petrunya authored
- MariaDB-5.5 part of the fix: since we can't easily fix query optimization for I_S tables, run the affected-tablespaces query with semijoin=off. It happens to have a good query plan with that setting. [This is a forward-port to MariaDB 10.0]
-
Sergey Petrunya authored
-
Sergei Golubchik authored
-
Michael Widenius authored
- Removed double call to trans_begin() for GTID BEGIN event - Don't set OPTION_BEGIN before calling trans_begin() as this causes extra work in trans_begin() sql/log_event.cc: Removed double call to trans_begin for GTID BEGIN event. Don't set OPTION_BEGIN before calling trans_begin() as this causes extra work in trans_begin(). This was done by removing parsing of "BEGIN" and instead executing trans_begin() direct. This is much faster, but we lost the ability logging of possible slow "BEGIN" statements. As this should never happen it can be ignored.
-
Michael Widenius authored
mysql-test/suite/rpl/t/rpl_heartbeat_basic.test: Added sync_slave_with_master to remove timing problem
-
Jan Lindström authored
as it is not used/implemented.
-
Jan Lindström authored
-
Jan Lindström authored
that we can later use it to avoid unnecessary trim operations.
-
unknown authored
Patch from Tomas Matejicek Add missing error code to is_networ_error(), to allow slave to automatically attempt reconnection also in this case.
-
unknown authored
-
unknown authored
-
unknown authored
The problem was when a GTID event was part of a group commit, and so contained a commit id. The code that replaces GTID with a BEGIN event for old slaves did not correctly handle this case. Fix the code so that the GTID with commit id can also be properly replaced with a BEGIN query event. The extra two bytes are in the BEGIN event replaced with a dummy, empty time zone string.
-
Sergey Petrunya authored
- Make do_fill_table() use join_tab->cache_select->cond if it is present. When join_tab->cache_select->cond is present, join_tab->select_cond doesn't have any conditions that are usable for I_S optimizations.
-
unknown authored
Older master has no GTID events, so such events are not available for deciding on scheduling of event groups and so on. With this patch, we run such events from old masters single-threaded, in the sql driver thread. This seems better than trying to make the parallel code handle the data from older masters; while possible, this would require a lot of testing (as well as possibly some extra overhead in the scheduling of events), which hardly seems worthwhile.
-
Sergei Golubchik authored
-
- 03 Mar, 2014 2 commits
-
-
Sergey Petrunya authored
- Fix valgrind failure: make test_if_order_by_key() account for extended keys feature.
-
Jan Lindström authored
individual queue's. Tried to minimize memory allocation from heap whenever it is unnecessary.
-