Slow Database

  • Hi all,

    We have two database one test and other live.

    Test database running fine but due to high transaction on live database it is running very slow.

    I also created New database L1 and transfer every data from live to L1 and make all required changes.

    After 15-20min condition is same again

    DB is running very slow.

    What might be the problem?

    Thanks,

    Neerav

  • You might have a lack of memory, slow disks, poor code, too hard to tell.

    I'd suggest that you start with looking at heavily run queries and trying to tune them. Try to add indexes if you don't have them.

    Look for memory pressure (http://www.sqlservercentral.com/articles/Performance+Tuning+and+Scaling/analyzingmemoryrequirementsforsqlserver/2498/)

  • hi steve,

    i have checked memory,disk as far as codes and query tuning are concerned.They are also working fine from the past 5-7years.

    This is only thing which is confusing me

    HELP!!!

    Thanks,

    NEerav

  • Check indexes fragmentation and make sure statistics are updated.

    MJ

  • number of users working on that database so kill the users who r working long time and check the long running queries and apply proper indexes ,joins and increase the performance of query or execute query in sql server profiler,check the fragmentation,lack of update statistics,or size of the database is filled

  • Please note: 4 year old thread.

    p.s. killing long running queries is incredibly bad practice, certainly not something that should be recommended without explaining all the problems doing so can cause

    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
  • hie monster,

    can u please tell me what are the steps to check when a database is running slow?

  • Please post new questions in a new thread. Thank you.

    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 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply