DE Der Cost-Wert ist mit 680 sogar höher als beim Ausführungsplan ohne Index (477). Daher bevorzugt der Optimizer in dieser Situation automatisch den Ausführungsplan mit der TABLE ACCESS FULL Operation.
DE Der Cost-Wert ist mit 680 sogar höher als beim Ausführungsplan ohne Index (477). Daher bevorzugt der Optimizer in dieser Situation automatisch den Ausführungsplan mit der TABLE ACCESS FULL Operation.
EN The cost value of 680 is even higher than the cost value for the execution plan using the FULL TABLE SCAN (477). The optimizer will therefore automatically prefer the FULL TABLE SCAN.
Jerman | bahasa Inggris |
---|---|
bevorzugt | prefer |
optimizer | optimizer |
automatisch | automatically |
table | table |
full | full |
cost | cost |
wert | value |
in | using |
ist | is |
daher | therefore |
den | the |
DE Der Optimizer, auch Query Planner genannt, ist jene Datenbank-Komponente, die den Ausführungsplan für eine SQL-Anweisung erstellt. Dieser Vorgang wird auch „compiling“ oder „parsing“ genannt. Man unterscheidet zwei Optimizer-Varianten.
EN The query optimizer, or query planner, is the database component that transforms an SQL statement into an execution plan. This process is also called compiling or parsing. There are two distinct optimizer types.
Jerman | bahasa Inggris |
---|---|
query | query |
komponente | component |
sql | sql |
vorgang | process |
genannt | called |
oder | or |
datenbank | database |
eine | an |
auch | also |
ist | is |
zwei | two |
DE Zur Kontrolle kann man den sogenannten Ausführungsplan heranziehen.
EN We can use the so-called execution plan for verification:
Jerman | bahasa Inggris |
---|---|
sogenannten | so-called |
kontrolle | verification |
kann | can |
DE Der folgende Ausführungsplan wurde mit dem last_explained-View erstellt, den wir im Anhang vorstellen.
EN The following execution plan was gathered with the last_explained view available from the appendix.
Jerman | bahasa Inggris |
---|---|
anhang | appendix |
view | view |
folgende | the |
mit | with |
wurde | was |
DE An einem PostgreSQL Ausführungsplan kann man nicht erkennen, ob der Indexzugriff potenziell mehr als eine Zeile liefern könnte.
EN It is not visible from the execution plan if the index access might potentially return more than one row.
Jerman | bahasa Inggris |
---|---|
potenziell | potentially |
zeile | row |
ob | if |
könnte | might |
mehr | more |
nicht | not |
DE Im Gegensatz zu Oracle zeigt der SQL Server Ausführungsplan das Zusammenführen der Index und Tabellendaten mit dem Nested Loops Join explizit an.
EN Unlike the Oracle Database, SQL Server explicitly shows the Nested Loops join to combine the index and table data.
Jerman | bahasa Inggris |
---|---|
zeigt | shows |
index | index |
loops | loops |
explizit | explicitly |
oracle | oracle |
sql | sql |
server | server |
join | join |
und | and |
zu | to |
zusammenführen | combine |
DE Der Cost-Wert dient dann als Benchmark, um den besten Ausführungsplan auszuwählen.
EN In the end the cost value serves as the benchmark for picking the “best” execution plan.
Jerman | bahasa Inggris |
---|---|
dient | serves |
benchmark | benchmark |
besten | best |
um | for |
als | as |
den | the |
DE Ein regelbasierter Optimizer (RBO) erstellt den Ausführungsplan nach einem fest programmierten Regelwerk und ist daher weniger flexibel. Regelbasierte Optimizer sind heutzutage kaum mehr in Verwendung.
EN Rule-based optimizers (RBO) generate the execution plan using a hard-coded rule set. Rule based optimizers are less flexible and are seldom used today.
Jerman | bahasa Inggris |
---|---|
weniger | less |
flexibel | flexible |
regelbasierte | rule-based |
fest | set |
sind | are |
in | using |
und | and |
heutzutage | today |
den | the |
ein | a |
DE Der Ausführungsplan der Oracle Datenbank zeigt einen INDEX UNIQUE SCAN – jene Operation, die nur den Indexbaum durchwandert
EN The Oracle execution plan shows an INDEX UNIQUE SCAN—the operation that only traverses the index tree
DE Der Ausführungsplan (auch Explain-Plan oder Query-Plan genannt) zeigt die Ausführungsschritte der Datenbank an.
EN The execution plan (sometimes explain plan or query plan) shows the steps the database takes to execute an SQL statement.
Jerman | bahasa Inggris |
---|---|
zeigt | shows |
datenbank | database |
plan | plan |
query | query |
oder | or |
an | an |
auch | to |
der | the |
die | steps |
DE Beispiel 2.1 Ausführungsplan mit geändertem Index
EN Example 2.1 Execution Plan with Revised Primary Key Index
Jerman | bahasa Inggris |
---|---|
beispiel | example |
mit | with |
index | index |
DE Der Ausführungsplan, der vermutlich vor der Indexänderung verwendet wurde, verwendet überhaupt keinen Index:
EN The execution plan that was presumably used before the index change did not use an index at all:
Jerman | bahasa Inggris |
---|---|
vermutlich | presumably |
index | index |
änderung | change |
verwendet | used |
überhaupt | at all |
der | the |
wurde | was |
DE Im folgenden Ausführungsplan geht er daher davon aus, dass der INDEX RANGE SCAN 1000 Einträge liefert
EN The following execution plan shows the new estimation: 1000 rows for the INDEX RANGE SCAN
Jerman | bahasa Inggris |
---|---|
index | index |
scan | scan |
folgenden | following |
range | the |
DE Beispiel 2.2 Ausführungsplan mit dezidiertem Index
EN Example 2.2 Execution Plan with Dedicated Index
Jerman | bahasa Inggris |
---|---|
beispiel | example |
index | index |
mit | with |
DE Selbst wenn der Ausführungsplan für eine LIKE-Bedingung mit führendem Wildcard-Zeichen ausgelegt ist, kann die Performance noch immer unzureichend sein
EN Even if the database optimizes the execution plan for a leading wild card, it can still deliver insufficient performance
Jerman | bahasa Inggris |
---|---|
unzureichend | insufficient |
kann | can |
performance | performance |
wenn | if |
für | for |
der | the |
eine | a |
DE Die Oracle Datenbank kennzeichnet die Ausführung „am Fließband“ (pipelined) durch den Zusatz NOSORT. Bei anderen Datenbanken scheint die Sortierung erst gar nicht im Ausführungsplan auf.
EN The Oracle database’s execution plan marks a pipelined SORT GROUP BY operation with the NOSORT addendum. The execution plan of other databases does not mention any sort operation at all.
Jerman | bahasa Inggris |
---|---|
oracle | oracle |
band | group |
anderen | other |
datenbanken | databases |
ausführung | execution |
nicht | not |
die | of |
durch | by |
auf | at |
DE Im Vergleich zum Ausführunsplan der Oracle-Datenbank sieht der DB2-Ausführungsplan unverhältnismäßig komplex aus. Das hat zwei Gründe:
EN Compared to the Oracle execution plan, this looks overly complex. This is due to two circumstances:
Jerman | bahasa Inggris |
---|---|
sieht | looks |
komplex | complex |
oracle | oracle |
vergleich | compared |
DE Der grafische Ausführungsplan versteckt die Prädikatsinformation im Tool-Tip:
EN The graphical execution plan hides the predicate information in a tooltip that is only shown when moving the mouse over the Index Seek operation.
Jerman | bahasa Inggris |
---|---|
grafische | graphical |
versteckt | hides |
im | over |
der | the |
DE Der Ausführungsplan wird als zweites Ergebnis angezeigt. Die Spalte StmtText zeigt die Prädikatsinformation an – im Folgenden zur besseren Lesbarkeit formatiert:
EN The execution plan is shown as a second result set in the results pane. The following is the StmtText column—with a little reformatting for better reading:
DE Der Hash-Join lädt die möglicherweise passenden Zeilen aus der einen Tabelle in ein assoziatives Array (im Ausführungsplan mit „Hash“ markiert), das dann für jede Zeile der zweiten Tabelle abgefragt wird. Siehe „Hash-Join“.
EN The hash join loads the candidate records from one side of the join into a hash table (marked with Hash in the plan) which is then probed for each record from the other side of the join. See also “Hash Join”.
DE Zur Laufzeit stehen weitere Informationen zur Verfügung, mit deren Hilfe der Ausführungsplan möglicherweise weiter optimiert werden kann
EN More information is available during runtime, which may help optimize the execution plan further
Jerman | bahasa Inggris |
---|---|
laufzeit | runtime |
informationen | information |
hilfe | help |
möglicherweise | may |
mit | during |
weitere | further |
DE Zur Laufzeit stehen weitere Informationen zur Verfügung, mit deren Hilfe der Ausführungsplan möglicherweise weiter optimiert werden kann
EN More information is available during runtime, which may help optimize the execution plan further
Jerman | bahasa Inggris |
---|---|
laufzeit | runtime |
informationen | information |
hilfe | help |
möglicherweise | may |
mit | during |
weitere | further |
DE Um zu überprüfen, ob eine Abfrage Parallel Query verwendet, können Sie den Ausführungsplan der Abfrage anzeigen, indem Sie den Befehl EXPLAIN ausführen
EN To check if a query is using Parallel Query, you can view the query execution plan by running the EXPLAIN command
Jerman | bahasa Inggris |
---|---|
parallel | parallel |
befehl | command |
überprüfen | check |
ob | if |
anzeigen | view |
indem | by |
zu | to |
abfrage | query |
können | can |
eine | a |
den | the |
Menampilkan 23 dari 23 terjemahan