Ad Widget

Collapse

Deleting items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • safl
    Senior Member
    • May 2005
    • 103

    #1

    Deleting items

    Hello!

    I am having performance hits when deleting items, since the delete_item also deletes the entire history+trends for the given item.

    I'f i remove the function calls to delete_history and delete_trends. Will the History + trends be deleted on housekeeping? Since i only keep one day of history i can live with having deprecated data until housekeeping starts.
    Or is there a better workaround?

    Since this would speed up several procedures i am very interested in the answer.

    Regards,
    Simon
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I'm improving housekeeping to deal with such situations soon. No item history data will be removed immediately.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • safl
      Senior Member
      • May 2005
      • 103

      #3
      Sounds great!
      Any idea as of when it will be available?

      Could it be expanded like this:

      If an item is deleted include an option of not deleting any history / trends. So if the item is added again one would still have all of the old history / trends? Or is this a sidestep? I guess it could potentially fill up the DB with unused data.

      Comment

      Working...