Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1(EOL)
-
None
Description
Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table.
Call graphs:
- 0.37% mysqld libc-2.15.so
|
- __strcmp_sse42
|
+ 43.10% Protocol::store_string_aux(char const*, unsigned long, charset_info_st const*, charset_info_st const*)
|
+ 27.26% ha_innobase::change_active_index(unsigned int)
|
+ 20.46% open_table(THD*, TABLE_LIST*, Open_table_context*)
|
+ 7.66% ha_innobase::records_in_range(unsigned int, st_key_range*, st_key_range*)
|
+ 1.52% Item::set_name(char const*, unsigned int, charset_info_st const*)
|
Protocol::store_string_aux() calls my_charset_same(), which does strcmp(). This can be optimized out.