Index Scan Scan MYTable using index FK_1 (all rows)
Will this mean, that SQLA uses the foreign key but will still read all rows of the table?
asked 30 Oct '12, 06:45
Martin 8.9k●127●164●253 accept rate: 14%
Is that an IndexOnly scan (i.e. one that would not need to read additional table pages)?
no, it will have to read also non indexed columns, anyway the restriction through the index would already restrict the rows which have to be visited at all.
Once you sign in you will be able to subscribe for any updates here
Answers
Answers and Comments
Markdown Basics
learn more about Markdown
Question tags:
optimizer ×27
question asked: 30 Oct '12, 06:45
question was seen: 1,536 times
last updated: 30 Oct '12, 08:24
Reusing of query plans
SQL Query that hangs
Calibration best practices
How to calibrate the IO read speed for the query optimizer?
11.0.1.2405 Indexes not being used - Is this a known Problem?
Has Create Statistics any effect for varchar columns?
Intra-query parallelism
Worser Performance on 2nd call of same Statement
Is a reverse index scan distinquished from an index scan?
Low Performance, because statistics aren't used with curent date, current timestamp
First time here? Check out the FAQ!
Is that an IndexOnly scan (i.e. one that would not need to read additional table pages)?
no, it will have to read also non indexed columns, anyway the restriction through the index would already restrict the rows which have to be visited at all.