Forum Replies Created

Viewing 15 posts - 2,866 through 2,880 (of 22,227 total)

  • RE: Dettach and attach as a restore mechanism

    I don't know how it's extracting an MDF/LDF from the .BAK file (if it is). I assume it's possible because my company does some similar magic through one of our...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: poor performing report query against table without a PK

    Tiny nit. Take away the calculation. Make it before in a local variable. It might lead to different row calculations. You are getting a VERY large disparity in estimated versus...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: poor performing report query against table without a PK

    Jonathan AC Roberts - Monday, November 26, 2018 8:47 AM

    Grant Fritchey - Monday, November 26, 2018 8:11...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: poor performing report query against table without a PK

    ChrisM@Work - Monday, November 26, 2018 8:06 AM

    25 columns is likely to be most or all of the columns (guessing of...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: sys.dm_exec_query_stats

    Sounds like you're trying to recreate the functionality from the Query Store. I'd suggest you take a look at this open source project. It may help.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: poor performing report query against table without a PK

    polkadot - Sunday, November 25, 2018 11:02 PM

    The table is practically a heap because its' clustered index is on a column that...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: poor performing report query against table without a PK

    muthukkumaran Kaliyamoorthy - Monday, November 26, 2018 5:05 AM

    Can you share the execution plan. PK and CI is different. You can also...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: Dettach and attach as a restore mechanism

    I don't know which tool you're referring to. However, the command there is running an attach from an MDF and an LDF. You can't attach from a .BAK. You can...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: High memory utilization on SQL Server

    ChrisM@Work - Monday, November 26, 2018 3:54 AM

    sqlguy80 - Sunday, November 25, 2018 6:48 PM

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: order of columns

    coolchaitu - Sunday, November 25, 2018 10:16 PM

    Good morning Experts,

    Does the order of columns in a table matter? Also, does the...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: WITH (NOLOCK) vs READUNCOMMITED proper way / performance differences

    AER - Thursday, November 15, 2018 8:30 AM

    Hi again,

    I know what are the isolation levels, and the differences between them. I was...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • RE: Pinpointing culprit SPID for SQL Server high CPU

    Yeah. You'll have to correlate in the IDs. A SPID can, and should, be reused, so without the time correlation, this spid, at this time, you can't make a direct...

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • Viewing 15 posts - 2,866 through 2,880 (of 22,227 total)