Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-17

optimize metadata read

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.1
    • DBAPI 2.0
    • None

    Description

      python need the "string" part of metadata only when cursor method .description() is called.

      It seems to me that those string are always read by c/c : https://github.com/MariaDB/mariadb-connector-c/blob/master/libmariadb/mariadb_lib.c#L782
      If this is the case, keeping the buffer then creating string only when asked might speed up result-set.
      (7% perf improvement when querying mysql.user table on java connector).

      Attachments

        Activity

          People

            georg Georg Richter
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.