Growing stix_ids list performance impact #9974
Labels
needs triage
use to identify issue needing triage from Filigran Product team
question
Further information is requested
Prerequisites
Description
We have an OpenCTI instance which has been running for a long time. The performance of this instance has degraded considerably and some queries take a long time and sometimes they time out. Also ingesting bundles created by some of the connectors has become really slow.
I observed that there are many objects with a growing
stix_ids
list caused by connectors automatically importing the same objects multiple times, but each time with a different randomly generatedstandard_id
. We have been running several connectors with such behavior, and we have many objects with hundreds of ids in theirstix_ids
list.My question is that could this be a major reason for the performance degradation that we have observed in our instance?
Environment
Reproducible Steps
stix_ids
attribute of the object gets larger each timeAdditional information
We have already started fixing our custom connectors by using the
generate_id
method included for many of the object types in thepycti
library. This should prevent thestix_ids
list from growing, since thestandard_id
should be the same every time.I also found some previous discussion about this, but none of it had direct answer regarding degraded performance
The text was updated successfully, but these errors were encountered: