Forum Replies Created

Viewing 15 posts - 256 through 270 (of 758 total)

  • RE: SQL Agent troubles - The system cannot find the file specified.

    foxxo (3/5/2013)


    Are there multiple instances of SQL2005 installed on the box? (ie are you looking at the correct SQL Agent service?)

    Open SQL Configuration Manager and check it there.

    What's...

  • RE: Group by help

    Thanks Dwain

  • RE: Group by help

    dwain.c (3/4/2013)


    Not really possible with a GROUP BY because you want two columns off the row with the max date, so use a window function:

    create table #table1

    (name nvarchar(50), purchase_date...

  • RE: Memory Clerks Discrepancy

    opc.three (3/1/2013)


    Is your system running NUMA of any flavor?

    Does this yield multiple rows?

    SELECT [type],

    [name],

    ...

  • RE: Memory Clerks Discrepancy

    opc.three (3/1/2013)


    The queries are a little off in my environments too, with clerks being about 10-15% higher. All I can think of is that clerks are operating a lower level...

  • RE: Memory Clerks Discrepancy

    opc.three (2/28/2013)


    The 'SQL Plans' cache includes plans for both 'Ad Hoc' and 'Prepared' queries.

    Thanks

    Taking into account the fact that SQL plans consists of Adhoc and Prepared queries - The total...

  • RE: SQL DTC Confusion

    Thanks Guys - This clears up a lot

    Perry, would you say that it's safe to not cluster DTC when you have a single node cluster?

    Thanks

  • RE: SQL DTC Confusion

    opc.three (2/26/2013)


    SQL also will the DTC if you try using explicit transactions with Linked Servers. I also use it with SSIS transactions, not technically the database engine but another use...

  • RE: Worktables & Hash Tables

    Thanks Gail and Grant

  • RE: Worktables & Hash Tables

    GilaMonster (2/13/2013)


    Grab Kalen's book, Adam Machanic's memory grants video and go over them.

    Memory grants for sorts are, oddly enough, memory. If the process can't get enough memory, then the sort...

  • RE: Worktables & Hash Tables

    GilaMonster (2/13/2013)


    Why would you see a tempDB allocation when something's not spilling to TempDB?

    From Grant:

    All temporary tables (hash/work tables, temp tables, table variables) are written to disk as well as...

  • RE: Worktables & Hash Tables

    What I'm struggling to see is the tempdb allocation when spill doesn't happen.

    Thanks

  • RE: Worktables & Hash Tables

    Hi Grant

    I know this post is getting old, I thought I'd just fill you in on my findings

    I watched a video (from SQL.Bits) called "Advanced SQL Server 2008 troubleshooting by...

  • RE: Clustered Index Space

    anthony.green (2/13/2013)


    Yes I would aggree as the clustered index IS your table.

    Great Stuff - Thanks for your input

  • RE: Clustered Index Space

    anthony.green (2/13/2013)


    It needs somewhere to store the B-Tree so you would expect it to be slighltly larger after changing from a heap to a clustered index.

    Thanks Anthony

    Would you agree that...

Viewing 15 posts - 256 through 270 (of 758 total)