• Paul White NZ (9/7/2010)


    WayneS (9/7/2010)


    Have you got some references you can pass on about how the optimizer works?

    For sure:

    Craig Freedman: http://blogs.msdn.com/b/craigfr/

    SQL Server Storage Engine: http://blogs.msdn.com/b/sqlserverstorageengine/

    CSS: http://blogs.msdn.com/b/psssql/

    Query Processing: http://blogs.msdn.com/b/sqlqueryprocessing/

    White Papers: http://technet.microsoft.com/en-us/sqlserver/bb671430.aspx

    SQLCAT: http://blogs.msdn.com/b/sqlcat/

    Conor vs. SQL: http://blogs.msdn.com/b/conor_cunningham_msft/

    Programmability & API: http://blogs.msdn.com/b/sqlprogrammability/

    Bart Duncan: http://blogs.msdn.com/b/bartd/

    Conor @ SQLskills: http://www.sqlskills.com/blogs/conor/

    QO Team: http://blogs.msdn.com/b/queryoptteam/

    Joe Chang: http://www.qdpma.com/CBO/SQLServerCostBasedOptimizer.html

    The SQL Server Internals books edited by Kalen Delaney are also excellent sources. Optimizer stuff is covered particularly well in 2008 Internals (Conor Cunningham) and 2005 Query Tuning & Optimization (Craig Freedman).

    BWAA-HAAA!!!! Been at this for a while, huh? 😛

    I haven't changed my mind since the first time I saw this series and agree that 5 stars isn't enough. Glad you brought it to SSC. Thanks, Paul.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)