Forum Replies Created

Viewing 15 posts - 1,306 through 1,320 (of 7,191 total)

  • RE: Deducing from Wait Stats

    I think I'd be happy to go with the recommendations therein.  Don't be afraid to tweak the settings if necessary to improve performance, though.

    John

  • RE: sys.master_files and sys.database_files difference

    muzikfreakster - Tuesday, August 15, 2017 9:38 PM

    for one of my critical database , physical name for sys.database_files and sys.master_files doesn't match...

  • RE: Deducing from Wait Stats

    Do you have a link to the article, please?  Our standard is as follows:
    ·          For servers that have NUMA configured, MAXDOP should not exceed the number of CPUs...

  • RE: Polling and determine the status of a job?

    Nicole

    How about a trigger on sysjobhistory?  I think that's legal, although I've never tried it.

    John

  • RE: Deducing from Wait Stats

    CXPACKET just means you have parallelism.  It doesn't on its own mean you have a problem with parallelism.  Please don't blindly reduce parallelism just for the sake of it.  How...

  • RE: 'Actual Rows' missing in query plans...

    Arsh - Monday, August 14, 2017 2:13 AM

    GilaMonster - Sunday, August 13, 2017 6:00 AM

  • RE: DBCC FREEPROCCACHE

    It may, or it may not.  But if the query covers data that isn't uniformly distributed (lots more Johns than Jims), you're likely to see parameter sniffing.  Setting optimize for...

  • RE: 'Actual Rows' missing in query plans...

    No.  If you're getting the plans by querying the DMVs for the plan cache, those don't have the actuals in them at all.  They never do.  They're compiled when the...

  • RE: DBCC FREEPROCCACHE

    The easiest conclusion to draw is that you had a poor plan for the query you were running.  Once you cleared the cache, the query recompiled with a better plan...

  • RE: Time increments

    Phil Parkin - Friday, August 11, 2017 8:21 AM

    John, Thom, these are not 'calculated fields'. Or perhaps the OP used the wrong...

  • RE: Time increments

    WITH Numbered AS (
        SELECT
             FieldSort1
        ,    FieldSort2
        ,    FieldSort3
        ,    ROW_NUMBER() OVER (PARTITION BY FieldSort1 ORDER BY FieldSort2, FieldSort3) AS RowNo
        FROM #TimeIncrements
        )
    SELECT
     ...

  • RE: 'Actual Rows' missing in query plans...

    Arshad

    The plans that are stored in cache are plans that are used for all executions of a particular query until the plan is evicted from cache.  That's why...

  • RE: Add prefix to results

    t2 36824 - Friday, August 11, 2017 6:25 AM

    When I run this:
    UPDATE Params16
    SET Keycode = LEFT(Keycode,PATINDEX('%!!%', Keycode) + 1)...

  • RE: Combinations question with a twist

    You've posted in the SQL Server 2008 forum.  Is that actually what you're using?

    John

  • RE: Criteria for creation Histogram Step

    Type "algorithm that SQL server uses to determine the RANGE_HI_KEY" into your favourite search engine.  That's what I did, and the second result looked as if it might contain something...

Viewing 15 posts - 1,306 through 1,320 (of 7,191 total)