Avoid Artifacts with SQL statement including subqueries | CAST Appmarq

Avoid Artifacts with SQL statement including subqueries


Rule Definition
Having complex queries in Artifacts can cause performance problems. Queries with subqueries are considered complex.

Remediation
Review the design of the query to avoid if possible Subqueries

Reference
http://it-cisq.org/ CISQ: ASCPEM-PRF-04

Related Technologies
DB2 Server Forms Visual Basic Cobol PL/SQL JEE Microsoft T-SQL Sybase T-SQL DB2 z/OS

Health Factor

  Efficiency


Technical Criterion
CWE-1049 - Excessive Data Query Operations in a Large Data Table

About CAST Appmarq

CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.

Benchmark Statistics

Global Compliance

91.97%

Total Violations
258,821
Total Opportunities
3,221,555
Average Violations / App.
175.71
The compliance score represents 1 minus the ratio between the number of times a rule has been violated compared to the number of opportunities in a set of applications that the rule could have been violated.

Industry Insights

Select from drop-down

91.86%

Financial Services

91.73%

Insurance

90.57%