Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-3250

it's slow in using preparedstmt cache by jdbc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • 2.4
    • client-jdbc-t4
    • None

    Description

      when set maxStatements_ > 0 , it will open preparedstmt cache function. then I open trafci 'using timing' function, and do prepare s from select * from tbl, it cost much time than i close preparedstmt cache.

      the reason is when get pstmt from cache, it will do a network connection to get current schema name, while it has already been cache in local.

      Attachments

        Issue Links

          Activity

            People

              shengchen.ma mashengchen
              shengchen.ma mashengchen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: