Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
IndexFilterPredicates 20110907
Therearetwodifferentwaysdatabasesuseindexestoapplythewhereclauses
(predicates):
Asaccesspredicates
Theaccesspredicatesexpressthestartandstopconditionsfortheleafnode
traversal.
Asfilterpredicates
Filterpredicatesareappliedduringtheleafnodetraversalonly.Theydont
contributetothestartandstopconditionsanddonotnarrowthescanned
range.
Important
Accessandfilterpredicatesareattributesofexplainplanoperations
notindexattributes.
Thatmeansthatdifferentwhereclausescanusedifferentaccessand
filterpredicatesonthesameindex.
Links
Indexaccessandfilterpredicatesexplainedbyexample
Theimpactofaccidentalindexfilterpredicatesdemonstrated
WhyanywhereLIKEsearchesarentaccesspredicates
Indexfilterpredicatesintentionallyused
SpottingindexfilterpredicatesinOracle,PostgreSQLandSQLServer
executionplans.
PreviousSection NextSection
TableofContents TrainingandCoaching
AbouttheAuthor
MarkusWinandtunesdevelopersforhighSQL
performance.HealsopublishedthebookSQLPerformance
Explainedandoffersinhousetrainingaswellas
remotecoachingathttp://winand.at/
The3MinuteTest TableofContents LatestBlogPosts
SortingandGrouping MetaPost:NewMascot,
NewLanguage,New
PartialResults
Database
Insert,DeleteandUpdate
Weneedtoolsupportfor
ExecutionPlans keysetpagination
MythDirectory FindingAlltheRedM&Ms:
AStoryofIndexesandFull
Glossary TableScans
ClusteredIndex WhatIlearnedabout
ClusteringFactor SQLite
ataPostgreSQLconference
CoveringIndex
WhatsleftofNoSQL?
ExecutionPlan
ThankYouMySQL,Well
HeapTable MissYou!
IndexFilterPredicates more
IndexOnlyScan
IndexOrganizedTable
Optimizer
Parsing
SecondaryIndex
ExampleSchema
UseTheIndex,LukebyMarkusWinandislicensedunderaCreativeCommonsAttributionNoncommercialNoDerivativeWorks3.0Unported
License.
About|Contact|FAQ|Privacy|CreativeCommonsLicense