Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-7961

Protocol::store_string_aux() takes 0.14% in OLTP RO

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.1
    • Fix Version/s: 10.1
    • Component/s: None
    • Labels:
      None

      Description

      Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table.

      Call graphs:

      -   0.14%  mysqld  mysqld
         - Protocol::store_string_aux(char const*, unsigned long, charset_info_st const*, charset_info_st const*)
            + 53.86% Protocol_text::store(Field*) [clone .part.95]
            + 22.51% Protocol::send_result_set_metadata(List<Item>*, unsigned int)
            + 13.35% Protocol::send_result_set_row(List<Item>*)
            + 9.62% select_send::send_result_set_metadata(List<Item>&, unsigned int)
            + 0.67% Item::send(Protocol*, String*)
      

      Most time spent for function call convention. Good candidate for inlining?

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                svoj Sergey Vojtovich
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: