You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one wants to fetch all attributes of a certain type, it seems the recommended approach is through the use of page and limit parameters, iterating through pages until the returned amount of attributes is less than limit.
As an example, I have more than 5 mio attributes of type md5 in my instance and want to fetch all of them.
From experiments it seems regardless of the value of limit, the search time increases, measured as such:
Please do not pay attention to the actual values, but more the clear trend of queries taking longer and longer as pages are iterated.
Below I have included some of the configuration parameters I found relevant. From htop it does not seem like CPU or memory resources are exhausted, however, I am not an expert in interpreting it.
If one wants to fetch all attributes of a certain type, it seems the recommended approach is through the use of
page
andlimit
parameters, iterating through pages until the returned amount of attributes is less thanlimit
.As an example, I have more than 5 mio attributes of type
md5
in my instance and want to fetch all of them.From experiments it seems regardless of the value of
limit
, the search time increases, measured as such:Example output (see attachment for full output):
Please do not pay attention to the actual values, but more the clear trend of queries taking longer and longer as pages are iterated.
Below I have included some of the configuration parameters I found relevant. From htop it does not seem like CPU or memory resources are exhausted, however, I am not an expert in interpreting it.
php memory_limit is set to 8192 MB.
/etc/my.cnf.d/server.cnf
:MISP version 2.4.198
PyMISP version 2.5.1
MariaDB version 11.4.3
Full print output:
output.txt
Please let me know if you need anymore information or if this issue belongs to the MISP project instead.
The text was updated successfully, but these errors were encountered: