Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

actual number of rows in exec plan doesn't match real numbers Expand / Collapse
Author
Message
Posted Thursday, March 21, 2013 4:46 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 7:49 AM
Points: 1,295, Visits: 2,994

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
Posted Thursday, March 21, 2013 5:11 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 9:51 AM
Points: 5,446, Visits: 7,616
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
Posted Friday, March 22, 2013 10:04 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 7:49 AM
Points: 1,295, Visits: 2,994
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
Posted Friday, March 22, 2013 1:04 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 9:51 AM
Points: 5,446, Visits: 7,616
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 »

Add to briefcase

Permissions Expand / Collapse