Does the difference between the estimated and actual rows seem ok?

Posted on 2011-05-11
Last Modified: 2012-05-11
I am a looking at an nonclustered index node on my excution plan.

The estimated amount of rows = 15.
The actual amount of rows = 409.

My statistics were updated last night at 11:44.

Does the difference between the estimated and actual seem ok?
Question by:Mr_Shaw
    LVL 57

    Accepted Solution

    Yes, it happens most of the times..
    But its not desirable from our perspective and it shows the chances of improving or optimizing our query.
    Even though our tables have appropriate indexes created, there might be chances that

    1. Indexes are not properly utilized for execution of the query.
    2. Statistics generated is not being used by the Query Optimizer

    And the possible solutions that can be implemented are listed in this article clearly:
    LVL 15

    Assisted Solution

    by:Aaron Shilo

    the optimizer calculates the CARDINALITY and isent allways aqurate.

    read more :
    LVL 4

    Assisted Solution

    Yes this is fine. Estimated is the no of rows that will be read with your query and Actual is the total number of rows in the table
    LVL 75

    Assisted Solution

    by:Anthony Perkins
    >>Estimated is the no of rows that will be read with your query and Actual is the total number of rows in the table <<
    You may want to double check that.

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
    In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
    Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
    Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now