Bug 1537733
Summary: | Region size of 10,000 Objects Supportable for VMware Provider | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | myoder | |
Component: | Providers | Assignee: | Gregg Tanzillo <gtanzill> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tasos Papaioannou <tpapaioa> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.8.0 | CC: | aabradsh, akarol, cpelland, dmetzger, gblomqui, gtanzill, jfrey, jhardy, kbrock, ldixon, mfeifer, myoder, obarenbo, rovalent, simaishi, smallamp | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1553472 1553473 (view as bug list) | Environment: | ||
Last Closed: | 2019-02-11 14:06:31 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | Bug | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | VMware | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1553472, 1553473 |
Comment 8
Keenan Brock
2018-02-09 21:22:28 UTC
I stand corrected, metric_rollups is the less efficient one. Which seems to be working for you. metrics on the other hand is tuned pretty well. I'm guessing table contention is the issue. The batch size is probably your best bet. That is controlled by performance.history.purge_window_size It defaults to 1000 - which seems low. I'd change that to 10k I had expected that it would be too high for you, and having table contention. but a value that low will require too many updates. a bigger batch size should speed that up Question: Have you tried vacuuming the database? Reasoning: I went in to get a look at the tables and noticed that it took 14 seconds to do a count of just one of them. explain analyze select count(*) from metrics_21; QUERY PLAN ------------------------------------------------------------------------------------------------------------------------------- Aggregate (cost=496204.62..496204.64 rows=1 width=0) (actual time=14397.077..14397.077 rows=1 loops=1) -> Seq Scan on metrics_21 (cost=0.00..480741.90 rows=6185090 width=0) (actual time=9.232..13290.674 rows=6185090 loops=1) Planning time: 0.782 ms Execution time: 14397.241 ms The explain text for the truncate statement looks very large. will look into reducing that. *** Bug 1547161 has been marked as a duplicate of this bug. *** Verified on 5.10.0.22. |