Forum Replies Created

Viewing 15 posts - 20,911 through 20,925 (of 49,552 total)

  • RE: Sql Server Performance

    suresh0534 (1/18/2012)


    Hi,

    If we create Temporay Tables in a Stored Procedure will degrade the performance of the query?

    Maybe, or maybe it'll improve the performance due to been able...

    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: Seems master db got corrupt.Please help.

    I wouldn't bother with CheckDB, just restore master from last good backup.

    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: Transaction log is full error.

    Autogrow timeouts won't be in the application log, they will be in the SQL error log.

    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 Server 2005 DataBase is Down

    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: Help needed! database recovery from .mdf (only)

    vazaryan84 (1/18/2012)


    so how exactly it will be? can you please put an example of full code?

    Thank you

    As you had it, without the log files and FOR ATTACH_REBUILD_LOG

    CREATE DATABASE [DM_REPO_ERP ]...

    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: Help needed! database recovery from .mdf (only)

    Do those files exist? If not, leave them out and use the command I gave 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
  • RE: Help needed! database recovery from .mdf (only)

    vazaryan84 (1/18/2012)


    I was trying to create a log files.

    Well you don't do it like that.

    If you're attaching without a log file, CREATE DATABASE ... FOR ATTACH_REBUILD_LOG

    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: Help needed! database recovery from .mdf (only)

    Well that's pretty clear...

    vazaryan84 (1/18/2012)


    here is the error Msg 5173, Level 16, State 2, Line 1

    One or more files do not match the primary file of the database. If 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
  • RE: Help needed! database recovery from .mdf (only)

    vazaryan84 (1/18/2012)


    No that file not in use, I have copy of this file on my Desktop

    The operating system disagrees with you. You reported error 32 from trying to attach. Error...

    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: Performance Issue In DB

    TravisDBA (1/18/2012)


    Don't throw in the entire kitchen sink of things and you will be ok. 😀

    More correct to say "Don't throw in the entire kitchen sink of things and 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
  • RE: Help needed! database recovery from .mdf (only)

    Operating system error 32 = The process cannot access the file because it is being used by another process.

    So something else has that mdf file open. Find whatever it is...

    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: Performance Issue In DB

    TravisDBA (1/18/2012)


    Dave Ballantyne (1/18/2012)


    I still say that using SQL Profiler is a good place to start

    It hasnt been said explicity in this thread , so i will 🙂

    Never run...

    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: Transaction log is full error.

    Could be that the log growth is timing out and the log isn't growing. But you'd have seen errors in the error log if that were happening.

    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: Help needed! database recovery from .mdf (only)

    What error does it give when you try to attach?

    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: Transaction log is full error.

    The fact that there's noting listed as the log reuse reason now doesn't mean there was nothing at the time that the error occurred. Maybe set up something to monitor...

    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 - 20,911 through 20,925 (of 49,552 total)