Clear history and trends

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 3.2.3
    • Component/s: Server (S)
    • None
    • Environment:
      Centos 7, mariadb

      Hello!

      Tried Clear history and trends for several elements,
      it results in:

      [Z3005] query failed: [1205] Lock wait timeout exceeded; try restarting transaction [insert into history (itemid,clock,ns,value)

      Looks like delete query takes too long and, thus, blocks tables.

      I guess I may need some database tuning, but, is it possible to do something to reduce block time, f.e. split queries from one to several?

      Thank you!

            Assignee:
            Unassigned
            Reporter:
            sles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: