rspec/rules/S3515/cobol/rule.adoc
Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

27 lines
822 B
Plaintext

== Why is this an issue?
Updating the value of a column that is part of a partitioning index could force the database to move a row from one partition to another. The move operation itself might be costly, but even worse without regularly updating the DB statistics, many updates like this might impact the performance of subsequent SQL requests that use the partitioning index.
*Note* This rule raises issues only when a database catalog is provided during the SonarQube analysis.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Do not set the value[s] of column[s] "xxx"[, "yyy"...] which [is|are] used in [a partitioning index|partitioning indexes].
=== Highlighting
primary: column name
secondary: "UPDATE"
endif::env-github,rspecator-view[]