Freitag, Juni 08, 2012

FORCE_MATCH für SQL Profiles

Karen Morton hat dieser Tage ein paar wichtige Details zur force_match Option für SQL Profiles erläutert. Zunächst liefert sie eine handliche Definition:
what the force matching signature does is to treat literals in the SQL like binds (think along the lines of cursor_sharing = force). When force matching is in place, all the literals are treated as binds and the same signature is generated for any SQL that differs only by their literals (white space and case are handled already)
Darüber hinaus weist sie darauf hin, dass force_match nicht greift, wenn in einer Query gleichzeitig Literale und Bindewerte erscheinen: "If both literal values and bind variables are in the SQL text, or if force_match is set to FALSE (default), then literal values are not normalized."

Keine Kommentare:

Kommentar veröffentlichen