Forum Replies Created

Viewing 15 posts - 13,066 through 13,080 (of 49,552 total)

  • RE: SQl Server 2008 Query Performance

    Please post table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How to use View Result in Insert trigger in sql server 2008 ?

    Besides that, there's a whole bunch of problems with that trigger...

    bhanupratapsngh9 (5/21/2013)


    select @Amt=AsetAmt from inserted;

    select @AsetId=AsetId from inserted

    So...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Memory is not releasing in sql server 2008

    Normal, expected, documented behaviour.

    SQL uses a lot of memory. It won't give it back to the OS unless the OS come under memory pressure as it's inefficient to be constantly...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL 2008 R2 performance monitoring and troubleshooting

    While the plan cache is a decent rough idea, it is not guaranteed to have all the queries that executed, nor accurate execution characteristics for them, as the stats are...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Tempdb file sizing

    Not enough information.

    How much TempDB space does the application that uses those databases require? That's the minimum that TempDB should be.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Shrink helping performance

    Shrink alone can't speed up a query. Probably something else going on as well.

    No indexes and no primary key means every single operation is going to be a table scan....

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL 2008 R2 performance monitoring and troubleshooting

    jeremy.jamieson (5/21/2013)


    SQLSACT (5/21/2013)


    What is among your top waits?

    This is the result of the query, keeping in mine this is not the peak hours of use with our systems

    The waits stats...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL 2008 R2 performance monitoring and troubleshooting

    jeremy.jamieson (5/21/2013)


    The big problem with isolating the trouble query is that there are so many and we have found that for some reason older queries which ran fine in the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL 2008 R2 performance monitoring and troubleshooting

    jeremy.jamieson (5/21/2013)


    It seems in the first step its pulling the same statistics the PAL program i used disk I/O, CPU, memory ect,

    No, it's not.

    PAL pulls the disk, CPU, memory statistics....

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Very large table - performance issues

    No. Show statistics doesn't touch the table

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: My CPUs are all at 100%. How can I find out what is running *right now*?

    jpSQLDude (5/21/2013)


    Right now my CPUs are at 100%... so what is causing this? Someone must have come up with a way to figure this out!

    Query sys.dm_exec_requests and see what...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL 2008 R2 performance monitoring and troubleshooting

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Very large table - performance issues

    Index fragmentation is quite unlikely to cause sudden slow performance. Index fragmentation is in fact only a concern when you're doing large range scans from disk.

    Now statistics, that's a lot...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: T-LOG ISSUE

    shohelr2003 (5/21/2013)


    Kingston Dhasian (5/21/2013)


    Do you have scheduled log backups or do you monitor and take the log backups manually?

    I have not scheduled it but I do it manually.

    Err.. why? Doesn't...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: T-LOG ISSUE

    shohelr2003 (5/21/2013)


    2. Nope, log is not always 87% empty. I monitor it regularly, it becomes like for example 58%, 35%, 12%, 1% free. Then I take log backup and becomes...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 13,066 through 13,080 (of 49,552 total)