Forum Replies Created

Viewing 15 posts - 31 through 45 (of 266 total)

  • RE: Interesting deadlock with no fix

    Attaching the table structure and indexes on deadlock related tables just to complete information....

    USE [Lightyear]

    GO

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    CREATE TABLE [dbo].[dms_topic_entry](

    [subscriber_id] [numeric](19, 0) NOT NULL,

    [msg_id] [numeric](19, 0) NOT NULL,

    [delivery_date] [numeric](19,...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Strange memory usage pattern

    sam rebus (2/3/2010)


    well, that's just the thing. there is nothing running at these times. This server is hosting 3 SQL instances that have backup jobs at different times, around 9...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: sql server very slow

    CirquedeSQLeil (2/3/2010)


    carloparcon (2/3/2010)


    the bigger in difftime is 16160, if i upgrade to 4gb is it possible solve my problem?

    More than likely not. As Jeff and Elliott said - it...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Interesting deadlock with no fix

    Now this is crazy one I am lost whats happening here...

    Here's the question why 944 has exclusive lock on dms_topic_msg_idx here its just doing an update on another table(dms_msg) completely...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Interesting deadlock with no fix

    GilaMonster (2/4/2010)


    Prakash Heda (2/3/2010)


    though there are scenerio where many columns are in select clause, making covering index too big or crossing character limit...

    There's no character limit to included columns in...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Performance affected by moving db's to different drives

    timscronin (1/20/2010)


    Thanks for the feedback, as far as getting help, I looked in the foxhole an I am all that is here, no money = self-learn and self-help

    This is exactly...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: "A significant part of sql server process memory has been paged out. This may result in a performance degradation"

    I suspect you are using some process which is using nay extended procedures or clr ones causing memory leak

    or

    Have a external backup utility like veritas or litespeed purging memory

    or...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: threshold values for performance counters

    Every counter has its own guidelines for thresholds, though i would suggest to see the trend and define a baseline for acceptable threshold...even what is suggested online may not exactly...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Store Procedure takes lot of time to execute at 1st

    Quite confusing what exactly is the problem, I would say you need to explain it better to get right help...

    Are you saying that after cleaning buffers first time procedure run...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Logging Perfmon counter data in database

    One of the simplest way to load data is to store in CSV format and then use openrowset to read it

    Though you need to create a schema file for the...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Strange memory usage pattern

    Since its happening at 00 and 12 hours, my best guess is there could be a backup job (Ideally that should be an external utility like litespeed) running that time...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: sql server very slow

    There are various things to look here though I will first try to see whats taking the memory so lets try this....

    Run below statement, it will give you exactly what...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Interesting deadlock with no fix

    GilaMonster (2/3/2010)


    What indexes exist on the table dms_topic_entry? If this is a key-lookup deadlock (as I suspect) then simply widening the index to be covering will fix this completely.

    Right, for...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: Interesting deadlock with no fix

    Michael Valentine Jones (2/2/2010)


    Since the deadlock victim is the select, there is a good chance that setting the database to READ_COMMITTED_SNAPSHOT will prevent the deadlocks and it will not require...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

  • RE: sp_MSForeachdb then sp_MSforeachtable

    try this...

    declare @command1 varchar(8000)

    select @command1 =

    '

    IF ''@'' ''master'' AND ''@'' ''model'' AND ''@'' ''msdb'' AND ''@'' ''tempdb''

    begin

    use [@] execute sp_MSForEachTable ''print ''''?'''' ''

    end

    '

    exec...

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

Viewing 15 posts - 31 through 45 (of 266 total)