Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
actual number of rows in exec plan doesn't...
actual number of rows in exec plan doesn't match real numbers
Rate Topic
Display Mode
Topic Options
Author
Message
curious_sqldba
curious_sqldba
Posted Thursday, March 21, 2013 4:46 PM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 4:13 PM
Points: 1,172,
Visits: 2,687
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?
Post #1434074
Evil Kraig F
Evil Kraig F
Posted Thursday, March 21, 2013 5:11 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 12:05 AM
Points: 5,688,
Visits: 6,142
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
Post #1434081
curious_sqldba
curious_sqldba
Posted Friday, March 22, 2013 10:04 AM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 4:13 PM
Points: 1,172,
Visits: 2,687
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?
Post #1434355
Evil Kraig F
Evil Kraig F
Posted Friday, March 22, 2013 1:04 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 12:05 AM
Points: 5,688,
Visits: 6,142
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
Post #1434486
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.