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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 11.1
    • 8.12.14.6_4
    • OData
    • None

      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>

              rhn-engineering-shawkins Steven Hawkins
              rhn-support-dsteigner Deborah Steigner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: