Zu viele Elemente in der IN-Liste
Too many elements in the IN list
Bislang wurde der InList-Algorithmus vom Optimierer nur dann verwendet, wenn alle Elemente der IN-Liste entweder konstante Werte waren oder zum Zeitpunkt der Optimierung als konstante Werte ausgewertet werden konnten.
Previously, the InList algorithm was used by the optimizer only if all of the elements of the IN list were either constant values or could be evaluated at optimization time to a constant value.
Damit die Optimierung aktiviert werden kann, darf die IN-Liste nur Konstanten enthalten.
To enable the optimization, the IN-list must contain only constants.
Zweitens kann der Optimierer die IN-Liste sortieren, damit sie mit der Sortierfolge des Indexes übereinstimmt, was einen effizienteren Abruf zur Folge hat.
Second, the optimizer can sort the IN-list to match the sort sequence of the index, leading to more efficient retrieval.
Um die Optimierung zu aktivieren, darf die IN-Liste nur Konstanten oder Werte enthalten, die während der Ausführung eines Abfrageblocks konstant bleiben, wie z.B. äußere Referenzen.
To enable the optimization, the IN-list must contain only constants, or values that are constant during one execution of the query block, such as outer references.
Wenn der Optimierer beschließt, keinen Index zu verwenden, um dem IN-Prädikat zu entsprechen (weil möglicherweise ein anderer Index eine bessere Performance liefert), dann erscheint die IN-Liste in einem Filter als Prädikat.
If the optimizer chooses not to use an index to satisfy the IN predicate (perhaps because another index gives better performance), then the IN List appears as a predicate in a filter.
Aus der IN-Liste werden Zeilen abgerufen und zur Untersuchung der Tabelle "Employees" verwendet.
Rows are fetched from the IN list and used to probe the Employees table.
Infolgedessen behandelt der Optimierer die IN-Liste als virtuelle Tabelle und verknüpft diese virtuelle Tabelle über das Attribut "SalesRepresentative" mit der Tabelle "SalesOrders".
Consequently, the optimizer treats the IN-list as a virtual table, and joins this virtual table to the SalesOrders table on the SalesRepresentative attribute.
Daher behandelt der Optimierer die IN-Liste als virtuelle Tabelle und verknüpft diese virtuelle Tabelle über das Attribut "SalesRepresentative" mit der Tabelle "SalesOrders".
So, the optimizer treats the IN-list as a virtual table, and joins this virtual table to the SalesOrders table on the SalesRepresentative attribute.
Wenn die Abfrage beispielsweise eine große IN-Liste enthält, können Sie die Werte der IN-Liste in eine temporäre Datei einfügen.
For example, if the query contains a large IN-list, consider inserting the IN-list's values into a temporary table.
Erweiterungen des InList-Algorithmus Bislang wurde der InList-Algorithmus vom Optimierer nur verwendet, wenn alle Elemente der IN-Liste entweder konstante Werte waren oder zum Zeitpunkt der Optimierung als konstante Werte ausgewertet werden konnten.
Enhancements to the InList algorithm Previously, the InList algorithm was used by the optimizer only if all the elements of the IN list were either constant values or could be evaluated at optimization time to a constant value.
Um die Optimierung zu aktivieren, darf die IN-Liste nur Konstanten oder Werte enthalten, die während der Ausführung eines Abfrageblocks konstant bleiben, wie z.B. äußere Referenzen.
To enable the optimization, the IN-list must contain only constants, or values that are constant during one execution of the query block, such as outer references.
Wenn die Abfrage beispielsweise eine große IN-Liste enthält, können Sie die Werte der IN-Liste in eine temporäre Datei einfügen.
For example, if the query contains a large IN-list, consider inserting the IN-list's values into a temporary table.