Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5455

Result Set Cache Hit Ratio % doesn't calculate for Odata/Odata4 queries

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.12.14.6_4
    • Fix Version/s: 11.1
    • Component/s: OData
    • Labels:
      None

      Description

      The Result Set Cache Hit Ratio percentage metric appears to only use JDBC and ODBC connections in the calculation. Connected via JDBC with resultSetCacheMode=true Connection property and ran the same query a few times and it shows values in the Management Console for Hit Ratio %, Total Entries and Request Count. The same result when using vdb property "<property name="connection.resultSetCacheMode" value="true"/>" and ODBC connection. But after adding the init-param connection property[1] to the web.xml of the teiid-olingo-odata4.war and restarting the server. Then running the same odata4 query a few times only values show for Total Entries and Request Count, the Hit Ratio is still at 0.0. Is this intended behavior? Or should Odata and Odata4 queries be included in the Ratio?

      [1]
      <init-param>
      <param-name>connection.resultSetCacheMode</param-name>
      <param-value>true</param-value>
      </init-param>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                dsteigne Deborah Steigner
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: