The forum will be unavailable for maintenance at some point from Friday, April 13 at 19:00 EDT until Sunday, April 15 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.

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's gravatar image

accept rate: 14%

Is that an IndexOnly scan (i.e. one that would not need to read additional table pages)?

(30 Oct '12, 07:28) Volker Barth
Replies hidden

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.

(30 Oct '12, 08:24) Martin
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 30 Oct '12, 06:45

question was seen: 753 times

last updated: 30 Oct '12, 08:24