The forum will be down for maintenance at some point from Friday, November 16 at 19:00 EDT until Sunday, November 18 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.

Is the Plan() function returning the result based on Optimizer estimates only? Is Plan() already executing the statement to gather the statistics?

asked 08 Apr '11, 09:26

Martin's gravatar image

Martin
8.6k119153237
accept rate: 14%


Yes, Martin - if you use the PLAN() or EXPLANATION() functions, only optimizer estimates are included in the details for any specific plan operator.

permanent link

answered 10 Apr '11, 08:33

Glenn%20Paulley's gravatar image

Glenn Paulley
10.7k572106
accept rate: 43%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×53
×27
×12

question asked: 08 Apr '11, 09:26

question was seen: 1,035 times

last updated: 10 Apr '11, 08:33