• Jon.Morisi (4/30/2013)


    Unfortunately I don't know how to check if my statistics are being used. Any ideas?

    Statistics ARE used.

    To test the concept, do this.

    1- Copy two related tables an write a query that would require a full scan on one and a seek on the other one.

    2- Destroy statistics on the copied tables.

    3- Check explain plan of the query in both, the set of tables that has statistics and the one that is statisticsless.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.