Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.6, 10.2.0, 10.3.0, 10.4.0, 10.5.0
-
None
Description
Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table.
Call graphs:
- 0.14% mysqld mysqld
|
- wsrep_on
|
+ 28.85% ha_innobase::general_fetch(unsigned char*, unsigned int, unsigned int)
|
+ 26.34% handler::ha_index_next(unsigned char*)
|
+ 19.48% handler::index_read_idx_map(unsigned char*, unsigned int, unsigned char const*, unsigned long, ha_rkey_function)
|
+ 13.60% ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function)
|
+ 9.40% handler::ha_index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function)
|
+ 2.15% innobase_commit(handlerton*, THD*, bool)
|
wsrep_on() is the one defined in wsrep_mysqld.cc. Most time spent for function call convention. I guess all calls come from InnoDB. Either call WSREP() or cache wsrep_on() value.
Attachments
Issue Links
- causes
-
MDEV-22452 Missing call to wsrep_commit_ordered in trx_t::commit
-
- Closed
-
- relates to
-
MDEV-22203 WSREP_ON is unnecessarily expensive to evaluate
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | MDEV-7941 [ 50796 ] |
Description |
Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table. Call graphs: {noformat} - 0.14% mysqld mysqld - wsrep_on + 28.85% ha_innobase::general_fetch(unsigned char*, unsigned int, unsigned int) + 26.34% handler::ha_index_next(unsigned char*) + 19.48% handler::index_read_idx_map(unsigned char*, unsigned int, unsigned char const*, unsigned long, ha_rkey_function) + 13.60% ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) + 9.40% handler::ha_index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function) + 2.15% innobase_commit(handlerton*, THD*, bool) {noformat} wsrep_on() is the one defined in wsrep_mysqld.cc. I guess all calls come from InnoDB. Either call WSREP() or cache wsrep_on() value. |
Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table. Call graphs: {noformat} - 0.14% mysqld mysqld - wsrep_on + 28.85% ha_innobase::general_fetch(unsigned char*, unsigned int, unsigned int) + 26.34% handler::ha_index_next(unsigned char*) + 19.48% handler::index_read_idx_map(unsigned char*, unsigned int, unsigned char const*, unsigned long, ha_rkey_function) + 13.60% ha_innobase::index_read(unsigned char*, unsigned char const*, unsigned int, ha_rkey_function) + 9.40% handler::ha_index_read_map(unsigned char*, unsigned char const*, unsigned long, ha_rkey_function) + 2.15% innobase_commit(handlerton*, THD*, bool) {noformat} wsrep_on() is the one defined in wsrep_mysqld.cc. Most time spent for function call convention. I guess all calls come from InnoDB. Either call WSREP() or cache wsrep_on() value. |
Fix Version/s | 10.1 [ 16100 ] |
Workflow | MariaDB v2 [ 60417 ] | MariaDB v3 [ 66835 ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.1 [ 16100 ] |
Assignee | Nirbhay Choubey [ nirbhay_c ] | Sachin Setiya [ sachin.setiya.007 ] |
Assignee | Sachin Setiya [ sachin.setiya.007 ] | Jan Lindström [ jplindst ] |
Link |
This issue is duplicated by |
Affects Version/s | 10.5.0 [ 23709 ] | |
Affects Version/s | 10.4.0 [ 23115 ] | |
Affects Version/s | 10.3.0 [ 22127 ] | |
Affects Version/s | 10.2.2 [ 22013 ] | |
Affects Version/s | 10.1.17 [ 22102 ] | |
Affects Version/s | 10.1 [ 16100 ] | |
Assignee | Jan Lindström [ jplindst ] | Seppo Jaakola [ seppo ] |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Affects Version/s | 10.2.0 [ 20700 ] | |
Affects Version/s | 10.1.6 [ 19401 ] | |
Affects Version/s | 10.2.2 [ 22013 ] | |
Affects Version/s | 10.1.17 [ 22102 ] |
Assignee | Seppo Jaakola [ seppo ] | Marko Mäkelä [ marko ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
issue.field.resolutiondate | 2020-04-27 14:46:09.0 | 2020-04-27 14:46:09.438 |
Fix Version/s | 10.1.45 [ 23913 ] | |
Fix Version/s | 10.2.32 [ 24221 ] | |
Fix Version/s | 10.3.23 [ 24222 ] | |
Fix Version/s | 10.4.13 [ 24223 ] | |
Fix Version/s | 10.5.3 [ 24263 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue causes |
Workflow | MariaDB v3 [ 66835 ] | MariaDB v4 [ 149035 ] |