SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


actual number of rows in exec plan doesn't match real numbers


actual number of rows in exec plan doesn't match real numbers

Author
Message
curious_sqldba
curious_sqldba
Hall of Fame
Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)

Group: General Forum Members
Points: 3020 Visits: 3637
i have a query if i add a condition to the query actual number of rows are tooo high that real number of rows, if i remove the condition it works perfectly fine. i have manually updated the stats for each of these tables, still the same issue?
Evil Kraig F
Evil Kraig F
SSCrazy Eights
SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)

Group: General Forum Members
Points: 8901 Visits: 7660
Need to see the sqlplan. Offhand I'd guess there's a spool with multiple executions.


- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
curious_sqldba
curious_sqldba
Hall of Fame
Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)

Group: General Forum Members
Points: 3020 Visits: 3637
Evil Kraig F (3/21/2013)
Need to see the sqlplan. Offhand I'd guess there's a spool with multiple executions.


yup, if i multiple number of executions with actual number of rows it is equal to the number of rows displayed in the exec plan. While i get the exec plan, any thoughts on how to reduce the number of executions?
Evil Kraig F
Evil Kraig F
SSCrazy Eights
SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)

Group: General Forum Members
Points: 8901 Visits: 7660
sqldba_newbie (3/22/2013)
Evil Kraig F (3/21/2013)
Need to see the sqlplan. Offhand I'd guess there's a spool with multiple executions.


yup, if i multiple number of executions with actual number of rows it is equal to the number of rows displayed in the exec plan. While i get the exec plan, any thoughts on how to reduce the number of executions?


Optimize the call to the table below it so it's not joining against the spool... but be aware that's a blind guess without seeing the plan.


- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search