Forum Replies Created

Viewing 15 posts - 151 through 165 (of 1,518 total)

  • RE: Trying to reproduce production SQL performance issue on dev server and failing...

    george sibbald (11/11/2011)


    Marios Philippopoulos (11/11/2011)


    george sibbald (11/11/2011)


    I'd compare query plans. Maybe the proc needs a recompile in prod.

    But the odd thing is that after I run DBCC FREEPROCCACHE in dev...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Trying to reproduce production SQL performance issue on dev server and failing...

    SQLRNNR (11/11/2011)


    Marios Philippopoulos (11/11/2011)


    SQLRNNR (11/11/2011)


    That would be a good start. You might try the tool SQL Sentry Plan Explorer. I find it many times more helpful in reading...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Trying to reproduce production SQL performance issue on dev server and failing...

    SQLRNNR (11/11/2011)


    That would be a good start. You might try the tool SQL Sentry Plan Explorer. I find it many times more helpful in reading exec plans.

    It's a...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Trying to reproduce production SQL performance issue on dev server and failing...

    I have been able to trace back from the 2 join operators to an index seek with hugely incompatible numbers of rows, Actual vs Estimated.

    Here is a schematic of this...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Trying to reproduce production SQL performance issue on dev server and failing...

    I was able to collect the actual (live) exec plan of the proc, and I see a monstrous (18 billion) number of rows passed at some point in the plan.

    I...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Trying to reproduce production SQL performance issue on dev server and failing...

    george sibbald (11/11/2011)


    I'd compare query plans. Maybe the proc needs a recompile in prod.

    But the odd thing is that after I run DBCC FREEPROCCACHE in dev and restore the prod...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: FAST_FORWARD cursor blocking issue

    codebyo (11/4/2011)


    r.dragoi-1095738 (11/4/2011)


    I would select the rows first into a variable table and after that I would use the cursor (over the variable table)

    I would advise that as well.

    I may...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: FAST_FORWARD cursor blocking issue

    r.dragoi-1095738 (11/4/2011)


    I would use the hint first (nolock) .. if that still doesn't work I would select the rows first into a variable table and after that I would...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: FAST_FORWARD cursor blocking issue

    GSquared (11/3/2011)


    If you have to use a cursor for this, make it STATIC instead of FAST_FORWARD. It'll probably be faster that way, and it will definitely release locks faster.

    Thank...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Full-Text Search query with wildcard search not returning desired results - is the "dash" character to blame?

    Dave Mason (11/2/2011)


    I was using FTS on Sql 2008 Express R2 and had some issues that sound very similar to what you are experiencing. After installing SP1, queries worked...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Odd blocking condition - a SELECT query blocking on tempdb sysschobjs even though session sleeping

    GilaMonster (10/26/2011)


    Marios Philippopoulos (10/26/2011)


    GilaMonster (10/26/2011)


    Open transaction, no commit. Tran stays open so locks held even though the session was sleeping.

    Thanks, but why on tempdb? The SELECT was running on a...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Odd blocking condition - a SELECT query blocking on tempdb sysschobjs even though session sleeping

    GilaMonster (10/26/2011)


    Open transaction, no commit. Tran stays open so locks held even though the session was sleeping.

    Thanks, but why on tempdb? The SELECT was running on a user database.

    I don't...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: ReportServerTempDB at over 60 GB size - is it safe to truncate the Segment table?

    Ninja's_RGR'us (10/19/2011)


    As someone real smart said => 😀

    Ninja's_RGR'us (10/12/2011)


    Just a PS. Doesn't work on 2K5 :angry:

    Duly noted... 🙂

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: ReportServerTempDB at over 60 GB size - is it safe to truncate the Segment table?

    Thanks, I truncated the Segment table last night and was able to get the db size down to a more manageable size.

    From what Microsoft mentioned to me, the highest contributors...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • RE: Unable to run database backups using Service-Broker Internal Activation - "ErrorNumber - 3013 : ErrorMessage - BACKUP DATABASE is terminating abnormally."

    Lynn Pettis (10/17/2011)


    Did you check the SQL Serror log as well? There may be more information in other logs that would help identify the problem.

    There are no corresponding errors...

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

Viewing 15 posts - 151 through 165 (of 1,518 total)