[ZBX-22363] Slow configuration sync after upgrade from 5 to 6 Created: 2023 Feb 15 Updated: 2024 Apr 10 Resolved: 2023 May 16 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F), Proxy (P), Server (S) |
Affects Version/s: | 6.0.13 |
Fix Version/s: | 6.0.17rc1, 6.4.2rc1, 7.0.0alpha1, 7.0 (plan) |
Type: | Problem report | Priority: | Blocker |
Reporter: | Aleksandrs Petrovs-Gavrilovs | Assignee: | Vladislavs Sokurenko |
Resolution: | Fixed | Votes: | 12 |
Labels: | Oracle | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||
Team: | |||||||||||||||||||||
Sprint: | Sprint 98 (Mar 2023), Sprint 99 (Apr 2023) | ||||||||||||||||||||
Story Points: | 2 |
Description |
Comments |
Comment by Vladislavs Sokurenko [ 2023 Mar 01 ] |
a) New NCLOB fields may cause this problem, is it possible to revert these field back to NVARCHAR2? Yes it is possible if data that is used fits in all fields. Was it confirmed that changing to NCLOB alone in 5.0 introduces this problem or do you think this is because of other query changes ? nclob was added in |
Comment by Vladislavs Sokurenko [ 2023 Mar 02 ] |
If it's not too much to ask, if test instance exists and it is possible to test performance then please try building 6.0 with a patch 0001-.-ZBX-22363-fixed-dbschema-and-dbpatch-for-testing.patch |
Comment by Vladislavs Sokurenko [ 2023 Mar 13 ] |
Root cause for a problem is that in |
Comment by Vladislavs Sokurenko [ 2023 Mar 15 ] |
Wonder if something like this can do the trick: select i.itemid, i.hostid, i.status, i.type, i.value_type, i.key_, i.snmp_oid, i.ipmi_sensor, i.delay, i.trapper_hosts, i.logtimefmt, CASE WHEN i.type in (13,14,11,15) THEN i.params ELSE NULL end, ir.state, i.authtype, i.username, i.password, i.publickey, i.privatekey, i.flags, i.interfaceid, ir.lastlogsize, ir.mtime, i.history, i.trends, i.inventory_link, i.valuemapid, i.units, ir.error, i.jmx_endpoint, i.master_itemid, i.timeout, i.url, i.query_fields, CASE WHEN i.type in (19) THEN i.posts ELSE NULL end, i.status_codes, i.follow_redirects, i.post_type, i.http_proxy, CASE WHEN i.type in (19) THEN i.headers ELSE NULL end, i.retrieve_mode, i.request_method, i.output_format, i.ssl_cert_file, i.ssl_key_file, i.ssl_key_password, i.verify_peer, i.verify_host, i.allow_traps, i.templateid, null from items i inner join hosts h on i.hostid=h.hostid join item_rtdata ir on i.itemid=ir.itemid where h.status in (0,1) and i.flags<>2; |
Comment by Vladislavs Sokurenko [ 2023 Mar 22 ] |
Fixed in pull request feature/ZBX-22363-6.0-3 |
Comment by Karol Woronowicz [ 2023 Mar 29 ] |
The same situation exists on a large environment on postgres14. |
Comment by Alex Kalimulin [ 2023 Mar 29 ] |
karol97, this problem has been identified as Oracle-specific. If you experience slow configuration sync on Postgres, perhaps, it is another problem that deserves a separate ticket. |
Comment by Vladislavs Sokurenko [ 2023 Apr 04 ] |
Fixed in:
|
Comment by LivreAcesso.Pro [ 2023 Apr 05 ] |
Same issue on PostgreSQL: |
Comment by Marina Generalova [ 2023 Apr 06 ] |
Documentation updated:
|