Are SQL Execution Plans based on Schema or Data or both?
问题 I hope this question is not too obvious...I have already found lots of good information on interpreting execution plans but there is one question I haven't found the answer to. Is the plan (and more specifically the relative CPU cost) based on the schema only, or also the actual data currently in the database? I am try to do some analysis of where indexes are needed in my product's database, but am working with my own test system which does not have close to the amount of data a product in