rspec/rules/S1070/plsql/rule.adoc

20 lines
502 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
The ``++result_cache++`` Oracle hint can vastly improve performance, but it comes at the cost of extra memory consumption, so one should double-check that the gain in performance is significant, and avoid overusing this feature in general.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
SELECT /*+ result_cache */ * FROM DUAL; -- Noncompliant
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
endif::env-github,rspecator-view[]