Forum Replies Created

Viewing 15 posts - 136 through 150 (of 1,518 total)

  • RE: Query to find which columns have different values in a pair of rows

    Wow, thank you guys, this is great!

    I was thinking of UNPIVOT too, but had no clue how to do it.

    In the past I have done this comparison with a series...

    __________________________________________________________________________________
    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: Query to find which columns have different values in a pair of rows

    Evil Kraig F (12/9/2011)


    Marios, you know how hard this is without sample data and schema to work from.

    Are there identifiers that can be used to group these rows?

    Basically, what you're...

    __________________________________________________________________________________
    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: How can I find out if I have 64- or 32-bit Reporting Services installed?

    SQLRNNR (12/5/2011)


    My next choice was to look at the dlls but looking at them does not divulge that info.

    Is it installed on same box or different box as SQL Server?

    If...

    __________________________________________________________________________________
    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: Missing Index suggested in execution plan even though index with same exact columns already exists!

    Wow, thanks!

    __________________________________________________________________________________
    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: Missing Index suggested in execution plan even though index with same exact columns already exists!

    Ninja's_RGR'us (11/18/2011)


    It's a known bug. I don't know if and when it was fixed since I'm still heaviliy stuck on 2K5.

    Thank you, I will google it further.

    __________________________________________________________________________________
    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: Graphical execution plan does not display in SSMS when clicking on plan hyperlink - instead I get the XML

    I found this link which deals with this exact issue;

    (my server is on SQL 2008 SP1):

    http://sqlblog.com/blogs/aaron_bertrand/archive/2011/10/28/getting-graphical-showplan-back-in-sql-server-2008-r2.aspx

    I am able to view the XML graphically through SQL Sentry plan explorer:

    http://sqlsentry.net/plan-explorer/sql-server-query-view.asp

    __________________________________________________________________________________
    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: issue w/ default begin tran and rollback when opening new window in ssms

    It looks like you have SSMS tools installed.

    This is a free download:

    http://www.ssmstoolspack.com/

    __________________________________________________________________________________
    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...

    _Beetlejuice (11/12/2011)


    Are the execution plans on the dev and live environments the same?

    Plans are quite different.

    __________________________________________________________________________________
    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...

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


    Please upload the actual execution plan.

    I would love to do that, and I do understand the need for it. However, I will first have to check with my...

    __________________________________________________________________________________
    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...

    wiseman1982 (11/11/2011)


    Does the stored procedure have any parameters? Check the compile value for the parameters in the execution plan on dev/production. It's possible that it's a parameter sniffing...

    __________________________________________________________________________________
    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)


    Very odd. When you updated stats, did you do it with fullscan? (Saw recently that a stat update with fullscan caused a query to run slower - just...

    __________________________________________________________________________________
    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...

    The main problem here is lack of consistency.

    How can I expect the developer to fix this, if it cannot be reproduced in the dev environment?

    __________________________________________________________________________________
    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)


    did it get progressively slower, or did it just happen all of a sudden?

    It happened suddenly; it was completing daily in a few seconds until one day at the...

    __________________________________________________________________________________
    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...

    Still no luck after recompiling proc in production.

    Proc run in production is still very slow.

    __________________________________________________________________________________
    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 am still confused about something.

    Several of the tables involved in the sproc have their stats updated daily through a daily manual process.

    These tables are found in the SQL statement...

    __________________________________________________________________________________
    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 - 136 through 150 (of 1,518 total)