[ZBX-24318] Slow LLD of hosts due to inefficient name comparison Created: 2024 Apr 05 Updated: 2024 Jun 07 Resolved: 2024 Jun 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | 7.0.1rc1, 7.2.0alpha1 |
Type: | Problem report | Priority: | Trivial |
Reporter: | Vladislavs Sokurenko | Assignee: | Vladislavs Sokurenko |
Resolution: | Fixed | Votes: | 3 |
Labels: | None | ||
Remaining Estimate: | 0.25m | ||
Time Spent: | Not Specified | ||
Original Estimate: | 0.25m |
Attachments: |
![]() |
||||
Issue Links: |
|
||||
Team: | |||||
Sprint: | S24-W22/23 | ||||
Story Points: | 0.5 |
Description |
When discovering hosts they are checked for duplicates by iterating through all hosts for each host, this is very inefficient and takes long time, hashes should be used instead. LLD for 100k hosts. Before (takes unreasonably long 715 seconds): After patch it is finished in reasonable 53 seconds: |
Comments |
Comment by Sergey [ 2024 May 07 ] |
Fix pls for 6.4.* |
Comment by Andrey Bitnyy [ 2024 May 09 ] |
Same problem. I would not like to wait for version 7. |
Comment by Artem Isaenko [ 2024 May 10 ] |
+1 Can’t just change the OS to quickly update to 7.0 after release, because it’s a production environment. Can we expect a fix to be released in version 6.4? |
Comment by Venos [ 2024 May 13 ] |
+1 Have the same problem. Indeed, a solution to this problem is desirable in version 6.4 |
Comment by Vladislavs Sokurenko [ 2024 May 29 ] |
Pure host discovery After: |
Comment by Vladislavs Sokurenko [ 2024 Jun 06 ] |
Fixed in:
|