Bug 536648 (RHQ-977)
Summary: | groupby expressions that return more than 1000 unique results in SQLGrammarException | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Joseph Marques <jmarques> |
Component: | Resource Grouping | Assignee: | Joseph Marques <jmarques> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Pavel Kralik <pkralik> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.1 | CC: | mvecera |
Target Milestone: | --- | Keywords: | SubBug |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-977 | ||
Whiteboard: | |||
Fixed In Version: | 1.2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 536002 |
Description
Joseph Marques
2008-10-14 14:53:00 UTC
rev2547 - fix helper method used by group definition processing mechanism to subvert ORA-01795 issue during addition and/or removal of more than 1000 numbers of members to the dynagroup; to test this, generate a large inventory. then use the expression: groupby resource.type.plugin calculate these results. if any of the resource groups that are created as a result have more than 1000 members, then this bug has been verified fixed. if you don't have more than 1000 members in any groups, add more resources to your inventory, and then recalculate. repeat this step until you've achieved the needed size. I populate a postgres db with 1000 additional tables, took it into inventory and recalculated an expression. Total number of members in the Postgres group was 1118. It recalculated all the groups without an error. RHEL5.2, x86_64, PostgreSQL 8.1.11 This bug was previously known as http://jira.rhq-project.org/browse/RHQ-977 |