Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: Tuning advice sought

    Hi,

    The customer will not give me access to the sql server cluster, the reason being that it runs other applications to the one I support.

    I get information in small...

  • RE: Tuning advice sought

    It does not appear to be running in parallel, and setting maxdop to 1 makes little difference.

    I ran the query last night when the box was quiet and it...

  • RE: Tuning advice sought

    Yes the tables do have Primary Keys:

    ALTER TABLE [dbo].[LGNCC_ENQUIRY] ADD PRIMARY KEY CLUSTERED

    (

    [ID] ASC

    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE...

  • RE: Tuning advice sought

    Chris,

    You are correct in assuming that it is not using the index that contains the objecttype even though it is specified in the query, there are only four unique objecttypes...

  • RE: Tuning advice sought

    The lgncc_enquiry table is indexed on xref1 and has another index on xref1 and objecttype. The lgncc_caseevents table and lgncc_closedcaseevents are both indexed on caseid.

    Ronnie

  • RE: Tuning advice sought

    Why would SQL Server be flushing the cache so quickly ?

    Ronnie

  • RE: Tuning advice sought

    The clustered index scan on lgncc_caseevents and lgncc_closedcaseevents are on an index that is on caseid, which is the join column to the table in the view.

    Also the first...

Viewing 7 posts - 1 through 7 (of 7 total)