Skip to content

When creating Graphs, the process may become slower over time as more items exist #5451

@TheWitness

Description

@TheWitness

Describe the bug

As reported by a user, he found that as more graphs got created, Cacti became progressively slower. I've reviewed the query and found it flawed and missing an important join attribute. Problem is reported here:

http://forums.cacti.net/viewtopic.php?p=291546#p291546

To Reproduce

Steps to reproduce the behavior:

  1. Create many thousands of graphs user add_graphs.php CLI script for Data Query graphs searching for a specific 'data_source_name'

  2. Watch as Cacti get's slower and slower as more are created.

Expected behavior

Cacti should handle these queries very quickly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamperformancePerformance related affects big sitesresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions