Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12425

Inifinispan + JDBC cachestore runs statistic collection on Oracle DB

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 11.0.4.Final
    • Loaders and Stores
    • None
    • Undefined

      In class OracleTableManager at string 61 there is:

      rs = meta.getIndexInfo(null, null, tableName.toString(), false, false);

      last parameter is approximate (when true, result is allowed to reflect approximate or out of data values; when false, results are requested to be accurate)

      When Oracle DB used for JDBC cachestore and this parameter == false, then during startup Infinispan runs statistic gathering for every cache table. As a result it spends a lot of time during startup.

      I think that parameter "approximate" must be changed to true:

      rs = meta.getIndexInfo(null, null, tableName.toString(), false, true);

      in this case Oracle uses existing metainformation of the table.

       

       

              remerson@redhat.com Ryan Emerson
              c0ff75 Evgenii Balakhonov (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: