mariadb/storage/innobase
unknown 0ea6669e04 Applied innodb-5.1-ss1004
Fixes:
- Bug #15815: Very poor performance with multiple queries running concurrently
- Bug #22868: 'Thread thrashing' with > 50 concurrent conns under an upd-intensive workloadw
- Bug #24089: Race condition in fil_flush_file_spaces()


storage/innobase/btr/btr0btr.c:
  Applied innodb-5.1-ss1004
  
  Revision r934:
  btr_lift_page_up(): Set new page levels in all ancestor pages, not just
  in the father page.
  
  btr0btr.h: Add a BTR_MAX_LEVELS define.
storage/innobase/buf/buf0buf.c:
  Applied innodb-5.1-ss1004
  
  Revision r999:
  Reduce buffer pool mutex contention under >= 4 big concurrent
  CPU-bound SELECT queries.  (Bug #22868)
  
  Fix: replace the mutex by one mutex protecting the 'flush list'
  (and the free list) and several mutexes protecting portions of the
  buffer pool, where we keep several indivudual LRU lists of pages.
  
  This patch is from Sunny Bains and Heikki Tuuri.
storage/innobase/buf/buf0flu.c:
  Applied innodb-5.1-ss1004
  
  Revision r999:
  Reduce buffer pool mutex contention under >= 4 big concurrent
  CPU-bound SELECT queries.  (Bug #22868)
  
  Fix: replace the mutex by one mutex protecting the 'flush list'
  (and the free list) and several mutexes protecting portions of the
  buffer pool, where we keep several indivudual LRU lists of pages.
  
  This patch is from Sunny Bains and Heikki Tuuri.
storage/innobase/buf/buf0lru.c:
  Applied innodb-5.1-ss1004
  
  Revision r999:
  Reduce buffer pool mutex contention under >= 4 big concurrent
  CPU-bound SELECT queries.  (Bug #22868)
  
  Fix: replace the mutex by one mutex protecting the 'flush list'
  (and the free list) and several mutexes protecting portions of the
  buffer pool, where we keep several indivudual LRU lists of pages.
  
  This patch is from Sunny Bains and Heikki Tuuri.
  
  
  Revision r1004:
  UT_LIST_REMOVE(): Invalidate the node pointers #ifdef UNIV_DEBUG.
  
  buf_LRU_invalidate_tablespace(): Invoke UT_LIST_GET_PREV(LRU, block)
  before UT_LIST_REMOVE(LRU, buf_pool->LRU, block).
storage/innobase/dict/dict0crea.c:
  Applied innodb-5.1-ss1004
  
  Revision r973:
  Do not break the latching order in TRUNCATE TABLE.
  
  dict_truncate_index_tree(): Replace parameter rec_t* rec with
  btr_pcur_t* pcur.  Reposition pcur before calling btr_create().
  
  sync_thread_add_level(): Remove the relaxation of the assertion added in r968.
storage/innobase/fil/fil0fil.c:
  Applied innodb-5.1-ss1004
  
  Revision r1002:
  fil_flush_file_spaces(): Copy the system->unflushed_spaces list to an
  array while holding the mutex.  This removes the crash-triggering
  race condition that was introduced when fixing Bug 15653.  (Bug #24089)
storage/innobase/include/btr0btr.h:
  Applied innodb-5.1-ss1004
  
  Revision r934:
  btr_lift_page_up(): Set new page levels in all ancestor pages, not just
  in the father page.
  
  btr0btr.h: Add a BTR_MAX_LEVELS define.
storage/innobase/include/buf0buf.h:
  Applied innodb-5.1-ss1004
  
  Revision r999:
  Reduce buffer pool mutex contention under >= 4 big concurrent
  CPU-bound SELECT queries.  (Bug #22868)
  
  Fix: replace the mutex by one mutex protecting the 'flush list'
  (and the free list) and several mutexes protecting portions of the
  buffer pool, where we keep several indivudual LRU lists of pages.
  
  This patch is from Sunny Bains and Heikki Tuuri.
storage/innobase/include/buf0buf.ic:
  Applied innodb-5.1-ss1004
  
  Revision r999:
  Reduce buffer pool mutex contention under >= 4 big concurrent
  CPU-bound SELECT queries.  (Bug #22868)
  
  Fix: replace the mutex by one mutex protecting the 'flush list'
  (and the free list) and several mutexes protecting portions of the
  buffer pool, where we keep several indivudual LRU lists of pages.
  
  This patch is from Sunny Bains and Heikki Tuuri.
storage/innobase/include/dict0crea.h:
  Applied innodb-5.1-ss1004
  
  Revision r973:
  Do not break the latching order in TRUNCATE TABLE.
  
  dict_truncate_index_tree(): Replace parameter rec_t* rec with
  btr_pcur_t* pcur.  Reposition pcur before calling btr_create().
  
  sync_thread_add_level(): Remove the relaxation of the assertion added in r968.
storage/innobase/include/ut0lst.h:
  Applied innodb-5.1-ss1004
  
  Revision r1004:
  UT_LIST_REMOVE(): Invalidate the node pointers #ifdef UNIV_DEBUG.
  
  buf_LRU_invalidate_tablespace(): Invoke UT_LIST_GET_PREV(LRU, block)
  before UT_LIST_REMOVE(LRU, buf_pool->LRU, block).
storage/innobase/row/row0mysql.c:
  Applied innodb-5.1-ss1004
  
  Revision r973:
  Do not break the latching order in TRUNCATE TABLE.
  
  dict_truncate_index_tree(): Replace parameter rec_t* rec with
  btr_pcur_t* pcur.  Reposition pcur before calling btr_create().
  
  sync_thread_add_level(): Remove the relaxation of the assertion added in r968.
2006-11-09 05:01:19 +01:00
..
btr Applied innodb-5.1-ss1004 2006-11-09 05:01:19 +01:00
buf Applied innodb-5.1-ss1004 2006-11-09 05:01:19 +01:00
data Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
dict Applied innodb-5.1-ss1004 2006-11-09 05:01:19 +01:00
dyn Applied innodb-5.1-ss269 snapshot. 2006-03-10 19:22:21 +03:00
eval Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
fil Applied innodb-5.1-ss1004 2006-11-09 05:01:19 +01:00
fsp Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
fut Applied InnoDB 5.1 snapshot ss787. 2006-09-05 03:52:15 +02:00
ha Applied InnoDB 5.1 snapshot ss787. 2006-09-05 03:52:15 +02:00
handler Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2006-11-02 17:51:59 -05:00
ibuf Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
include Applied innodb-5.1-ss1004 2006-11-09 05:01:19 +01:00
lock Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
log Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
mach Applied innodb-5.1-ss269 snapshot. 2006-03-10 19:22:21 +03:00
mem Apply InnoDB snapshot ss923 2006-10-20 12:36:15 -06:00
mtr Apply InnoDB snapshot ss923 2006-10-20 12:36:15 -06:00
os Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
page Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
pars Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
que Applied InnoDB 5.1 snapshot ss787. 2006-09-05 03:52:15 +02:00
read Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
rem Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
row Applied innodb-5.1-ss1004 2006-11-09 05:01:19 +01:00
srv Merge mysql.com:/Users/emurphy/src/mysql/clean/mysql-5.0-maint-gca 2006-09-27 17:20:45 -04:00
sync Apply InnoDB snapshot ss923 2006-10-20 12:36:15 -06:00
thr Applied InnoDB 5.1 snapshot ss787. 2006-09-05 03:52:15 +02:00
trx Applied innodb-5.1 snapshots ss799 and ss854 2006-09-21 01:39:09 -06:00
usr Applied innodb-5.1-ss269 snapshot. 2006-03-10 19:22:21 +03:00
ut Applied InnoDB snapshot 5.1-ss927 2006-10-20 13:44:49 -06:00
CMakeLists.txt Warning fixes for Windows, and an include fix for Windows for Innodb. 2006-09-07 16:17:16 -07:00
Makefile.am Bug#22417 2006-09-18 19:31:08 -07:00
plug.in bug #23369 (Embedded library can't be linked) 2006-10-18 17:03:37 +05:00