Home Forums SQL Server 2008 T-SQL (SS2K8) Alternatives To Left Join: Poor Performance of Procedure RE: Alternatives To Left Join: Poor Performance of Procedure

  • Grant Fritchey (12/17/2013)


    And ditch the NOLOCK hint.

    If the table has 100K of records, this looks like it's also returning over 100K of records. Is the WHERE clause not filtering at all?

    Sir, this application has nolock hints everywhere because this is a very very heavy gaming database and this is what the management wants to stick to.

    Also, you are seeing so many records returned because the execution plan that I sent you is from a query for the partner which had most number of players.

    I think a lot of such joins occur because of bad schema during the initial phase and not many predict how the data is going to behave 1 year later. also, in this case any indexing is not helping.

    Thanks

    Chandan